-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
1 addition
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -99,7 +99,6 @@ structuredClone(new Set([1, 2, 3])); // => new Set([1, 2, 3]) | |
### Index | ||
- [Usage](#usage) | ||
- [Installation](#installation) | ||
- [`postinstall` message](#postinstall-message) | ||
- [CommonJS API](#commonjs-api) | ||
- [Babel](#babel) | ||
- [`@babel/polyfill`](#babelpolyfill) | ||
|
@@ -212,16 +211,6 @@ npm install --save @core-js/[email protected] | |
|
||
Or you can use `core-js` [from CDN](https://www.jsdelivr.com/package/npm/@core-js/bundle). | ||
|
||
### `postinstall` message[⬆](#index) | ||
The `core-js` project needs your help, so the package shows a message about it after installation. If it causes problems for you, you can disable it: | ||
```sh | ||
ADBLOCK=true npm install | ||
// or | ||
DISABLE_OPENCOLLECTIVE=true npm install | ||
// or | ||
npm install --loglevel silent | ||
``` | ||
|
||
### CommonJS API[⬆](#index) | ||
You can import only-required-for-you polyfills, like in the examples at the top of `README.md`. Available CommonJS entry points for all polyfilled methods / constructors and namespaces. Just some examples: | ||
|
||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,8 +69,5 @@ | |
"email": "[email protected]", | ||
"url": "http://zloirock.ru" | ||
}, | ||
"main": "index.js", | ||
"scripts": { | ||
"postinstall": "node -e \"try{require('./postinstall')}catch(e){}\"" | ||
} | ||
"main": "index.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters