Comparing version 3.7.5 to 3.7.6
@@ -1268,4 +1268,5 @@ !function(e){"object"==typeof exports?module.exports=e():"function"==typeof define&&define.amd?define(e):"undefined"!=typeof window?window.Promise=e():"undefined"!=typeof global?global.Promise=e():"undefined"!=typeof self&&(self.Promise=e())}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
},{}]},{},[1]) | ||
//# sourceMappingURL=Promise.js.map | ||
(1) | ||
}); | ||
; |
{ | ||
"name": "when", | ||
"version": "3.7.5", | ||
"version": "3.7.6", | ||
"description": "A lightweight Promises/A+ and when() implementation, plus other async goodies.", | ||
@@ -49,14 +49,16 @@ "keywords": [ | ||
"devDependencies": { | ||
"promises-aplus-tests": "~2", | ||
"benchmark": "~1", | ||
"microtime": "~0", | ||
"browserify": "~2", | ||
"buster": "~0.7", | ||
"exorcist": "~0.4", | ||
"jshint": "~2", | ||
"rest": "1.1.x", | ||
"json5": "~0.2", | ||
"microtime": "~0", | ||
"optimist": "~0.6", | ||
"poly": "^0.6.1", | ||
"promises-aplus-tests": "~2", | ||
"rest": "1.1.x", | ||
"sauce-connect-launcher": "~0.4", | ||
"wd": "~0.2", | ||
"json5": "~0.2" | ||
"uglify-js": "~2", | ||
"wd": "~0.2" | ||
}, | ||
@@ -75,2 +77,3 @@ "main": "when", | ||
"browser": { | ||
"when": "./dist/browser/when.js", | ||
"vertx": false | ||
@@ -89,8 +92,12 @@ }, | ||
"benchmark": "node benchmark/promise && node benchmark/map", | ||
"prepublish": "npm run browserify-es6", | ||
"preversion": "npm run browserify-es6", | ||
"browserify-es6": "browserify -s Promise es6-shim/Promise.browserify-es6.js --no-detect-globals -o es6-shim/Promise.js", | ||
"browserify": "browserify -s when build/when.browserify.js --no-detect-globals -o build/when.js", | ||
"browserify-debug": "browserify -s when build/when.browserify-debug.js --no-detect-globals -o build/when.js" | ||
"prepublish": "npm run browserify && npm run uglify", | ||
"preversion": "npm run browserify && npm run uglify", | ||
"browserify": "npm run browserify-es6 && npm run browserify-when && npm run browserify-debug", | ||
"browserify-es6": "browserify -s Promise es6-shim/Promise.browserify-es6.js --no-detect-globals --debug | exorcist -b . -r https://raw.githubusercontent.com/cujojs/when/`git rev-parse HEAD` es6-shim/Promise.js.map >es6-shim/Promise.js", | ||
"browserify-when": "mkdir -p dist/browser && browserify -s when build/when.browserify.js --no-detect-globals --debug | exorcist -b . -r https://raw.githubusercontent.com/cujojs/when/`git rev-parse HEAD` dist/browser/when.js.map >dist/browser/when.js", | ||
"browserify-debug": "mkdir -p dist/browser && browserify -s when build/when.browserify-debug.js --no-detect-globals --debug | exorcist -b . -r https://raw.githubusercontent.com/cujojs/when/`git rev-parse HEAD` dist/browser/when.debug.js.map >dist/browser/when.debug.js", | ||
"uglify": "npm run uglify-es6 && npm run uglify-when", | ||
"uglify-es6": "cd es6-shim; uglifyjs Promise.js --compress --mangle --in-source-map Promise.js.map --source-map Promise.min.js.map -o Promise.min.js; cd ../..", | ||
"uglify-when": "cd dist/browser; uglifyjs when.js --compress --mangle --in-source-map when.js.map --source-map when.min.js.map -o when.min.js; cd ../.." | ||
} | ||
} |
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
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
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
1115923
58
11116
14
2
14