-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: support `node:` prefix * feat: update Deno version
- Loading branch information
1 parent
abcb79d
commit 0f7413f
Showing
6 changed files
with
53 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,7 @@ jobs: | |
uses: denoland/setup-deno@v1 | ||
with: | ||
# Should match the `DENO_VERSION_RANGE` constant in `node/bridge.ts`. | ||
deno-version: v1.22.0 | ||
deno-version: v1.30.0 | ||
- name: Setup Deno dependencies | ||
run: deno cache https://deno.land/x/[email protected]/eszip.ts | ||
- name: Node.js ${{ matrix.node-version }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
test/fixtures/imports_node_specifier/netlify/edge-functions/func1.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import assert from 'node:assert' | ||
import process from 'node:process' | ||
|
||
export default () => { | ||
Deno.env.set('NETLIFY_TEST', '12345') | ||
assert.deepEqual(process.env.NETLIFY_TEST, '12345') | ||
|
||
return new Response('ok') | ||
} | ||
|
||
export const config = { | ||
path: '/func1', | ||
} |