apollo-link-retry
Advanced tools
Comparing version 0.5.2 to 0.5.4
@@ -0,1 +1,2 @@ | ||
"use strict"; | ||
var __extends = (this && this.__extends) || (function () { | ||
@@ -11,3 +12,4 @@ var extendStatics = Object.setPrototypeOf || | ||
})(); | ||
import { ApolloLink, Observable, } from 'apollo-link-core'; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var apollo_link_core_1 = require("apollo-link-core"); | ||
var RetryLink = (function (_super) { | ||
@@ -26,3 +28,3 @@ __extends(RetryLink, _super); | ||
var _this = this; | ||
return new Observable(function (observer) { | ||
return new apollo_link_core_1.Observable(function (observer) { | ||
var subscriber = { | ||
@@ -57,4 +59,4 @@ next: function (data) { | ||
return RetryLink; | ||
}(ApolloLink)); | ||
export default RetryLink; | ||
}(apollo_link_core_1.ApolloLink)); | ||
exports.default = RetryLink; | ||
//# sourceMappingURL=retryLink.js.map |
{ | ||
"name": "apollo-link-retry", | ||
"version": "0.5.2", | ||
"version": "0.5.4", | ||
"description": "Retry Apollo Link for GraphQL Network Stack", | ||
@@ -13,6 +13,4 @@ "author": "Evans Hauser <evanshauser@gmail.com>", | ||
"license": "MIT", | ||
"main": "./dist/src/bundle.umd.js", | ||
"module": "./dist/src/retryLink.js", | ||
"jsnext:main": "./dist/src/retryLink.js", | ||
"typings": "./dist/src/retryLink.d.ts", | ||
"main": "./lib/retryLink.js", | ||
"typings": "./lib/retryLink.d.ts", | ||
"repository": { | ||
@@ -27,3 +25,3 @@ "type": "git", | ||
"scripts": { | ||
"pretest": "npm run build-test", | ||
"pretest": "npm run build", | ||
"test": "npm run test-only --", | ||
@@ -39,12 +37,9 @@ "posttest": "npm run lint", | ||
"lint": | ||
"tslint --type-check -p tsconfig.test.json src/*.ts && tslint --type-check -p tsconfig.test.json tests/*.ts", | ||
"tslint --type-check -p tsconfig.json src/*.ts && tslint --type-check -p tsconfig.json tests/*.ts", | ||
"prebuild": "npm run clean:dist", | ||
"build": "tsc -p .", | ||
"build-test": "tsc -p tsconfig.test.json", | ||
"postbuild": "npm run bundle", | ||
"postbuild-test": "npm run bundle", | ||
"bundle": "rollup -c", | ||
"postbuild": "cp -R ./dist/src/. ./lib", | ||
"watch": "tsc -w -p .", | ||
"clean": "npm run clean:dist && npm run clean:coverage", | ||
"clean:dist": "rimraf dist/*", | ||
"clean:dist": "rimraf dist/* && rimraf lib/*", | ||
"clean:coverage": "rimraf coverage/*", | ||
@@ -54,3 +49,3 @@ "prepublishOnly": "npm run clean && npm run build" | ||
"dependencies": { | ||
"apollo-link-core": "^0.5.2" | ||
"apollo-link-core": "^0.5.4" | ||
}, | ||
@@ -72,3 +67,2 @@ "devDependencies": { | ||
"rimraf": "2.6.1", | ||
"rollup": "^0.45.2", | ||
"sinon": "3.2.0", | ||
@@ -75,0 +69,0 @@ "source-map-support": "0.4.16", |
{ | ||
"extends": "../../tsconfig", | ||
"compilerOptions": { | ||
"target": "es5", | ||
"lib": ["es6", "dom"], | ||
"module": "commonjs", | ||
"moduleResolution": "node", | ||
"removeComments": true, | ||
"sourceMap": true, | ||
"declaration": true, | ||
"rootDir": ".", | ||
"outDir": "dist", | ||
"rootDir": "." | ||
"noImplicitAny": false, | ||
"noUnusedParameters": false, | ||
"noUnusedLocals": true, | ||
"skipLibCheck": true | ||
}, | ||
"include": ["src/**/*.ts"] | ||
"include": ["src/**/*.ts", "tests/**/*.ts"] | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
21908
18
16
396
0
Updatedapollo-link-core@^0.5.4