Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: zloirock/core-js
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.18.0
Choose a base ref
...
head repository: zloirock/core-js
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.18.1
Choose a head ref

Commits on Sep 20, 2021

  1. Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    05ce98c View commit details
  2. fix a test name

    zloirock committed Sep 20, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    227f4e8 View commit details
  3. update dependencies

    zloirock committed Sep 20, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    7103f0f View commit details
  4. add a link

    zloirock committed Sep 20, 2021

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    266e74d View commit details
  5. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    ed21ba3 View commit details

Commits on Sep 21, 2021

  1. remove forEach from majority of DOM collection prototypes

    These appear to be added to address #329. However, only NodeList and
    DOMTokenList are documented and tested to have forEach on their
    prototypes.
    moorejs committed Sep 21, 2021
    6

    Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    c01268a View commit details
  2. update dependencies

    zloirock committed Sep 21, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    0af284e View commit details
  3. Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    74f441d View commit details
  4. update the changelog

    zloirock committed Sep 21, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    f31ccdc View commit details
  5. update the changelog

    zloirock committed Sep 21, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    6b80694 View commit details
  6. update the changelog

    zloirock committed Sep 21, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    b52edc6 View commit details

Commits on Sep 22, 2021

  1. update dependencies

    zloirock committed Sep 22, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    ea021d2 View commit details

Commits on Sep 23, 2021

  1. fix a typo

    zloirock committed Sep 23, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    e3a4f75 View commit details
  2. add cause to AggregateError constructor implementation (still wit…

    …hout adding to the feature detection)
    zloirock committed Sep 23, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    958ebe4 View commit details
  3. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    84b1520 View commit details
  4. Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    8c1b38e View commit details

Commits on Sep 24, 2021

  1. some stylistic changes

    zloirock committed Sep 24, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    ddec5d8 View commit details
  2. fix has own -> has

    zloirock committed Sep 24, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    71adeb4 View commit details

Commits on Sep 26, 2021

  1. update dependencies

    zloirock committed Sep 26, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    sebastianbergmann Sebastian Bergmann
    Copy the full SHA
    41f0354 View commit details
  2. some stylistic changes

    zloirock committed Sep 26, 2021
    Copy the full SHA
    8e488ce View commit details
  3. 3.18.1

    zloirock committed Sep 26, 2021
    Copy the full SHA
    1a347bd View commit details
26 changes: 10 additions & 16 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -27,8 +27,6 @@ const base = {
'no-console': ERROR,
// disallow constant expressions in conditions
'no-constant-condition': [ERROR, { checkLoops: false }],
// disallow control characters in regular expressions
'no-control-regex': ERROR,
// disallow use of debugger
'no-debugger': ERROR,
// disallow duplicate arguments in functions
@@ -41,8 +39,6 @@ const base = {
'no-else-return': ERROR,
// disallow empty statements
'no-empty': ERROR,
// disallow the use of empty character classes in regular expressions
'no-empty-character-class': ERROR,
// disallow unnecessary boolean casts
'no-extra-boolean-cast': ERROR,
// disallow unnecessary semicolons
@@ -51,20 +47,14 @@ const base = {
'no-ex-assign': ERROR,
// disallow overwriting functions written as function declarations
'no-func-assign': ERROR,
// disallow invalid regular expression strings in the RegExp constructor
'no-invalid-regexp': ERROR,
// disallow irregular whitespace outside of strings and comments
'no-irregular-whitespace': ERROR,
// disallow literal numbers that lose precision
// 'no-loss-of-precision': ERROR, // TODO
// disallow characters which are made with multiple code points in character class syntax
'no-misleading-character-class': ERROR,
// disallow the use of object properties of the global object (Math and JSON) as functions
'no-obj-calls': ERROR,
// disallow use of Object.prototypes builtins directly
'no-prototype-builtins': ERROR,
// disallow multiple spaces in a regular expression literal
'no-regex-spaces': ERROR,
// disallow specific global variables
'no-restricted-globals': [ERROR, ...RESTRICTED_GLOBALS],
// disallow returning values from setters
@@ -81,8 +71,6 @@ const base = {
'no-unsafe-optional-chaining': ERROR,
// disallow loops with a body that allows only one iteration
'no-unreachable-loop': ERROR,
// disallow useless backreferences in regular expressions
'no-useless-backreference': ERROR,
// disallow comparisons with the value NaN
'use-isnan': ERROR,
// disallow unreachable statements after a return, throw, continue, or break statement
@@ -175,8 +163,6 @@ const base = {
'no-useless-catch': ERROR,
// disallow useless string concatenation
'no-useless-concat': ERROR,
// disallow unnecessary string escaping
// 'no-useless-escape': ERROR, // replaced by 'regexp/no-useless-escape'
// disallow void operators
'no-void': ERROR,
// disallow use of the with statement
@@ -406,8 +392,6 @@ const base = {
'unicorn/no-static-only-class': ERROR,
// disallow unreadable array destructuring
'unicorn/no-unreadable-array-destructuring': ERROR,
// disallow unsafe regular expressions
'unicorn/no-unsafe-regex': ERROR,
// disallow unused object properties
'unicorn/no-unused-properties': ERROR,
// forbid useless fallback when spreading in object literals
@@ -489,6 +473,10 @@ const base = {
'regexp/match-any': [ERROR, { allows: ['[\\S\\s]', 'dotAll'] }],
// enforce use of escapes on negation
'regexp/negation': ERROR,
// disallow elements that contradict assertions
'regexp/no-contradiction-with-assertion': ERROR,
// disallow control characters
'regexp/no-control-character': ERROR,
// disallow duplicate characters in the RegExp character class
'regexp/no-dupe-characters-character-class': ERROR,
// disallow duplicate disjunctions
@@ -497,6 +485,8 @@ const base = {
'regexp/no-empty-alternative': ERROR,
// disallow capturing group that captures empty
'regexp/no-empty-capturing-group': ERROR,
// disallow character classes that match no characters
'regexp/no-empty-character-class': ERROR,
// disallow empty group
'regexp/no-empty-group': ERROR,
// disallow empty lookahead assertion or empty lookbehind assertion
@@ -511,6 +501,8 @@ const base = {
'regexp/no-lazy-ends': ERROR,
// disallow legacy RegExp features
'regexp/no-legacy-features': ERROR,
// disallow multi-code-point characters in character classes and quantifiers
'regexp/no-misleading-unicode-character': ERROR,
// disallow non-standard flags
'regexp/no-non-standard-flag': ERROR,
// disallow obscure character ranges
@@ -831,6 +823,8 @@ const nodePackages = {
};

const nodeDev = {
// prefer lookarounds over capturing group that do not replace
'regexp/prefer-lookaround': ERROR,
// disallow unsupported ECMAScript built-ins on the specified version
'node/no-unsupported-features/node-builtins': [ERROR, { version: DEV_NODE_VERSIONS }],
...disable(forbidModernESBuiltIns),
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,13 @@
##### Unreleased
- Nothing

##### 3.18.1 - 2021.09.27
- Fixed `String.prototype.substr` feature detection and compat data
- Removed mistakenly added `.forEach` from prototypes of some DOM collections where it shouldn't be, [#988](https://github.com/zloirock/core-js/issues/988), [#987](https://github.com/zloirock/core-js/issues/987), thanks [@moorejs](https://github.com/moorejs)
- Added `cause` to `AggregateError` constructor implementation (still without adding to the feature detection)
- Families of `.at` and `.findLast` methods marked as supported in Safari TP
- Added Electron 16.0 compat data mapping

##### 3.18.0 - 2021.09.20
- Added [`Array.fromAsync` stage 1 proposal](https://github.com/tc39/proposal-array-from-async):
- `Array.fromAsync`
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -140,14 +140,14 @@ Promise.resolve(32).then(x => console.log(x)); // => 32
### Installation:[](#index)
```
// global version
npm install --save core-js@3.18.0
npm install --save core-js@3.18.1
// version without global namespace pollution
npm install --save core-js-pure@3.18.0
npm install --save core-js-pure@3.18.1
// bundled global version
npm install --save core-js-bundle@3.18.0
npm install --save core-js-bundle@3.18.1
```

Already bundled version of `core-js` [on CDN](https://unpkg.com/core-js-bundle@3.18.0) ([minified version](https://unpkg.com/core-js-bundle@3.18.0/minified.js)).
Already bundled version of `core-js` [on CDN](https://unpkg.com/core-js-bundle@3.18.1) ([minified version](https://unpkg.com/core-js-bundle@3.18.1/minified.js)).

### `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:
2 changes: 1 addition & 1 deletion deno/corejs/README.md
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@

*Example*:
```js
import 'https://deno.land/x/corejs@v3.18.0/index.js'; // <- at the top of your entry point
import 'https://deno.land/x/corejs@v3.18.1/index.js'; // <- at the top of your entry point

Object.hasOwn({ foo: 42 }, 'foo'); // => true

Loading