summaryrefslogtreecommitdiff
path: root/op_crates/fetch
diff options
context:
space:
mode:
authorDeveloping <pawanakhil.dasari@gmail.com>2021-02-05 03:48:32 +0530
committerGitHub <noreply@github.com>2021-02-04 23:18:32 +0100
commit923214c53725651792f6d55c5401bf6b475622ea (patch)
tree56fe084e911c12673aa52ce127f17bafba9175d9 /op_crates/fetch
parentb77fcbc518428429e39f5ba94e41fcd0418ee7a0 (diff)
chore: use strict mode for internal runtime, core, and op_crates js (#9391)
Diffstat (limited to 'op_crates/fetch')
-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
6 files changed, 6 insertions, 0 deletions
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;