summaryrefslogtreecommitdiff
path: root/op_crates
diff options
context:
space:
mode:
Diffstat (limited to 'op_crates')
-rw-r--r--op_crates/crypto/01_crypto.js1
-rw-r--r--op_crates/fetch/01_fetch_util.js1
-rw-r--r--op_crates/fetch/03_dom_iterable.js1
-rw-r--r--op_crates/fetch/11_streams.js1
-rw-r--r--op_crates/fetch/20_headers.js1
-rw-r--r--op_crates/fetch/21_file.js1
-rw-r--r--op_crates/fetch/26_fetch.js1
-rw-r--r--op_crates/web/00_dom_exception.js1
-rw-r--r--op_crates/web/01_event.js1
-rw-r--r--op_crates/web/02_abort_signal.js1
-rw-r--r--op_crates/web/03_global_interfaces.js1
-rw-r--r--op_crates/web/08_text_encoding.js1
-rw-r--r--op_crates/web/11_url.js1
-rw-r--r--op_crates/web/12_location.js1
-rw-r--r--op_crates/web/21_filereader.js1
-rw-r--r--op_crates/web/abort_controller_test.js1
-rw-r--r--op_crates/web/event_target_test.js1
-rw-r--r--op_crates/web/event_test.js1
-rw-r--r--op_crates/websocket/01_websocket.js1
19 files changed, 19 insertions, 0 deletions
diff --git a/op_crates/crypto/01_crypto.js b/op_crates/crypto/01_crypto.js
index 594fc81b0..ce13dc74c 100644
--- a/op_crates/crypto/01_crypto.js
+++ b/op_crates/crypto/01_crypto.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
((window) => {
const core = window.Deno.core;
diff --git a/op_crates/fetch/01_fetch_util.js b/op_crates/fetch/01_fetch_util.js
index b747037bd..ff76421a1 100644
--- a/op_crates/fetch/01_fetch_util.js
+++ b/op_crates/fetch/01_fetch_util.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
((window) => {
function requiredArguments(
diff --git a/op_crates/fetch/03_dom_iterable.js b/op_crates/fetch/03_dom_iterable.js
index 54e1c9227..2e9f6d3ea 100644
--- a/op_crates/fetch/03_dom_iterable.js
+++ b/op_crates/fetch/03_dom_iterable.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
((window) => {
const { requiredArguments } = window.__bootstrap.fetchUtil;
diff --git a/op_crates/fetch/11_streams.js b/op_crates/fetch/11_streams.js
index b7a9acca0..af9cc321f 100644
--- a/op_crates/fetch/11_streams.js
+++ b/op_crates/fetch/11_streams.js
@@ -4,6 +4,7 @@
/// <reference path="./11_streams_types.d.ts" />
/// <reference path="./lib.deno_fetch.d.ts" />
/// <reference lib="esnext" />
+"use strict";
((window) => {
const customInspect = Symbol.for("Deno.customInspect");
diff --git a/op_crates/fetch/20_headers.js b/op_crates/fetch/20_headers.js
index 27626018a..df11d40b6 100644
--- a/op_crates/fetch/20_headers.js
+++ b/op_crates/fetch/20_headers.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
((window) => {
const { DomIterableMixin } = window.__bootstrap.domIterable;
diff --git a/op_crates/fetch/21_file.js b/op_crates/fetch/21_file.js
index d5160ece2..4a052576c 100644
--- a/op_crates/fetch/21_file.js
+++ b/op_crates/fetch/21_file.js
@@ -8,6 +8,7 @@
/// <reference path="./internal.d.ts" />
/// <reference path="./lib.deno_fetch.d.ts" />
/// <reference lib="esnext" />
+"use strict";
((window) => {
// TODO(lucacasonato): this needs to not be hardcoded and instead depend on
diff --git a/op_crates/fetch/26_fetch.js b/op_crates/fetch/26_fetch.js
index 58e2cab85..d4b2680ec 100644
--- a/op_crates/fetch/26_fetch.js
+++ b/op_crates/fetch/26_fetch.js
@@ -8,6 +8,7 @@
/// <reference path="./internal.d.ts" />
/// <reference path="./lib.deno_fetch.d.ts" />
/// <reference lib="esnext" />
+"use strict";
((window) => {
const core = window.Deno.core;
diff --git a/op_crates/web/00_dom_exception.js b/op_crates/web/00_dom_exception.js
index 8ea979f1f..22fd842fe 100644
--- a/op_crates/web/00_dom_exception.js
+++ b/op_crates/web/00_dom_exception.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
((window) => {
const { defineProperty } = Object;
diff --git a/op_crates/web/01_event.js b/op_crates/web/01_event.js
index 578f771f6..3fd4841a8 100644
--- a/op_crates/web/01_event.js
+++ b/op_crates/web/01_event.js
@@ -4,6 +4,7 @@
// Many parts of the DOM are not implemented in Deno, but the logic for those
// parts still exists. This means you will observe a lot of strange structures
// and impossible logic branches based on what Deno currently supports.
+"use strict";
((window) => {
const eventData = new WeakMap();
diff --git a/op_crates/web/02_abort_signal.js b/op_crates/web/02_abort_signal.js
index 1bad13be3..3090513eb 100644
--- a/op_crates/web/02_abort_signal.js
+++ b/op_crates/web/02_abort_signal.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
((window) => {
const { setIsTrusted } = window.__bootstrap.event;
diff --git a/op_crates/web/03_global_interfaces.js b/op_crates/web/03_global_interfaces.js
index 21a44eb8e..74697a42e 100644
--- a/op_crates/web/03_global_interfaces.js
+++ b/op_crates/web/03_global_interfaces.js
@@ -1,3 +1,4 @@
+"use strict";
((window) => {
const { EventTarget } = window;
diff --git a/op_crates/web/08_text_encoding.js b/op_crates/web/08_text_encoding.js
index b4ae947e4..c9d708740 100644
--- a/op_crates/web/08_text_encoding.js
+++ b/op_crates/web/08_text_encoding.js
@@ -23,6 +23,7 @@
// OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
// ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
// OTHER DEALINGS IN THE SOFTWARE.
+"use strict";
((window) => {
const core = Deno.core;
diff --git a/op_crates/web/11_url.js b/op_crates/web/11_url.js
index 5723201b3..d5474727b 100644
--- a/op_crates/web/11_url.js
+++ b/op_crates/web/11_url.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
((window) => {
const core = window.Deno.core;
diff --git a/op_crates/web/12_location.js b/op_crates/web/12_location.js
index f2409e82a..add2e0e38 100644
--- a/op_crates/web/12_location.js
+++ b/op_crates/web/12_location.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
((window) => {
const { URL } = window.__bootstrap.url;
diff --git a/op_crates/web/21_filereader.js b/op_crates/web/21_filereader.js
index eee96e9d8..30fff33d8 100644
--- a/op_crates/web/21_filereader.js
+++ b/op_crates/web/21_filereader.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
((window) => {
const base64 = window.__bootstrap.base64;
diff --git a/op_crates/web/abort_controller_test.js b/op_crates/web/abort_controller_test.js
index 3f1cf18fd..26f58dccb 100644
--- a/op_crates/web/abort_controller_test.js
+++ b/op_crates/web/abort_controller_test.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
function assert(cond) {
if (!cond) {
throw Error("assert");
diff --git a/op_crates/web/event_target_test.js b/op_crates/web/event_target_test.js
index 67e323571..acb75cc19 100644
--- a/op_crates/web/event_target_test.js
+++ b/op_crates/web/event_target_test.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
function assert(cond) {
if (!cond) {
throw Error("assert");
diff --git a/op_crates/web/event_test.js b/op_crates/web/event_test.js
index 6e57e0e8d..fa92a3e07 100644
--- a/op_crates/web/event_test.js
+++ b/op_crates/web/event_test.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
function assert(cond) {
if (!cond) {
throw Error("assert");
diff --git a/op_crates/websocket/01_websocket.js b/op_crates/websocket/01_websocket.js
index ac7c96b2a..e12f08fe6 100644
--- a/op_crates/websocket/01_websocket.js
+++ b/op_crates/websocket/01_websocket.js
@@ -1,4 +1,5 @@
// Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
+"use strict";
((window) => {
const core = window.Deno.core;