core-js-pure 3.23.1 → 3.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,9 +4,9 @@ var store = require('../internals/shared-store');
4
4
  (module.exports = function (key, value) {
5
5
  return store[key] || (store[key] = value !== undefined ? value : {});
6
6
  })('versions', []).push({
7
- version: '3.23.1',
7
+ version: '3.23.2',
8
8
  mode: IS_PURE ? 'pure' : 'global',
9
9
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
10
- license: 'https://github.com/zloirock/core-js/blob/v3.23.1/LICENSE',
10
+ license: 'https://github.com/zloirock/core-js/blob/v3.23.2/LICENSE',
11
11
  source: 'https://github.com/zloirock/core-js'
12
12
  });
@@ -1,11 +1,11 @@
1
1
  var ArrayBufferViewCore = require('../internals/array-buffer-view-core');
2
2
  var speciesConstructor = require('../internals/species-constructor');
3
3
 
4
- var TYPED_ARRAY_CONSTRUCTOR = ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR;
5
4
  var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor;
5
+ var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor;
6
6
 
7
7
  // a part of `TypedArraySpeciesCreate` abstract operation
8
8
  // https://tc39.es/ecma262/#typedarray-species-create
9
9
  module.exports = function (originalArray) {
10
- return aTypedArrayConstructor(speciesConstructor(originalArray, originalArray[TYPED_ARRAY_CONSTRUCTOR]));
10
+ return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray)));
11
11
  };
@@ -1,9 +1,7 @@
1
1
  var $ = require('../internals/export');
2
2
 
3
- var DEG_PER_RAD = Math.PI / 180;
4
-
5
3
  // `Math.DEG_PER_RAD` constant
6
4
  // https://rwaldron.github.io/proposal-math-extensions/
7
- $({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true, forced: Math.DEG_PER_RAD !== DEG_PER_RAD }, {
8
- DEG_PER_RAD: DEG_PER_RAD
5
+ $({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, {
6
+ DEG_PER_RAD: Math.PI / 180
9
7
  });
@@ -1,9 +1,7 @@
1
1
  var $ = require('../internals/export');
2
2
 
3
- var RAD_PER_DEG = 180 / Math.PI;
4
-
5
3
  // `Math.RAD_PER_DEG` constant
6
4
  // https://rwaldron.github.io/proposal-math-extensions/
7
- $({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true, forced: Math.RAD_PER_DEG !== RAD_PER_DEG }, {
8
- RAD_PER_DEG: RAD_PER_DEG
5
+ $({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, {
6
+ RAD_PER_DEG: 180 / Math.PI
9
7
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "core-js-pure",
3
3
  "description": "Standard library",
4
- "version": "3.23.1",
4
+ "version": "3.23.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/zloirock/core-js.git"