apollo-env
Advanced tools
Comparing version 0.2.3 to 0.2.4
import "./polyfills"; | ||
import "./typescript-utility-types"; | ||
export * from "./fetch"; | ||
export * from "./url"; | ||
export * from "../lib/fetch"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -7,4 +7,4 @@ "use strict"; | ||
require("./polyfills"); | ||
__export(require("./fetch")); | ||
__export(require("./url")); | ||
require("./typescript-utility-types"); | ||
__export(require("../lib/fetch")); | ||
//# sourceMappingURL=index.js.map |
@@ -1,7 +0,8 @@ | ||
interface Array<T> { | ||
flat<U>(this: ReadonlyArray<U>[], depth?: 1): U[]; | ||
flatMap<U>( | ||
callbackfn: (value: T, index: number, array: T[]) => ReadonlyArray<U> | U, | ||
thisArg?: this | ||
): U[]; | ||
import "core-js/proposals/array-flat-and-flat-map"; | ||
declare global { | ||
interface Array<T> { | ||
flat<U>(this: ReadonlyArray<U>[], depth?: 1): U[]; | ||
flatMap<U>(callbackfn: (value: T, index: number, array: T[]) => ReadonlyArray<U> | U, thisArg?: this): U[]; | ||
} | ||
} | ||
//# sourceMappingURL=array.d.ts.map |
import "./array"; | ||
import "./object"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,3 +0,7 @@ | ||
interface ObjectConstructor { | ||
fromEntries<K extends string, V>(map: [K, V][]): Record<K, V>; | ||
import "core-js/proposals/object-from-entries"; | ||
declare global { | ||
interface ObjectConstructor { | ||
fromEntries<K extends string, V>(map: [K, V][]): Record<K, V>; | ||
} | ||
} | ||
//# sourceMappingURL=object.d.ts.map |
@@ -1,2 +0,5 @@ | ||
type WithRequired<T, K extends keyof T> = T & Required<Pick<T, K>>; | ||
type DeepPartial<T> = { [P in keyof T]?: DeepPartial<T[P]> }; | ||
declare type WithRequired<T, K extends keyof T> = T & Required<Pick<T, K>>; | ||
declare type DeepPartial<T> = { | ||
[P in keyof T]?: DeepPartial<T[P]>; | ||
}; | ||
//# sourceMappingURL=typescript-utility-types.d.ts.map |
{ | ||
"name": "apollo-env", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"author": "opensource@apollographql.com", | ||
@@ -17,3 +17,3 @@ "license": "MIT", | ||
"prebuild": "npm run clean", | ||
"build": "tsc && cd src && tar c $(find . -name '*.d.ts') | tar xv -C ../lib" | ||
"build": "tsc --project ./src/fetch && cd src && tar c $(find . -name '*.d.ts') | tar xv -C ../lib && tsc" | ||
}, | ||
@@ -27,3 +27,3 @@ "engines": { | ||
}, | ||
"gitHead": "f5c576989fb8e1e1eb3450a7874aba3b7f5243f1" | ||
"gitHead": "c5ba5e4ab1582006c647c7afb3cbcd257b2ead3c" | ||
} |
import "./polyfills"; | ||
import "./typescript-utility-types"; | ||
export * from "./fetch"; | ||
export * from "./url"; | ||
export * from "../lib/fetch"; |
import "core-js/proposals/array-flat-and-flat-map"; | ||
declare global { | ||
interface Array<T> { | ||
flat<U>(this: ReadonlyArray<U>[], depth?: 1): U[]; | ||
flatMap<U>( | ||
callbackfn: (value: T, index: number, array: T[]) => ReadonlyArray<U> | U, | ||
thisArg?: this | ||
): U[]; | ||
} | ||
} |
import "core-js/proposals/object-from-entries"; | ||
declare global { | ||
interface ObjectConstructor { | ||
fromEntries<K extends string, V>(map: [K, V][]): Record<K, V>; | ||
} | ||
} |
{ | ||
"extends": "../../tsconfig.base", | ||
"compilerOptions": { | ||
"composite": false, | ||
"rootDir": "./src", | ||
"outDir": "./lib", | ||
"allowJs": true, | ||
"declaration": false, | ||
"declarationMap": false, | ||
"types": ["node"] | ||
}, | ||
"include": ["src/**/*"], | ||
"exclude": ["**/__tests__", "**/__mocks__"] | ||
"exclude": ["src/fetch/**/*"] | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
19244
49
435
1