Socket
Socket
Sign inDemoInstall

apollo-env

Package Overview
Dependencies
Maintainers
1
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apollo-env - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

lib/fetch/fetch.d.ts

5

lib/index.d.ts
import "./polyfills";
import "./typescript-utility-types";
export * from "./fetch";
export * from "./url";
export * from "../lib/fetch";
//# sourceMappingURL=index.d.ts.map

4

lib/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc