@microsoft/microsoft-graph-client
Advanced tools
Comparing version 1.6.0-Preview.1 to 1.6.0-Preview.2
@@ -26,2 +26,2 @@ /** | ||
*/ | ||
export declare const PACKAGE_VERSION = "1.6.0-Preview.1"; | ||
export declare const PACKAGE_VERSION = "1.6.0-Preview.2"; |
@@ -28,3 +28,3 @@ "use strict"; | ||
*/ | ||
exports.PACKAGE_VERSION = "1.6.0-Preview.1"; | ||
exports.PACKAGE_VERSION = "1.6.0-Preview.2"; | ||
//# sourceMappingURL=Constants.js.map |
@@ -7,2 +7,3 @@ /** | ||
*/ | ||
import "./PolyFill"; | ||
export * from "./content/BatchRequestContent"; | ||
@@ -9,0 +10,0 @@ export * from "./content/BatchResponseContent"; |
@@ -10,7 +10,3 @@ "use strict"; | ||
var tslib_1 = require("tslib"); | ||
var PolyFill_1 = require("./PolyFill"); | ||
/** | ||
* Polyfilling Promise and fetch if not present | ||
*/ | ||
PolyFill_1.init(); | ||
require("./PolyFill"); | ||
tslib_1.__exportStar(require("./content/BatchRequestContent"), exports); | ||
@@ -17,0 +13,0 @@ tslib_1.__exportStar(require("./content/BatchResponseContent"), exports); |
@@ -7,8 +7,2 @@ /** | ||
*/ | ||
/** | ||
* @constant | ||
* @function | ||
* PolyFills Promise and fetch after checking for its availability in native | ||
* @returns Nothing | ||
*/ | ||
export declare const init: () => void; | ||
import "isomorphic-fetch"; |
@@ -9,12 +9,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** | ||
* @constant | ||
* @function | ||
* PolyFills Promise and fetch after checking for its availability in native | ||
* @returns Nothing | ||
*/ | ||
exports.init = function () { | ||
require("es6-promise").polyfill(); | ||
require("isomorphic-fetch"); | ||
}; | ||
var es6Promise = require("es6-promise"); | ||
require("isomorphic-fetch"); | ||
es6Promise.polyfill(); | ||
//# sourceMappingURL=PolyFill.js.map |
{ | ||
"name": "@microsoft/microsoft-graph-client", | ||
"//": "NOTE: The version here should match exactly the exported const PACKAGE_VERSION in Constants.ts. If you change it here, also change it there.", | ||
"version": "1.6.0-Preview.1", | ||
"version": "1.6.0-Preview.2", | ||
"description": "Microsoft Graph Client Library", | ||
"main": "lib/src/index.js", | ||
"module": "lib/es/index.js", | ||
"typings": "lib/src/index", | ||
@@ -20,28 +21,31 @@ "files": [ | ||
"@types/mocha": "^5.2.6", | ||
"@types/node": "^11.9.5", | ||
"@types/node": "^11.13.4", | ||
"browserify": "^16.2.3", | ||
"chai": "^4.2.0", | ||
"husky": "^1.3.1", | ||
"lint-staged": "^8.1.4", | ||
"mocha": "^6.0.2", | ||
"lint-staged": "^8.1.5", | ||
"mocha": "^6.1.3", | ||
"msal": "^0.2.4", | ||
"prettier": "^1.16.4", | ||
"tslint": "^5.13.0", | ||
"prettier": "^1.17.0", | ||
"rollup": "^1.10.0", | ||
"rollup-plugin-terser": "^4.0.4", | ||
"tslint": "^5.15.0", | ||
"tslint-config-prettier": "^1.18.0", | ||
"typescript": "^3.3.3333", | ||
"typescript": "^3.4.3", | ||
"uglify-es": "^3.3.9" | ||
}, | ||
"scripts": { | ||
"compile": "tsc", | ||
"web:js": "node browserify-with-dependencies.js > lib/graph-js-sdk-web.js && uglifyjs ./lib/graph-js-sdk-web.js --output ./lib/graph-js-sdk-web.js", | ||
"core:js": "node browserify.js > lib/graph-js-sdk-core.js && uglifyjs ./lib/graph-js-sdk-core.js --output ./lib/graph-js-sdk-core.js", | ||
"build": "npm run compile && npm run web:js && npm run core:js", | ||
"test": "npm run compile && mocha lib/spec/content && mocha lib/spec/core && mocha lib/spec/middleware && mocha lib/spec/tasks", | ||
"test:content": "tsc -p spec && mocha spec/content", | ||
"test:core": "tsc -p spec && mocha spec/core", | ||
"test:middleware": "tsc -p spec && mocha spec/middleware", | ||
"test:tasks": "tsc -p spec && mocha spec/tasks", | ||
"test:development": "tsc -p spec && mocha spec/development/workload", | ||
"test:workload": "tsc -p spec && mocha spec/development/workload", | ||
"lint": "tslint --project ./tsconfig.json -c tslint.json", | ||
"build:es": "tsc --p tsconfig-es.json", | ||
"build:cjs": "tsc --p tsconfig-cjs.json", | ||
"build": "npm run build:cjs && npm run build:es && rollup -c && npm run web:js && npm run core:js", | ||
"test": "npm run build:cjs && mocha lib/spec/content && mocha lib/spec/core && mocha lib/spec/middleware && mocha lib/spec/tasks", | ||
"test:content": "tsc --p spec/tsconfig.json && mocha spec/content", | ||
"test:core": "tsc --p spec/tsconfig.json && mocha spec/core", | ||
"test:middleware": "tsc --p spec/tsconfig.json && mocha spec/middleware", | ||
"test:tasks": "tsc --p spec/tsconfig.json && mocha spec/tasks", | ||
"test:development": "tsc --p spec/tsconfig.json && mocha spec/development/workload", | ||
"test:workload": "tsc --p spec/tsconfig.json && mocha spec/development/workload", | ||
"lint": "tslint --project ./tsconfig-cjs.json -c tslint.json", | ||
"format:css": "prettier --write \"**/*.css\"", | ||
@@ -48,0 +52,0 @@ "format:html": "prettier --write \"**/*.html\"", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
960110
283
12812
16
24