core-js-bundle
Advanced tools
Comparing version 3.1.2 to 3.1.3
{ | ||
"name": "core-js-bundle", | ||
"description": "Standard library", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"repository": { | ||
@@ -49,4 +49,4 @@ "type": "git", | ||
"scripts": { | ||
"postinstall": "node -e \"try { require('./scripts/postinstall'); } catch (e) { /* empty */ }\"" | ||
"postinstall": "node scripts/postinstall || echo \"ignore\"" | ||
} | ||
} |
@@ -5,2 +5,4 @@ # core-js-bundle | ||
> Modular standard library for JavaScript. Includes polyfills for [ECMAScript up to 2019](https://github.com/zloirock/core-js#ecmascript): [promises](https://github.com/zloirock/core-js#ecmascript-promise), [symbols](https://github.com/zloirock/core-js#ecmascript-symbol), [collections](https://github.com/zloirock/core-js#ecmascript-collections), iterators, [typed arrays](https://github.com/zloirock/core-js#ecmascript-typed-arrays), many other features, [ECMAScript proposals](https://github.com/zloirock/core-js#ecmascript-proposals), [some cross-platform WHATWG / W3C features and proposals](#web-standards) like [`URL`](https://github.com/zloirock/core-js#url-and-urlsearchparams). You can load only required features or use it without global namespace pollution. | ||
## As advertising: the author is looking for a good job -) | ||
@@ -22,4 +24,2 @@ | ||
Modular standard library for JavaScript. Includes polyfills for [ECMAScript up to 2019](https://github.com/zloirock/core-js#ecmascript): [promises](https://github.com/zloirock/core-js#ecmascript-promise), [symbols](https://github.com/zloirock/core-js#ecmascript-symbol), [collections](https://github.com/zloirock/core-js#ecmascript-collections), iterators, [typed arrays](https://github.com/zloirock/core-js#ecmascript-typed-arrays), many other features, [ECMAScript proposals](https://github.com/zloirock/core-js#ecmascript-proposals), [some cross-platform WHATWG / W3C features and proposals](#web-standards) like [`URL`](https://github.com/zloirock/core-js#url-and-urlsearchparams). You can load only required features or use it without global namespace pollution. | ||
[*Example*](http://goo.gl/a2xexl): | ||
@@ -26,0 +26,0 @@ ```js |
@@ -1,12 +0,23 @@ | ||
/* eslint-disable no-console,max-len */ | ||
/* eslint-disable max-len */ | ||
var env = process.env; | ||
var CI = !!env.CI && env.CI !== '0' && env.CI !== 'false'; | ||
var ADBLOCK = is(env.ADBLOCK); | ||
var CI = is(env.CI); | ||
var COLOR = is(env.npm_config_color); | ||
var SILENT = !!~['silent', 'error', 'warn'].indexOf(env.npm_config_loglevel); | ||
if (!CI && !SILENT) { | ||
console.log('\u001B[96mThank you for using core-js (\u001B[94m https://github.com/zloirock/core-js \u001B[96m)!\u001B[0m\n'); | ||
console.log('\u001B[96mPlease consider supporting of core-js on Open Collective or Patreon: \u001B[0m'); | ||
console.log('\u001B[96m>\u001B[94m https://opencollective.com/core-js \u001B[0m'); | ||
console.log('\u001B[96m>\u001B[94m https://www.patreon.com/zloirock \u001B[0m\n'); | ||
console.log('\u001B[96mAlso, the author of core-js (\u001B[94m https://github.com/zloirock \u001B[96m) is looking for a good job -)\u001B[0m\n'); | ||
function is(it) { | ||
return !!it && it !== '0' && it !== 'false'; | ||
} | ||
function log(it) { | ||
// eslint-disable-next-line no-console,no-control-regex | ||
console.log(COLOR ? it : it.replace(/\u001B\[\d+m/g, '')); | ||
} | ||
if (!ADBLOCK && !CI && !SILENT) { | ||
log('\u001B[96mThank you for using core-js (\u001B[94m https://github.com/zloirock/core-js \u001B[96m) for polyfilling JavaScript standard library!\u001B[0m\n'); | ||
log('\u001B[96mThe project needs your help! Please consider supporting of core-js on Open Collective or Patreon: \u001B[0m'); | ||
log('\u001B[96m>\u001B[94m https://opencollective.com/core-js \u001B[0m'); | ||
log('\u001B[96m>\u001B[94m https://www.patreon.com/zloirock \u001B[0m\n'); | ||
log('\u001B[96mAlso, the author of core-js (\u001B[94m https://github.com/zloirock \u001B[96m) is looking for a good job -)\u001B[0m\n'); | ||
} |
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
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
818531
12463