profile
viewpoint

afinch7/deno_in_deno 2

Create custom deno based runtimes in a deno runtime.

afinch7/boa 0

Boa is an embeddable and experimental Javascript engine written in Rust. Currently, it has support for some of the language.

afinch7/cargo_gn 0

Cargo GN integration

afinch7/charts 0

Curated applications for Kubernetes

afinch7/DefinitelyTyped 0

The repository for high quality TypeScript type definitions.

afinch7/deno 0

A browser-like command line runtime

afinch7/deno-permissions-bypass 0

Just a proof of concept for a security issue in deno.

afinch7/deno_install 0

Deno Binary Installer

afinch7/deno_std 0

deno standard modules

pull request commentmanyuanrong/dso

Database driver adaptations

Here's a patch for #33

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e950cfa..001c3d0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -18,8 +18,18 @@ jobs:
         env:
           MYSQL_ALLOW_EMPTY_PASSWORD: "true"
           MYSQL_ROOT_PASSWORD: ""
-        options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3 
+        options: --health-cmd="mysqladmin ping" --health-interval=5s --health-timeout=2s --health-retries=3
 
+      postgres:
+        image: postgres:10.8
+        ports:
+          - 5432:5432
+        env:
+          POSTGRES_USER: "thankgodukachukwu"
+          POSTGRES_PASSWORD: "test_orm" 
+          POSTGRES_DB: "test_orm"
+        options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
+        
     steps:
       - uses: actions/checkout@v2
       - name: Setup Deno
diff --git a/docker-compose.yml b/docker-compose.yml
index 682dddf..33420df 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -7,4 +7,12 @@ services:
       - 3306:3306
     environment:
       MYSQL_ALLOW_EMPTY_PASSWORD: "true"
-      MYSQL_ROOT_PASSWORD: ""
\ No newline at end of file
+      MYSQL_ROOT_PASSWORD: ""
+  postgres:
+    image: postgres:10.8
+    ports:
+      - 5432:5432
+    environment:
+      POSTGRES_USER: "thankgodukachukwu"
+      POSTGRES_PASSWORD: "test_orm" 
+      POSTGRES_DB: "test_orm"
\ No newline at end of file
diff --git a/test.ts b/test.ts
index 8be1365..8c810d1 100644
--- a/test.ts
+++ b/test.ts
@@ -46,7 +46,7 @@ const config2 = {
   user: "thankgodukachukwu",
   database: "test_orm",
   hostname: "127.0.0.1",
-  password: "",
+  password: "test_orm",
   port: 5432,
 };
tksilicon

comment created time in 8 days

push eventreverb-hub/reverb-orm

afinch7

commit sha bf2c13e64ed0d04d545c1fafe5a621365f734ccb

remove .vscode

view details

push time in 16 days

PR opened manyuanrong/dso

fix github actions
+13 -2

0 comment

2 changed files

pr created time in 16 days

push eventafinch7/dso

afinch7

commit sha 22c8651f436c7e47393c1ac5254260f73cb45f36

add health/live check to mysql actions service

view details

push time in 16 days

create barnchafinch7/dso

branch : fix_actions

created branch time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha c5414f2fb5a769c92e6a4af73d706261476130e0

add docker compose config for testing locally

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha 76b3fe07a484a6c52d2696a61dae1299fe8181fb

add postgres driver and connect test

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha 8e703e81e086b4c3ce0ab6ae2625cc2c8eca6da0

add postgres driver and connect test

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha d3fd2ae5bccae2243f1a7cd064a78d68e5ff48d6

add postgres driver and connect test

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha d31567ca85e413d313817fae8288c713c9931e67

add postgres driver and connect test

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha c676351f1ff0c613a657f2b6f87fbe2e4c1d312c

add postgres driver and connect test

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha 1ae134cdc061a7e69d02b6f954a0b9cd6777507c

add postgres driver and connect test

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha f3d4ee21a9d304c2238c16d08707bc096c5c7c52

add postgres driver and connect test

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha f084702c4d0503e1ab3486d21d22c21051afce4c

add postgres driver and connect test

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha 55fa471650a9a06b3968a7ab2011d27225eb3461

add postgres driver and connect test

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha 78e2914fc0c15050f865fcd9e6427c179b2bb507

add postgres driver and connect test

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha c7c6111935831f04d4e85577d75cf5630f8fccd1

add postgres driver and connect test

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha ad717b9d61dc3a78e2e84b47235d450d04b9b3a7

add postgres driver and connect test

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha 1bc9a8fb795598a0fde7a6f0279ffa350a442a5d

add postgres driver and connect test

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha 8a73c2bb6f3cc2408c55f5d33cfba18616fde48a

add postgres driver and connect test

view details

push time in 16 days

push eventreverb-hub/reverb-orm

afinch7

commit sha 6f5113c2e253c87d9b82851f11465f9c028c3f6d

add postgres driver and connect test

view details

push time in 16 days

PR opened reverb-hub/reverb-orm

add postgres driver and connect test
+116 -16

0 comment

12 changed files

pr created time in 16 days

create barnchreverb-hub/reverb-orm

branch : connect_postgres

created branch time in 16 days

create barnchreverb-hub/reverb-orm

branch : connect

created branch time in 16 days

create barnchreverb-hub/reverb-orm

branch : master

created branch time in 16 days

created repositoryreverb-hub/reverb-orm

created time in 17 days

push eventreverb-hub/dso-postgres

Andy Finch

commit sha 8ca50a2c8cba970fc1b32a462ab9b920da9f8f2b

add github actions workflow (#1) * add github actions workflow * remove format check * add format check and use services for mysql

view details

push time in 17 days

PR merged reverb-hub/dso-postgres

add github actions workflow
+164 -123

0 comment

8 changed files

afinch7

pr closed time in 17 days

PR opened reverb-hub/dso-postgres

add github actions workflow
+164 -123

0 comment

8 changed files

pr created time in 17 days

push eventafinch7/dso

afinch7

commit sha 63e898c86141a8982762d3dec990dd513c3d5847

add format check and use services for mysql

view details

push time in 17 days

PR opened manyuanrong/dso

add github actions workflow
+26 -0

0 comment

1 changed file

pr created time in 17 days

push eventafinch7/dso

afinch7

commit sha 401c8c04c176d9d28728553b65b44d706d9cc466

remove format check

view details

push time in 17 days

create barnchafinch7/dso

branch : add_ci

created branch time in 17 days

fork afinch7/dso

Simple Orm library for Deno based on deno_mysql

fork in 17 days

delete branch reverb-hub/reverb

delete branch : github_actions

delete time in 17 days

push eventreverb-hub/reverb

Andy Finch

commit sha f9db9cb3cbb675c6e37236ae88913ce8c72e899f

add github actions config (#10) * add github actions config * fmt * fix * fix * add this new line

view details

push time in 17 days

PR merged reverb-hub/reverb

add github actions config
+3370 -2881

0 comment

23 changed files

afinch7

pr closed time in 17 days

push eventreverb-hub/reverb

afinch7

commit sha 486f2a0b706abe4f41bb83c53b64f3c4736539b2

add this new line

view details

push time in 17 days

push eventreverb-hub/reverb

afinch7

commit sha 0245fe2e75ff6cf9b66b5877b9924c737337aa2a

fix

view details

push time in 17 days

push eventreverb-hub/reverb

afinch7

commit sha 6d123cb8ea0f0046aab08cda3b63f145279aba42

fix

view details

push time in 17 days

push eventreverb-hub/reverb

afinch7

commit sha 6f5a22d10d05d65cca62cb72ab2becbd7ba333c7

fmt

view details

push time in 17 days

push eventreverb-hub/reverb

afinch7

commit sha 8865bacffc45155a8e68ac44f5d55347dc00426e

fmt

view details

push time in 17 days

push eventreverb-hub/reverb

afinch7

commit sha 1f29927d3d156914858320d5dd50d584cb0cee12

add github actions config

view details

push time in 17 days

push eventreverb-hub/reverb

afinch7

commit sha 8fdf189a6dc2345a1926ff9666291b650d136a85

add github actions config

view details

push time in 17 days

PR opened reverb-hub/reverb

add github actions config
+23 -0

0 comment

1 changed file

pr created time in 17 days

create barnchreverb-hub/reverb

branch : github_actions

created branch time in 17 days

created repositoryafinch7/test-thing

created time in 17 days

delete branch RFHold/reverb

delete branch : query-params

delete time in 17 days

push eventRFHold/reverb

RFHold

commit sha 3d2551b0852033ca0629f2b7711e676abff1c29a

add query param support (#7) * add query param support * return null for session * decode values * decode path vars Co-authored-by: Andy Finch <andyfinch7@gmail.com>

view details

push time in 17 days

PR merged RFHold/reverb

add query param support
+183 -132

0 comment

4 changed files

RFHold

pr closed time in 17 days

push eventRFHold/reverb

RFHold

commit sha 9b971e7260badcc0f57bdb5f8dc3a2b624c416c4

add license (#8)

view details

Andy Finch

commit sha 6a21b5efa894df46b9b26ad2064f7ebd26af4a7f

make injection more smart (#9) * make things more constant * smarter injection * add some real tests

view details

Andy Finch

commit sha 421b260700f4eb5c2a5807da9e8838896e1f54cf

Merge branch 'master' into query-params

view details

push time in 17 days

push eventRFHold/reverb

afinch7

commit sha 0dec3c686c1e9728ce5981ff11092da74f56f1c0

add some real tests

view details

push time in 17 days

push eventRFHold/reverb

afinch7

commit sha 6ce3134678ee68ad08d8419468d422cea4771a09

smarter injection

view details

push time in 17 days

PR opened RFHold/reverb

make injection more smart
+16 -21

0 comment

3 changed files

pr created time in 18 days

create barnchRFHold/reverb

branch : provide_providers

created branch time in 18 days

push eventRFHold/reverb

RFHold

commit sha 5e3ca3c242cbcdfa9d3f0a54bed8e4e3afbee099

basic route execution (#6) * basic route execution * add single header support * remove params gst * fix path variables * fix handler bind and endpoint without args * basic response handleing * basic errors * cleanup * fix generic errors

view details

push time in 18 days

delete branch RFHold/reverb

delete branch : route-exec

delete time in 18 days

PR merged RFHold/reverb

basic route execution
+579 -75

0 comment

10 changed files

RFHold

pr closed time in 18 days

push eventRFHold/reverb

afinch7

commit sha 5dae6c32677f7c5ab0c2109a4323b1c21c746109

resolve path variables

view details

push time in 20 days

push eventRFHold/reverb

afinch7

commit sha 38bd71c8f5af782417689a5a97058574f631b7c2

resolve path variables

view details

push time in 20 days

push eventRFHold/reverb

afinch7

commit sha 53f71c2eb3d11d92f91e96963c14df779aae999b

implemented resolution in routes system

view details

push time in 20 days

push eventRFHold/reverb

RFHold

commit sha 877324539e86cf667df7987a10aae8f387309637

add basic parameter decorators (#3) * add basic parameter decorators * add optional single header * add mapping decorators * add explicit names

view details

afinch7

commit sha 87857682deb9db8b425e26e4bf1dbef1f95b50ad

resolve routes more better

view details

afinch7

commit sha 5c08404a92b1f37eeacfef2c7ec271c6d7ff583b

make route resolver print some output

view details

push time in 21 days

push eventRFHold/reverb

afinch7

commit sha 2fea3abfba474fe4ad330f9365492952207df2f2

make route resolver print some output

view details

push time in 21 days

PR opened RFHold/reverb

resolve routes
+38 -6

0 comment

2 changed files

pr created time in 21 days

create barnchRFHold/reverb

branch : route_resolver

created branch time in 21 days

PR opened RFHold/reverb

use request parser from std library
+22 -88

0 comment

3 changed files

pr created time in 21 days

push eventRFHold/reverb

afinch7

commit sha 27b34257b5504f43b59e389e43c778f2b4e2c403

use request parser from std library

view details

push time in 21 days

create barnchRFHold/reverb

branch : use_std_request_reader

created branch time in 21 days

PR closed boa-dev/boa

feat: import parsing enhancement parser

Simple import statement parsing. I intend to follow this up with some execution implementation.

+71 -1

7 comments

5 changed files

afinch7

pr closed time in a month

pull request commentboa-dev/boa

feat: import parsing

I haven't been able to find the time to rebase this right now. I'm closing for now.

afinch7

comment created time in a month

Pull request review commentdenoland/deno

[WIP] dispatch_json in core/

 impl CoreIsolate {     }   } +  /// Executes a bit of built-in JavaScript to provide Deno.sharedQueue.

This doc needs to be corrected.

bartlomieju

comment created time in 2 months

Pull request review commentdenoland/deno

[WIP] dispatch_json in core/

+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.++((window) => {+  // Available on start due to bindings.+  const core = window.Deno.core;++  let errorCallback;++  function assert(cond) {+    if (!cond) {+      throw Error("assert");+    }+  }++  function createResolvable() {+    let resolve;+    let reject;+    const promise = new Promise((res, rej) => {+      resolve = res;+      reject = rej;+    });+    promise.resolve = resolve;+    promise.reject = reject;+    return promise;+  }++  // Using an object without a prototype because `Map` was causing GC problems.+  const promiseTable = Object.create(null);+  let _nextPromiseId = 1;++  function nextPromiseId() {+    return _nextPromiseId++;+  }++  function decode(ui8) {+    const s = core.decode(ui8);+    return JSON.parse(s);+  }++  function encode(args) {+    const s = JSON.stringify(args);+    return core.encode(s);+  }++  function setErrorCb(errorCb) {

This is going to be a problem if we want to use this with plugins as well. Plugins are not and should not be aware of our error kinds defined in cli, and even if they where if we change them from one version to another it will break plugins.

bartlomieju

comment created time in 2 months

Pull request review commentdenoland/deno

[WIP] dispatch_json in core/

 impl Worker {   pub fn new(name: String, startup_data: StartupData, state: State) -> Self {     let loader = Rc::new(state.clone());     let mut isolate = deno_core::EsIsolate::new(loader, startup_data, false);+    isolate.dispatch_json_init();

Maybe find a way to include dispatch json in the snapshot?

bartlomieju

comment created time in 2 months

Pull request review commentdenoland/deno

[WIP] dispatch_json in core/

+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.++((window) => {+  // Available on start due to bindings.+  const core = window.Deno.core;++  let errorCallback;++  function assert(cond) {+    if (!cond) {+      throw Error("assert");+    }+  }++  function createResolvable() {+    let resolve;+    let reject;+    const promise = new Promise((res, rej) => {+      resolve = res;+      reject = rej;+    });+    promise.resolve = resolve;+    promise.reject = reject;+    return promise;+  }++  // Using an object without a prototype because `Map` was causing GC problems.

Odd is this a v8 issue?

bartlomieju

comment created time in 2 months

Pull request review commentdenoland/deno

[WIP] dispatch_json in core/

+// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.++((window) => {

I would prefer if we could support ESM usage, but if we have to chose one it clearly makes more sense to favor simpler use cases.

bartlomieju

comment created time in 2 months

push eventafinch7/deno

afinch7

commit sha 30a153722f2ba56dad261c0597f3706cc701ed57

wip: op namespaces

view details

push time in 2 months

push eventafinch7/deno

afinch7

commit sha 13ec96404e9242e426043b32f7e6d744ebda755d

wip: op namespaces

view details

push time in 2 months

push eventafinch7/deno

Bartek Iwańczuk

commit sha b1893e65f20cf92585f59415eb23e709e32149b6

fix(compiler): JSX compilation and provide better error message (#6300)

view details

Kitson Kelly

commit sha 490d2a5ca1acff12ca0f47db8d654848046e3149

fix: MuxAsyncIterator throws muxed errors (#6295) Fixes #5260

view details

Dan

commit sha f7d0e39892c511208e46c4b0a3e182c2843293ae

minor grammar fix (#6299) noun -> verb

view details

Mandeep Singh

commit sha 9e8ecedfea44ee0c76a48d29e166d05ae01ec49e

docs: added autocompletion example for zsh (#6298)

view details

Peter Evers

commit sha fc850b11e5ef760278363b7a35c5a48102d919c3

unixpacket should also return byte length on send (#6291)

view details

Ryan Dahl

commit sha c54dec85760d1fe7f90a4d7e5df96fd2118d2af4

Fix DENO_DIR docs (#6271)

view details

Bartek Iwańczuk

commit sha b8872cd303584b28c0d6250184e4a1205bf2ad9b

fix(cache): apply redirection limit for cached files (#6308)

view details

skdltmxn

commit sha b3c72d1e4554b5fd58cbf3ba2fbf56275446447b

feat(std/hash): reimplement all hashes in WASM (#6292)

view details

Rob Waller

commit sha b86514aa7e135437beffbe3e1f473f16967dabc4

docs: testing filter info (#6313)

view details

Vladimir Iakovlev

commit sha bd26a72ab3fc5b5f5403959ec081efdf8d39b666

Update assertions names in std/testing README (#6318)

view details

Bartek Iwańczuk

commit sha e88d72f101e773728c27306a3639589c1350e4ed

chore: remove glob dependency (#6317)

view details

Kitson Kelly

commit sha 75bb9dbdfc7f8b4e8d17978808ae575e61843aef

Deno.bundle supports targets < ES2017. (#6328) This commit provides a "system_loader_es5.js" bundle loader which will be added to the bundle when the target is < ES2017, which is the minimum target syntax required for "system_loader.js". Supports #5913 (via Deno.bundle()) with a couple caveats: * Allowing "deno bundle" to take a different target is not supported, as we specifically ignore "target" when passed in a TypeScript config file. This is because deno bundle is really intended to generate bundles that work in Deno. It is an unintentional side effect that some bundles are loadable in browsers. * While a target of "es3" will be accepted, the module loader will still only be compatible with ES5 or later. Realistically no one should be expecting bundles generated by Deno to be used on IE8 and prior, and there is just too much "baggage" to support that at this point.

view details

Bartek Iwańczuk

commit sha e60922981be918ba4e6d9d857d9834b0d586df5b

Revert "Deno.bundle supports targets < ES2017. (#6328)" (#6342) This reverts commit 75bb9dbdfc7f8b4e8d17978808ae575e61843aef.

view details

Bartek Iwańczuk

commit sha 097e42418c6746a4f24e05effaf6a61df9509310

chore: move fmt test to integration tests (#6340)

view details

crowlKats

commit sha ebf5c7b8cc79d8d164d95927168067083debef27

Fix failure message for deno upgrade (#6348)

view details

Rob Waller

commit sha 02ef670deb8984988cf65338d205d51ae0b368cd

Feature testing assertions documentation (#6332)

view details

Kiffie Liversage

commit sha eea3223ade98a13ef4811e7d713df618375201d1

typo (#6356)

view details

River

commit sha 2a5af8b36b233b6330997b2262a45a23034d719d

fix: decode path properly on win32 (#6351)

view details

Chris Knight

commit sha 78a311aa5f6c56a750aaf3a7d3e8f911acf348d1

docs: Update standard library and testing manual pages (#6323)

view details

Chris Knight

commit sha 940f8e8433ae5ec74b2642438849089a0433e512

feat(std/log): expose logger name to LogRecord (#6316)

view details

push time in 2 months

push eventafinch7/deno

afinch7

commit sha 91bd4ff792716f2c4cfe77a8bff6a4327106eee5

wip: op namespaces

view details

push time in 2 months

push eventafinch7/deno

afinch7

commit sha 5d8342a858c33d53b6d522a61dd2eb0c18a5fe15

wip: op namespaces

view details

push time in 2 months

PR opened denoland/deno

[wip] feat: op namespaces

<!-- Before submitting a PR, please read https://github.com/denoland/deno/blob/master/docs/contributing.md -->

+93 -26

0 comment

4 changed files

pr created time in 2 months

create barnchafinch7/deno

branch : op_namespaces

created branch time in 2 months

issue commentdenoland/deno

Deno.close() does not work with plugins

After looking at the complexity involved in unloading plugins, it might make more sense to just support loading the same plugin more than once.

PandawanFr

comment created time in 2 months

push eventafinch7/deno

afinch7

commit sha a6e058f47cfe8d4a0f2e7350900e46634e96aa77

feat: add unregister op

view details

push time in 2 months

PR opened denoland/deno

feat: add unregister op

Adds unregister_op to OpRegistry. This should help solve several issues with plugins: #5975, #5478

+9 -0

0 comment

1 changed file

pr created time in 2 months

create barnchafinch7/deno

branch : unregister_op

created branch time in 2 months

issue commentdenoland/deno

Deno.close() does not work with plugins

We don't currently have any way to unregister ops in core. We need to address that first or not allow closing plugins. I struggle to find any good reason to need to call close on plugin.

PandawanFr

comment created time in 2 months

push eventafinch7/deno

Ryan Dahl

commit sha b7b6e0674f5bd6fed3e9b7ae5f32f95f1784753b

Remove unused check-only feature (#6035)

view details

Ryan Dahl

commit sha 23dc9c13db110d25df22fb9813910b8d9a278953

Fix REPL BorrowMutError panic (#6055)

view details

Szalay Kristóf

commit sha 1db98f10b804129d965daa18de6d528e592a3c0f

feat(std/testing): benching progress callback (#5941)

view details

Nayeem Rahman

commit sha aaa2ed5a6450572d90fdb3fc2f0000759599d46f

fix(std/testing/asserts): Format values in assertArrayContains() (#6060)

view details

Marcos Casagrande

commit sha a1915a0d4fd7d760c234e209967d842f851628d5

fix(fetch): Support 101 status code (#6059)

view details

timonson

commit sha 9a97e61b78fcec4ac9bb3da3e49afd0a2f849b9a

feat(std/encoding): add base64url module (#5976)

view details

Ryan Dahl

commit sha 041ccb6a0d658a7ba393b2cfe86579b2dc4945b7

Remove dead code (#6066)

view details

David Sherret

commit sha 445e44199b3ce4edb4468176a317aafdaae15517

Update to dprint 0.19.1 and swc_ecma_parser 0.24.3 (#6068)

view details

Ryan Dahl

commit sha a90d9fbd348db922c33f45af834bd3b89574b4a9

fix: dynamic import BorrowMutError (#6065)

view details

Ryan Dahl

commit sha aa39dfc62f8fc88ebb3dfb01fbc979f30557ca9a

upgrade: rusty_v8 0.5.0 (#6070)

view details

Ryan Dahl

commit sha 515d19d901e7e5dbc04670807a2bd1cea237e9e8

v1.0.5

view details

Szalay Kristóf

commit sha 4ef38bad4340b5c8100ec2522264c57f0522aa2d

docs: benchmarking (#6075)

view details

Szalay Kristóf

commit sha cab273476a4ff725d53a8e41bf3f8a90060236d4

fix(std/testing/bench): clock assertions without --allow-hrtime (#6069)

view details

Chris Knight

commit sha 1ebd33092779edc630e8f809f72bcef2656b8185

doc: complete unstable documentation and make consistent (#6074)

view details

matheus

commit sha 94bf551ead0ab5dc922cb61d13b3141896d5a8ae

fix(std/http/file_server): args handling only if invoked directly (#5989)

view details

David Sherret

commit sha fcae2fec879caf26ebe7af17b30a3bce6322b85d

Upgrade to swc_ecma_parser 0.24.5 (#6077)

view details

uki00a

commit sha 9bd5c08d5a2a9cdd2649dd24a4d6b26d9af2a4c4

feat(doc): handle detail output for enum (#6078)

view details

Nayeem Rahman

commit sha 97d876f6db55f5f32ac06155dcb4823e1c636215

fix(std/http): Don't use assert() for user input validation (#6092)

view details

Szalay Kristóf

commit sha 42a04ea08a09e29417518524cbe2245c165e6f55

refactor(std/testing/bench): Remove differentiating on runs count (#6084)

view details

Ryan Dahl

commit sha e3cc3db20fc86d9adb19bb472e8c96ae5f7c77c0

Revert "feat: format deno bundle output (#5139)" (#6085) This reverts commit 93cf3bd5341d5985201ea0905280082d5a3310f9.

view details

push time in 2 months

push eventafinch7/deno

afinch7

commit sha d5b8f02cebf8d53b2b5f9b600e68caada9f229d2

feat: support wrapped plugin ops

view details

push time in 2 months

issue commentdenoland/deno

Deno.close() does not work with plugins

This is less of a big and more of a oversight. I'm working on a fix.

PandawanFr

comment created time in 2 months

pull request commentdenoland/deno

feat: support wrapped plugin ops

@piscisaureus Any idea why this only fails on windows?

afinch7

comment created time in 2 months

issue commentdenoland/deno

thread 'main' panicked at 'already borrowed: BorrowMutError' when in REPL

It's worth noting you can produce the same error with any op not just crypto.getRandomValues.

hastri

comment created time in 2 months

push eventafinch7/deno

skdltmxn

commit sha 49c85a2c2396d6d010296503faf0b0b8712e9cd0

feat(std/hash): add md5 (#5719)

view details

Khang Dinh

commit sha 65f4e5912293bea5c59e2923cabfa8c0373a05a7

typos (#5713)

view details

moyinzi

commit sha 8d8a2f573f32e0b2680eb114739902c5953f7b99

fix(std/http): file_server's target directory (#5695)

view details

Bartek Iwańczuk

commit sha 491feb859f30f56bc25d6afc730a1c709a0bb807

fix: --inspect flag working like --inspect-brk (#5697)

view details

David Sherret

commit sha ee710994925e8840ea387e1853d9c15f3eb73149

fix(fmt): Do not panic on new expr with no parens. (#5734) Closes #5567

view details

Bartek Iwańczuk

commit sha f9e45114b9c423b72e9c44c4a8aef90f5c3b44d6

fix: redirects handling in module analysis (#5726) This commit fixes a bug introduced in #5029 that caused bad handling of redirects during module analysis. Also ensured that duplicate modules are not downloaded.

view details

Chris Knight

commit sha 4b06e357655e5e4e1aba6d9591eeb7ca269850ed

doc: clarify and warn on Deno.read/write behaviour (#5743)

view details

Bartek Iwańczuk

commit sha e191c70989a1dbf29b095bf6c2f7b62b90de012a

fix: ts type imports (#5733)

view details

Bartek Iwańczuk

commit sha 960f9ccb2e700332dc576163b62c518120c73f15

fix: SWC lexer settings and silent errors (#5752) This commit changes how error occurring in SWC are handled. Changed lexer settings to properly handle TS decorators. Changed output of SWC error to annotate with position in file.

view details

Ali Hasani

commit sha 1a6c5413272d110dd96fa354db28a668f55a4399

re-enable symlink tests on windows (#5746)

view details

Bartek Iwańczuk

commit sha 526c9196e23af34d1ecd424d09c99c7003c33844

v1.0.2

view details

Ergenekon Yiğit

commit sha 4fa69e890ee92c3b81beed8c8a2b262db8c905ac

fix: atob should throw dom exception (#5730)

view details

luism3861

commit sha 7cdf3fb7e922e17d41d75a4bab50cea2c2e3bab7

remove dead link (#5655)

view details

Marcos Casagrande

commit sha 28b651c2e2bbe590295077f9253a3feb084349fd

Simplify isFiniteNonNegativeNumber (#5686)

view details

Marcos Casagrande

commit sha 7f81f02ce794ac14ca25d3505f339cb663499ce6

std/node: fs.writeFile/sync path can now be an URL (#5652)

view details

Ali Hasani

commit sha 3b86552d669b44c13f8dcf72e1147f79e9f680c6

refactor: remove duplicated code in std/node/module (#5778)

view details

Luca Casonato

commit sha 6feca0ef8bec69f4940c28a9ac0b6a0eeb6884ba

Fix Deno.dir and Diagnostics being present at stable runtime (#5750)

view details

guzhongren

commit sha 94f1de5f805638b7bc06ac36b7fb8adb568c7a25

Fix example (#5775)

view details

Bartek Iwańczuk

commit sha c3c16f025ca6f30f3faaa70481a125494ddcea87

fix: TSX analysis in module graph loader (#5785)

view details

Umar Bolatov

commit sha 2bbe475dbbd46c505cdb2a5e511caadbd63dd1fd

docs: update permissions example (#5809)

view details

push time in 2 months

push eventafinch7/deno

afinch7

commit sha 7f08a10a30ffd93d35a5acb1712eaa79d9857ea7

Merge remote-tracking branch 'upstream/master' into HEAD

view details

push time in 2 months

push eventafinch7/deno

A.E Clarence

commit sha e90c95b465e361a0f06016ad0f16582e7f9a54a6

fix example of readTextFile (#5247)

view details

Bert Belder

commit sha e34a3b61f449cf6197b6d701770a85d9205c2a7b

Make --inspect-brk pause on the first line of _user_ code (#5250)

view details

Nugine

commit sha bc7817e1610faf0abe3c8629fc8163fdcb36b75f

doc: fix typo in workers.md (#5256)

view details

Kitson Kelly

commit sha 3d7552af2e19f489501f6a1e27f8a4f488ce123a

Update to TypeScript 3.9 (#4510)

view details

Pavan Kumar

commit sha 9c01403865157aecf4102b013155173177f436fd

default to 0.0.0.0 for Deno.listen (#5203)

view details

Bartek Iwańczuk

commit sha e9ce043b7cf281b9dcc90f9bb9473bf16ce124bc

docs: add debugger manual (#5265)

view details

Luca Casonato

commit sha aa58128a128d83174182ed412bc639768500d7e8

docs: Added unstable message to compiler api (#5272)

view details

Bartek Iwańczuk

commit sha 7ceac1284ebcc992615ca15c67818cc29a3ced58

docs: standard library (#5274)

view details

Amen

commit sha 38e253e377626289538e3e59fe5af0c7e54f5bef

Add allow-read to file-server debugger example (#5282)

view details

Bartek Iwańczuk

commit sha 55d2c6bd103879263c115fa5697f3cf3101158f4

v1.0.0

view details

Manikandan Sundararajan

commit sha d397b86c6cea1517342dfa92055d8ed00c564ee1

Fix broken links to manual web page in README.md (#5284) The old link to the manual web page includes the `.html` extension but this leads to a 404. Removing the `.html` leads to the right webpage.

view details

Shohei YOSHIDA

commit sha 45ec10535a797d96571d41a3753c9db16bafc15b

docs: add 'ts' tag to code blocks in manual/examples/os_signals.md (#5297) This should enable syntax highlighting on the website.

view details

Dante Calderón

commit sha c3a205bae854edc02f10bcaa292b0e2694baabc8

Fix typos across the repo (#5295) Corrections made: * cli/js/tests/README.md:44:7: corrected "discoveres" to "discovers" * cli/js/tests/chown_test.ts:111:37: corrected "priviledge" to "privilege" * cli/worker.rs:231:56: corrected "decendants" to "descendants" * deno_typescript/lib.rs:136:50: corrected "emmited" to "emitted" * core/es_isolate.rs:492:67: corrected "registerd" to "registered" * core/isolate.rs:103:28: corrected "initalize" to "initialize" * docs/runtime.md:29:14: corrected "ect" to "etc" * docs/tools/debugger.md:122:16: corrected "implementes" to "implements" * std/encoding/_yaml/dumper/dumper_state.ts:57:63: corrected "everwhere" to "everywhere" * std/encoding/csv.ts:37:43: corrected "referal" to "referral" * std/fmt/sprintf.ts:209:20: corrected "unusuable" to "unusable" * std/fmt/README.md:21:40: corrected "Alternativly" to "Alternatively" * std/fmt/README.md:35:68: corrected "seperated" to "separated" * std/fmt/README.md:179:59: corrected "provded" to "provided" * std/mime/multipart.ts:581:46: corrected "writen" to "written" * std/path/_globrex.ts:19:52: corrected "equivelant" to "equivalent" * std/node/events_test.ts:447:9: corrected "asyncronous" to "asynchronous" * std/node/events_test.ts:475:9: corrected "asyncronous" to "asynchronous" * std/node/events_test.ts:500:29: corrected "asyncronous" to "asynchronous" * std/node/events_test.ts:530:40: corrected "asyncronous" to "asynchronous" * std/node/events_test.ts:555:9: corrected "asyncronous" to "asynchronous" * tools/deno_tcp_proxy.ts:1:42: corrected "perfromance" to "performance" * std/node/module.ts:1003:18: corrected "existend" to "existed"

view details

Peter Indiola

commit sha 21a4e9cc58aeed55cb597d2f986cca56f0aec819

Fix small typo in the docs (#5310)

view details

Kevin (Kun) "Kassimo" Qian

commit sha 7de86ab605ee94fdbce351c7f3031816c935c393

cli: don't panic on Deno.close invalid argument (#5320)

view details

Thomas Steiner

commit sha b60cde4c0a3e2a14e543ac0436c2147b43bdfb24

Avoid unfortunate ASCII arrow splitting (#5325)

view details

Marcos Casagrande

commit sha 524b1547b7c291763d6ca066ce8e10ae6398190b

std/node fs.readFile should take string as option (#5316)

view details

Bartek Iwańczuk

commit sha c474d383543708fc636c06dd2e4a9100495f45c5

std/0.51.0 (#5336)

view details

Bert Belder

commit sha 676be6632c113b61d95e9a0897c4810d63e479b2

Fix flakiness in std file_server tests (#5306) Fixes: #5275

view details

Kerollos Magdy

commit sha a2ba5a31a5ec8e011bb78baf531e29de4428b32e

Remove extra dollar sign from docs (#5361)

view details

push time in 2 months

Pull request review commentdenoland/deno

WIP Plugin resources2

 pub type DispatchOpFn =  pub trait Interface {   fn register_op(&mut self, name: &str, dispatcher: DispatchOpFn) -> OpId;+  fn resource_table(&mut self) -> Rc<RefCell<ResourceTable>>;

If this is the case then leaving a resource in the resource table at the end of the tests shouldn't cause a segfault when exiting. Here's a patch:

diff --git a/test_plugin/src/lib.rs b/test_plugin/src/lib.rs
index 0f509e60..87446014 100644
--- a/test_plugin/src/lib.rs
+++ b/test_plugin/src/lib.rs
@@ -118,5 +118,14 @@ fn op_test_resources(
     let found2 = rt.close(rid).is_some();
     assert!(!found2);
   }
+  {
+    // add and leave in table
+    let rc = Box::new(TestResource {
+      noise: "woof".to_owned(),
+    });
+    let rt = interface.resource_table();
+    let mut rt = rt.borrow_mut();
+    rt.add("test_resource", rc);
+  }
   Op::Sync(Default::default())
 }
ry

comment created time in 3 months

Pull request review commentdenoland/deno

WIP Plugin resources2

 pub type DispatchOpFn =  pub trait Interface {   fn register_op(&mut self, name: &str, dispatcher: DispatchOpFn) -> OpId;+  fn resource_table(&mut self) -> Rc<RefCell<ResourceTable>>;

Without wrapping the resource table, we can't ensure that the plugin stays loaded until resources it creates are dropped. This will result in segfaults.

ry

comment created time in 3 months

pull request commentboa-dev/boa

feat: import parsing

I should have some time this week to get this completely rebased.

afinch7

comment created time in 3 months

push eventafinch7/boa

dependabot[bot]

commit sha 62383f5a06e9e4c59a10d550b6bf9ab53cb042b4

Bump acorn from 6.4.0 to 6.4.1 (#275) Bumps [acorn](https://github.com/acornjs/acorn) from 6.4.0 to 6.4.1. - [Release notes](https://github.com/acornjs/acorn/releases) - [Commits](https://github.com/acornjs/acorn/compare/6.4.0...6.4.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

view details

HalidOdat

commit sha f53b352a4e6984ff8e8a6bcc164707cbd2842227

Added a logo to the project. (#277) * Added a logo to the project. * Changed the logo from a png to a svg.

view details

Nick Vernij

commit sha 9b8c803bbe95b2a3d437893c0962f98a8a58585b

Add methods with f64 std equivelant to Math object (#260) * Add methods with f64 std equivelant to Math object * Add testS for Math static methods

view details

HalidOdat

commit sha 5a85c595d4dff8fffd3d7881e4e9bca188691074

Added the ability to dump the token stream or ast in bin. (#278) * Added the ability to dump the token stream or ast in bin. The dump functionality works both for files and REPL. With --dump-tokens or -t for short it dumps the token stream to stdout and --dump-ast or -a for short to dump the ast to stdout. The dumping of tokens and ast is mutually exclusive. and when dumping it wont run the code. * Fixed some issues with rustfmt. * Added serde serialization and deserialization to token and the ast. * Added a dynamic multi-format dumping of token stream and ast in bin. - Changed the --dump-tokens and --dump-ast to be an optional argument that optionally takes a value of format type ([--opt=[val]]). - The default format for --dump-tokens and --dump-ast is Debug format which calls std::fmt::Debug. - Added Json and JsonMinified format for both dumps, use serde_json internally. - It is easy to support other format types, such as Toml with toml-rs for example. * Made serde an optional dependency. - Serde serialization and deserialization can be switched on by using the feature flag "serde-ast". * Changed the JSON dumping format. - Now Json dumping format prints the data in minefied JSON form by default. - Removed JsonMinified. - Added JsonPretty as a way to dump the data in pretty printed JSON format. * Updated the docs.

view details

Jason Williams

commit sha 48c6e886d4fc63324d1695192d8960ac3efe4c21

Parser fixes #225 #240 #273 (#281) New parser! Plus loads of tidy up in various places. Co-authored-by: Jason Williams <jwilliams720@bloomberg.net> Co-authored-by: HalidOdat <halidodat@gmail.com> Co-authored-by: Iban Eguia <iban.eguia@cern.ch> Co-authored-by: Iban Eguia <razican@protonmail.ch>

view details

HalidOdat

commit sha c365576f37456a61a157287ca716df23745314ab

Implemented the Array.prototype.some method. (#280) - Implementd Array.prototype.some method. - Added tests for Array.prototype.some method.

view details

Jason Williams

commit sha 8943953a7998d81b858c761778a971d05204454e

fix vulnerabiliies via upgrade

view details

Iban Eguia

commit sha 4ed712219970a9aee437a02fa7992f6fea9e23f4

Fixed positions in regexes and strict operators. (#295) I also removed an unused function in the parser and added a test for #294, currently ignored.

view details

Jason Williams

commit sha 8002a959a0537692e804d948c9933f04c0d8bf4e

Update CONTRIBUTING.md

view details

Iban Eguia

commit sha 795a70ec8910070a7c48def29a4b10f5144eda64

Use jemallocator (#298) Added jemallocator as the global allocator for binary and benchmarks

view details

Iban Eguia

commit sha 38db4dc316febca9e85c66c6e13061736e13395b

Added a test for #208 (#303)

view details

Iban Eguia

commit sha 48ab045ac295602e2db847dd5f5a91c51d07f120

Updated contribution documentation (#297)

view details

HalidOdat

commit sha f1f49d14ba7d1c014c953fea57f839998a6c8e96

Fixed center alignment of logo. (#305)

view details

Jason Williams

commit sha 0274858d88c50a60b7c5669282a5d4c040dc220e

Revert "Use jemallocator (#298)" (#310) This reverts commit 795a70ec8910070a7c48def29a4b10f5144eda64.

view details

Jason Williams

commit sha a0db788ed6183e8b2719d820c88168aac4d92e76

adding test for #273 (#313)

view details

Jason Williams

commit sha 1184456ab7c871b79942ece60383a9754d89f29f

update changelog for upcoming 0.7.0 (#271) * update changelog for v0.7.0

view details

Jason Williams

commit sha ad0d1326509901f6aebd77d283fd7ade80ad3782

updating yanr lock

view details

Jason Williams

commit sha ea127b3d756782e6d84fce4b9d252e24a082d11a

updated to playground output

view details

Jason Williams

commit sha 5885e1bca3a1396f0dbf6041344258cf648a4aa7

v0.7.0

view details

Jason Williams

commit sha 8b9f761644e7eefc8383b191d55dae24651f5c97

Update README.md

view details

push time in 3 months

issue openeddenoland/deno

snapshots shouldn't need to be rebuilt every time cli is recompiled

Currently any changes to cli rust code cause snapshots to be rebuilt and this takes several seconds. If i'm only changing some code for a op I shouldn't need to rebuild the snapshots.

In general cli/build.rs and cli/js are the only things in the cli folder that should cause snapshots to be rebuilt. We could save a lot of time if the snapshot generation in cli/build.rs was smarter and was skipped unless these files where changed.

We already have a list of files to check in the form of cargo:rerun-if-changed= outputs from deno_typescript and cli/build.rs is a single file to check that never changes. I figure this wouldn't really be too hard to implement.

tags: cli, build

created time in 3 months

more