summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/internal/blob.mjs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-03-05 18:42:52 -0400
committerGitHub <noreply@github.com>2023-03-05 22:42:52 +0000
commit1ab16e2426819af2c534e8a99b98f244626de512 (patch)
treec7decbf152460c3d74f176363fcf708ed428c778 /ext/node/polyfills/internal/blob.mjs
parent5f34c9be91a42e9087536d63b7e319439ceba756 (diff)
refactor(core): InternalModuleLoader checks if all files were used (#18005)
This commit changes "InternalModuleLoader" from "deno_core" to store a list of used modules during snapshotting. If a module was not used during snapshotting "InternalModuleLoader" will panic in its "Drop" handler signaling to the embedder that they made a mistake somewhere.
Diffstat (limited to 'ext/node/polyfills/internal/blob.mjs')
-rw-r--r--ext/node/polyfills/internal/blob.mjs7
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/node/polyfills/internal/blob.mjs b/ext/node/polyfills/internal/blob.mjs
deleted file mode 100644
index 1b685fad4..000000000
--- a/ext/node/polyfills/internal/blob.mjs
+++ /dev/null
@@ -1,7 +0,0 @@
-// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
-// Node's implementation checks for a symbol they put in the blob prototype
-// Since the implementation of Blob is Deno's, the only option is to check the
-// objects constructor
-export function isBlob(object) {
- return object instanceof Blob;
-}