summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/registry
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2023-12-11 11:23:50 -0500
committerGitHub <noreply@github.com>2023-12-11 17:23:50 +0100
commit98121de5be6f948740c5869095381d6e7a18b9ea (patch)
treefb0b533ed5a309113622a51bcb16595505f140d6 /cli/tests/testdata/npm/registry
parent7bf267c197fc6a5cbafa0e72992b1cc7629ff989 (diff)
fix: allow reserved word 'mod' in exports (#21537)
This problem occurred trying to load tensorflow.js ``` > import * as tf from 'npm:@tensorflow/tfjs'; Uncaught SyntaxError: Identifier 'mod' has already been declared at file:///Users/ry/Library/Caches/deno/npm/registry.npmjs.org/@tensorflow/tfjs/4.14.0/dist/tf.node.js:167:14 at async <anonymous>:1:33 ```
Diffstat (limited to 'cli/tests/testdata/npm/registry')
-rw-r--r--cli/tests/testdata/npm/registry/@denotest/reserved-word-exports/1.0.0/index.cjs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/registry/@denotest/reserved-word-exports/1.0.0/index.cjs b/cli/tests/testdata/npm/registry/@denotest/reserved-word-exports/1.0.0/index.cjs
index 78e0563e4..73f00fad4 100644
--- a/cli/tests/testdata/npm/registry/@denotest/reserved-word-exports/1.0.0/index.cjs
+++ b/cli/tests/testdata/npm/registry/@denotest/reserved-word-exports/1.0.0/index.cjs
@@ -38,6 +38,7 @@ exports["int"] = "int";
exports["interface"] = "interface";
exports["let"] = "let";
exports["long"] = "long";
+exports["mod"] = "mod";
exports["native"] = "native";
exports["new"] = "new";
exports["null"] = "null";