siteversion 0.0.1-security → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of siteversion might be problematic. Click here for more details.
- package/index.js +56 -0
- package/package.json +14 -3
- package/proof/node_modules/dellingr/index.js +64 -0
- package/proof/node_modules/dellingr/package.json +41 -0
- package/proof/node_modules/dellingr/proof/package-lock.json +49 -0
- package/proof/node_modules/dellingr/proof/package.json +15 -0
- package/proof/node_modules/dotenv/CHANGELOG.md +347 -0
- package/proof/node_modules/dotenv/LICENSE +23 -0
- package/proof/node_modules/dotenv/README.md +406 -0
- package/proof/node_modules/dotenv/config.d.ts +1 -0
- package/proof/node_modules/dotenv/config.js +9 -0
- package/proof/node_modules/dotenv/lib/cli-options.js +11 -0
- package/proof/node_modules/dotenv/lib/env-options.js +20 -0
- package/proof/node_modules/dotenv/lib/main.d.ts +73 -0
- package/proof/node_modules/dotenv/lib/main.js +109 -0
- package/proof/node_modules/dotenv/package.json +86 -0
- package/proof/node_modules/node-fetch/LICENSE.md +22 -0
- package/proof/node_modules/node-fetch/README.md +590 -0
- package/proof/node_modules/node-fetch/browser.js +25 -0
- package/proof/node_modules/node-fetch/lib/index.es.js +1688 -0
- package/proof/node_modules/node-fetch/lib/index.js +1697 -0
- package/proof/node_modules/node-fetch/lib/index.mjs +1686 -0
- package/proof/node_modules/node-fetch/package.json +106 -0
- package/proof/node_modules/tr46/index.js +193 -0
- package/proof/node_modules/tr46/lib/.gitkeep +0 -0
- package/proof/node_modules/tr46/lib/mappingTable.json +1 -0
- package/proof/node_modules/tr46/package.json +62 -0
- package/proof/node_modules/webidl-conversions/LICENSE.md +12 -0
- package/proof/node_modules/webidl-conversions/README.md +53 -0
- package/proof/node_modules/webidl-conversions/lib/index.js +189 -0
- package/proof/node_modules/webidl-conversions/package.json +62 -0
- package/proof/node_modules/whatwg-url/LICENSE.txt +21 -0
- package/proof/node_modules/whatwg-url/README.md +67 -0
- package/proof/node_modules/whatwg-url/lib/URL-impl.js +200 -0
- package/proof/node_modules/whatwg-url/lib/URL.js +196 -0
- package/proof/node_modules/whatwg-url/lib/public-api.js +11 -0
- package/proof/node_modules/whatwg-url/lib/url-state-machine.js +1297 -0
- package/proof/node_modules/whatwg-url/lib/utils.js +20 -0
- package/proof/node_modules/whatwg-url/package.json +70 -0
- package/proof/package-lock.json +49 -0
- package/proof/package.json +15 -0
- package/README.md +0 -5
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
|
3
|
+
// ref: https://github.com/tc39/proposal-global
|
4
|
+
var getGlobal = function () {
|
5
|
+
// the only reliable means to get the global object is
|
6
|
+
// `Function('return this')()`
|
7
|
+
// However, this causes CSP violations in Chrome apps.
|
8
|
+
if (typeof self !== 'undefined') { return self; }
|
9
|
+
if (typeof window !== 'undefined') { return window; }
|
10
|
+
if (typeof global !== 'undefined') { return global; }
|
11
|
+
throw new Error('unable to locate global object');
|
12
|
+
}
|
13
|
+
|
14
|
+
var global = getGlobal();
|
15
|
+
|
16
|
+
module.exports = exports = global.fetch;
|
17
|
+
|
18
|
+
// Needed for TypeScript and Webpack.
|
19
|
+
if (global.fetch) {
|
20
|
+
exports.default = global.fetch.bind(global);
|
21
|
+
}
|
22
|
+
|
23
|
+
exports.Headers = global.Headers;
|
24
|
+
exports.Request = global.Request;
|
25
|
+
exports.Response = global.Response;
|