apollo-link-schema
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -6,2 +6,5 @@ # Change log | ||
### 1.0.5 | ||
- Include sourcemap in bundle | ||
### 1.0.4 | ||
- ApolloLink upgrade | ||
@@ -8,0 +11,0 @@ |
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('apollo-link'), require('graphql')) : | ||
typeof define === 'function' && define.amd ? define(['exports', 'apollo-link', 'graphql'], factory) : | ||
(factory((global.schemaLink = {}),global.apolloLink,global.graphql)); | ||
(factory((global.apolloLink = global.apolloLink || {}, global.apolloLink.schema = {}),global.apolloLink.core,global.graphql)); | ||
}(this, (function (exports,apolloLink,graphql) { 'use strict'; | ||
@@ -48,3 +48,2 @@ | ||
exports.SchemaLink = SchemaLink; | ||
exports.default = SchemaLink; | ||
@@ -51,0 +50,0 @@ Object.defineProperty(exports, '__esModule', { value: true }); |
{ | ||
"name": "apollo-link-schema", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Use a GraphQL Schema to request data", | ||
@@ -15,5 +15,5 @@ "author": "Tomas Trescak <tomi.trescak@gmail.com>", | ||
"main": "./lib/bundle.umd.js", | ||
"module": "./lib/schemaLink.js", | ||
"jsnext:main": "./lib/schemaLink.js", | ||
"typings": "./lib/schemaLink.d.ts", | ||
"module": "./lib/index.js", | ||
"jsnext:main": "./lib/index.js", | ||
"typings": "./lib/index.d.ts", | ||
"repository": { | ||
@@ -28,3 +28,4 @@ "type": "git", | ||
"scripts": { | ||
"build:browser": "browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser", | ||
"build:browser": | ||
"browserify ./lib/bundle.umd.js -o=./lib/bundle.js --i apollo-link && npm run minify:browser", | ||
"build": "tsc -p .", | ||
@@ -34,4 +35,6 @@ "bundle": "rollup -c", | ||
"filesize": "npm run build && npm run build:browser", | ||
"lint": "tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts", | ||
"minify:browser": "uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js", | ||
"lint": | ||
"tslint --type-check -p tsconfig.json -c ../../tslint.json src/*.ts", | ||
"minify:browser": | ||
"uglifyjs -c -m -o ./lib/bundle.min.js -- ./lib/bundle.js", | ||
"postbuild": "npm run bundle", | ||
@@ -69,10 +72,5 @@ "prebuild": "npm run clean", | ||
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|tsx|js)$", | ||
"moduleFileExtensions": [ | ||
"ts", | ||
"tsx", | ||
"js", | ||
"json" | ||
], | ||
"moduleFileExtensions": ["ts", "tsx", "js", "json"], | ||
"mapCoverage": true | ||
} | ||
} |
@@ -1,13 +0,3 @@ | ||
import { onwarn } from '../../rollup.config'; | ||
import build from '../../rollup.config'; | ||
export default { | ||
input: 'lib/schemaLink.js', | ||
output: { | ||
file: 'lib/bundle.umd.js', | ||
format: 'umd', | ||
sourcemap: true, | ||
name: 'schemaLink', | ||
exports: 'named', | ||
}, | ||
onwarn, | ||
}; | ||
export default build('schema'); |
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
16
0
17221
299