core-js-pure
Advanced tools
Comparing version 3.23.1 to 3.23.2
@@ -7,7 +7,7 @@ var IS_PURE = require('../internals/is-pure'); | ||
})('versions', []).push({ | ||
version: '3.23.1', | ||
version: '3.23.2', | ||
mode: IS_PURE ? 'pure' : 'global', | ||
copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)', | ||
license: 'https://github.com/zloirock/core-js/blob/v3.23.1/LICENSE', | ||
license: 'https://github.com/zloirock/core-js/blob/v3.23.2/LICENSE', | ||
source: 'https://github.com/zloirock/core-js' | ||
}); |
var ArrayBufferViewCore = require('../internals/array-buffer-view-core'); | ||
var speciesConstructor = require('../internals/species-constructor'); | ||
var TYPED_ARRAY_CONSTRUCTOR = ArrayBufferViewCore.TYPED_ARRAY_CONSTRUCTOR; | ||
var aTypedArrayConstructor = ArrayBufferViewCore.aTypedArrayConstructor; | ||
var getTypedArrayConstructor = ArrayBufferViewCore.getTypedArrayConstructor; | ||
@@ -10,3 +10,3 @@ // a part of `TypedArraySpeciesCreate` abstract operation | ||
module.exports = function (originalArray) { | ||
return aTypedArrayConstructor(speciesConstructor(originalArray, originalArray[TYPED_ARRAY_CONSTRUCTOR])); | ||
return aTypedArrayConstructor(speciesConstructor(originalArray, getTypedArrayConstructor(originalArray))); | ||
}; |
var $ = require('../internals/export'); | ||
var DEG_PER_RAD = Math.PI / 180; | ||
// `Math.DEG_PER_RAD` constant | ||
// https://rwaldron.github.io/proposal-math-extensions/ | ||
$({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true, forced: Math.DEG_PER_RAD !== DEG_PER_RAD }, { | ||
DEG_PER_RAD: DEG_PER_RAD | ||
$({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, { | ||
DEG_PER_RAD: Math.PI / 180 | ||
}); |
var $ = require('../internals/export'); | ||
var RAD_PER_DEG = 180 / Math.PI; | ||
// `Math.RAD_PER_DEG` constant | ||
// https://rwaldron.github.io/proposal-math-extensions/ | ||
$({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true, forced: Math.RAD_PER_DEG !== RAD_PER_DEG }, { | ||
RAD_PER_DEG: RAD_PER_DEG | ||
$({ target: 'Math', stat: true, nonConfigurable: true, nonWritable: true }, { | ||
RAD_PER_DEG: 180 / Math.PI | ||
}); |
{ | ||
"name": "core-js-pure", | ||
"description": "Standard library", | ||
"version": "3.23.1", | ||
"version": "3.23.2", | ||
"repository": { | ||
@@ -6,0 +6,0 @@ "type": "git", |
881884
20587