diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-05-02 15:51:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-02 15:51:08 +0200 |
commit | 2872b362ff76273d897d75bb8a3ddd5510c182f4 (patch) | |
tree | 7b1061aacca70eec34be3e307719f5113d932b57 /cli/tests/error_local_static_import_from_remote.js | |
parent | de2c042482741dc23f7d975458a1fba95863de53 (diff) |
BREAKING: disallow static import of local modules from remote modules (#5050)
This commit changes module loading logic to disallow statically import
local module (file:// scheme) from remote modules (http://, https://
schemes).
Diffstat (limited to 'cli/tests/error_local_static_import_from_remote.js')
-rw-r--r-- | cli/tests/error_local_static_import_from_remote.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/error_local_static_import_from_remote.js b/cli/tests/error_local_static_import_from_remote.js new file mode 100644 index 000000000..eb7fd23ba --- /dev/null +++ b/cli/tests/error_local_static_import_from_remote.js @@ -0,0 +1 @@ +import "file:///some/dir/file.js"; |