apollo-server-env
Advanced tools
Comparing version 2.0.0-rc.0 to 2.0.0-rc.1
"use strict"; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const node_fetch_1 = __importStar(require("node-fetch")); | ||
const node_fetch_1 = require("node-fetch"); | ||
Object.assign(global, { fetch: node_fetch_1.default, Request: node_fetch_1.Request, Response: node_fetch_1.Response, Headers: node_fetch_1.Headers }); | ||
//# sourceMappingURL=fetch.js.map |
@@ -20,5 +20,3 @@ declare global { | ||
class URLSearchParams implements Iterable<[string, string]> { | ||
constructor(init?: URLSearchParams | string | { | ||
[key: string]: string | string[] | undefined; | ||
} | Iterable<[string, string]> | Array<[string, string]>); | ||
constructor(init?: URLSearchParamsInit); | ||
append(name: string, value: string): void; | ||
@@ -38,4 +36,7 @@ delete(name: string): void; | ||
} | ||
type URLSearchParamsInit = URLSearchParams | string | { | ||
[key: string]: Object | Object[] | undefined; | ||
} | Iterable<[string, Object]> | Array<[string, Object]>; | ||
} | ||
export {}; | ||
//# sourceMappingURL=url.d.ts.map |
{ | ||
"name": "apollo-server-env", | ||
"version": "2.0.0-rc.0", | ||
"version": "2.0.0-rc.1", | ||
"author": "opensource@apollographql.com", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -25,10 +25,3 @@ import { URL, URLSearchParams } from 'url'; | ||
class URLSearchParams implements Iterable<[string, string]> { | ||
constructor( | ||
init?: | ||
| URLSearchParams | ||
| string | ||
| { [key: string]: string | string[] | undefined } | ||
| Iterable<[string, string]> | ||
| Array<[string, string]>, | ||
); | ||
constructor(init?: URLSearchParamsInit); | ||
append(name: string, value: string): void; | ||
@@ -48,2 +41,9 @@ delete(name: string): void; | ||
} | ||
type URLSearchParamsInit = | ||
| URLSearchParams | ||
| string | ||
| { [key: string]: Object | Object[] | undefined } | ||
| Iterable<[string, Object]> | ||
| Array<[string, Object]>; | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16338
290