apollo-link
Advanced tools
Comparing version 0.0.3 to 0.1.0
@@ -1,7 +0,8 @@ | ||
import HttpLink from './httpLink'; | ||
import RetryLink from './retryLink'; | ||
import PollingLink from './pollingLink'; | ||
import { execute, ApolloLink } from './link'; | ||
import { makePromise } from './linkUtils'; | ||
import * as Observable from 'zen-observable'; | ||
export { ApolloLink, execute, Observable, HttpLink, RetryLink, PollingLink, makePromise }; | ||
import ApolloLink from 'apollo-link-core'; | ||
import HttpLink from 'apollo-link-http'; | ||
import RetryLink from 'apollo-link-retry'; | ||
import SetContextLink from 'apollo-link-set-context'; | ||
import PollingLink from 'apollo-link-polling'; | ||
export * from 'apollo-link-core'; | ||
export { HttpLink, RetryLink, SetContextLink, PollingLink }; | ||
export default ApolloLink; |
"use strict"; | ||
function __export(m) { | ||
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p]; | ||
} | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var httpLink_1 = require("./httpLink"); | ||
exports.HttpLink = httpLink_1.default; | ||
var retryLink_1 = require("./retryLink"); | ||
exports.RetryLink = retryLink_1.default; | ||
var pollingLink_1 = require("./pollingLink"); | ||
exports.PollingLink = pollingLink_1.default; | ||
var link_1 = require("./link"); | ||
exports.execute = link_1.execute; | ||
exports.ApolloLink = link_1.ApolloLink; | ||
var linkUtils_1 = require("./linkUtils"); | ||
exports.makePromise = linkUtils_1.makePromise; | ||
var Observable = require("zen-observable"); | ||
exports.Observable = Observable; | ||
var apollo_link_core_1 = require("apollo-link-core"); | ||
var apollo_link_http_1 = require("apollo-link-http"); | ||
exports.HttpLink = apollo_link_http_1.default; | ||
var apollo_link_retry_1 = require("apollo-link-retry"); | ||
exports.RetryLink = apollo_link_retry_1.default; | ||
var apollo_link_set_context_1 = require("apollo-link-set-context"); | ||
exports.SetContextLink = apollo_link_set_context_1.default; | ||
var apollo_link_polling_1 = require("apollo-link-polling"); | ||
exports.PollingLink = apollo_link_polling_1.default; | ||
__export(require("apollo-link-core")); | ||
exports.default = apollo_link_core_1.default; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "apollo-link", | ||
"version": "0.0.3", | ||
"version": "0.1.0", | ||
"description": "Flexible, lightweight transport layer for GraphQL", | ||
@@ -13,4 +13,4 @@ "author": "Evans Hauser <evanshauser@gmail.com>", | ||
"license": "MIT", | ||
"main": "./dist/src/index.js", | ||
"typings": "./dist/src/index.d.ts", | ||
"main": "./lib/index.js", | ||
"typings": "./lib/index.d.ts", | ||
"repository": { | ||
@@ -35,5 +35,6 @@ "type": "git", | ||
"build": "tsc", | ||
"postbuild": "cp -R ./dist/src/. ./lib", | ||
"watch": "tsc -w", | ||
"clean": "npm run clean:dist && npm run clean:coverage", | ||
"clean:dist": "rimraf dist/*", | ||
"clean:dist": "rimraf dist/* && rimraf lib/*", | ||
"clean:coverage": "rimraf coverage/*", | ||
@@ -43,6 +44,7 @@ "prepublishOnly": "npm run clean && npm run build" | ||
"dependencies": { | ||
"apollo-fetch": "^0.3.0", | ||
"graphql": "^0.10.3", | ||
"graphql-tag": "^2.4.2", | ||
"zen-observable": "git+https://github.com/evanshauser/zen-observable.git" | ||
"apollo-link-core": "^0.1.0", | ||
"apollo-link-http": "^0.1.0", | ||
"apollo-link-polling": "^0.1.0", | ||
"apollo-link-retry": "^0.1.0", | ||
"apollo-link-set-context": "^0.1.0" | ||
}, | ||
@@ -57,3 +59,2 @@ "devDependencies": { | ||
"fetch-mock": "^5.11.0", | ||
"graphql-tag": "^2.2.2", | ||
"istanbul": "^0.4.4", | ||
@@ -68,7 +69,3 @@ "lodash": "^4.17.4", | ||
"typescript": "^2.2.1" | ||
}, | ||
"optionalDependencies": { | ||
"@types/graphql": "^0.9.4", | ||
"@types/zen-observable": "^0.5.1" | ||
} | ||
} |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
5
16
0
14791
14
306
1
0
1
+ Addedapollo-link-core@^0.1.0
+ Addedapollo-link-http@^0.1.0
+ Addedapollo-link-polling@^0.1.0
+ Addedapollo-link-retry@^0.1.0
+ Addedapollo-link-core@0.1.1(transitive)
+ Addedapollo-link-http@0.1.1(transitive)
+ Addedapollo-link-polling@0.1.1(transitive)
+ Addedapollo-link-retry@0.1.1(transitive)
+ Addedapollo-link-set-context@0.1.1(transitive)
- Removedapollo-fetch@^0.3.0
- Removedgraphql@^0.10.3
- Removedgraphql-tag@^2.4.2
- Removedzen-observable@git+https://github.com/evanshauser/zen-observable.git