Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@babel/runtime-corejs2

Package Overview
Dependencies
Maintainers
6
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/runtime-corejs2 - npm Package Compare versions

Comparing version 7.12.18 to 7.13.0

helpers/applyDecoratedDescriptor/index.js

34

helpers/esm/applyDecoratedDescriptor.js

@@ -1,33 +0,1 @@

import _Object$defineProperty from "@babel/runtime-corejs2/core-js/object/define-property";
import _Object$keys from "@babel/runtime-corejs2/core-js/object/keys";
export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {
var desc = {};
_Object$keys(descriptor).forEach(function (key) {
desc[key] = descriptor[key];
});
desc.enumerable = !!desc.enumerable;
desc.configurable = !!desc.configurable;
if ('value' in desc || desc.initializer) {
desc.writable = true;
}
desc = decorators.slice().reverse().reduce(function (desc, decorator) {
return decorator(target, property, desc) || desc;
}, desc);
if (context && desc.initializer !== void 0) {
desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
desc.initializer = undefined;
}
if (desc.initializer === void 0) {
_Object$defineProperty(target, property, desc);
desc = null;
}
return desc;
}
export { default } from "../applyDecoratedDescriptor/index.mjs"

@@ -1,9 +0,1 @@

export default function _arrayLikeToArray(arr, len) {
if (len == null || len > arr.length) len = arr.length;
for (var i = 0, arr2 = new Array(len); i < len; i++) {
arr2[i] = arr[i];
}
return arr2;
}
export { default } from "../arrayLikeToArray/index.mjs"

@@ -1,4 +0,1 @@

import _Array$isArray from "@babel/runtime-corejs2/core-js/array/is-array";
export default function _arrayWithHoles(arr) {
if (_Array$isArray(arr)) return arr;
}
export { default } from "../arrayWithHoles/index.mjs"

@@ -1,5 +0,1 @@

import _Array$isArray from "@babel/runtime-corejs2/core-js/array/is-array";
import arrayLikeToArray from "@babel/runtime-corejs2/helpers/esm/arrayLikeToArray";
export default function _arrayWithoutHoles(arr) {
if (_Array$isArray(arr)) return arrayLikeToArray(arr);
}
export { default } from "../arrayWithoutHoles/index.mjs"

@@ -1,7 +0,1 @@

export default function _assertThisInitialized(self) {
if (self === void 0) {
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
}
return self;
}
export { default } from "../assertThisInitialized/index.mjs"

@@ -1,100 +0,1 @@

import _Symbol from "@babel/runtime-corejs2/core-js/symbol";
import _Promise from "@babel/runtime-corejs2/core-js/promise";
import AwaitValue from "@babel/runtime-corejs2/helpers/esm/AwaitValue";
export default function AsyncGenerator(gen) {
var front, back;
function send(key, arg) {
return new _Promise(function (resolve, reject) {
var request = {
key: key,
arg: arg,
resolve: resolve,
reject: reject,
next: null
};
if (back) {
back = back.next = request;
} else {
front = back = request;
resume(key, arg);
}
});
}
function resume(key, arg) {
try {
var result = gen[key](arg);
var value = result.value;
var wrappedAwait = value instanceof AwaitValue;
_Promise.resolve(wrappedAwait ? value.wrapped : value).then(function (arg) {
if (wrappedAwait) {
resume(key === "return" ? "return" : "next", arg);
return;
}
settle(result.done ? "return" : "normal", arg);
}, function (err) {
resume("throw", err);
});
} catch (err) {
settle("throw", err);
}
}
function settle(type, value) {
switch (type) {
case "return":
front.resolve({
value: value,
done: true
});
break;
case "throw":
front.reject(value);
break;
default:
front.resolve({
value: value,
done: false
});
break;
}
front = front.next;
if (front) {
resume(front.key, front.arg);
} else {
back = null;
}
}
this._invoke = send;
if (typeof gen["return"] !== "function") {
this["return"] = undefined;
}
}
if (typeof _Symbol === "function" && _Symbol.asyncIterator) {
AsyncGenerator.prototype[_Symbol.asyncIterator] = function () {
return this;
};
}
AsyncGenerator.prototype.next = function (arg) {
return this._invoke("next", arg);
};
AsyncGenerator.prototype["throw"] = function (arg) {
return this._invoke("throw", arg);
};
AsyncGenerator.prototype["return"] = function (arg) {
return this._invoke("return", arg);
};
export { default } from "../AsyncGenerator/index.mjs"

@@ -1,59 +0,1 @@

import _Symbol$iterator from "@babel/runtime-corejs2/core-js/symbol/iterator";
import _Symbol from "@babel/runtime-corejs2/core-js/symbol";
import _Promise from "@babel/runtime-corejs2/core-js/promise";
export default function _asyncGeneratorDelegate(inner, awaitWrap) {
var iter = {},
waiting = false;
function pump(key, value) {
waiting = true;
value = new _Promise(function (resolve) {
resolve(inner[key](value));
});
return {
done: false,
value: awaitWrap(value)
};
}
;
if (typeof _Symbol === "function" && _Symbol$iterator) {
iter[_Symbol$iterator] = function () {
return this;
};
}
iter.next = function (value) {
if (waiting) {
waiting = false;
return value;
}
return pump("next", value);
};
if (typeof inner["throw"] === "function") {
iter["throw"] = function (value) {
if (waiting) {
waiting = false;
throw value;
}
return pump("throw", value);
};
}
if (typeof inner["return"] === "function") {
iter["return"] = function (value) {
if (waiting) {
waiting = false;
return value;
}
return pump("return", value);
};
}
return iter;
}
export { default } from "../asyncGeneratorDelegate/index.mjs"

@@ -1,19 +0,1 @@

import _Symbol$iterator from "@babel/runtime-corejs2/core-js/symbol/iterator";
import _Symbol from "@babel/runtime-corejs2/core-js/symbol";
export default function _asyncIterator(iterable) {
var method;
if (typeof _Symbol !== "undefined") {
if (_Symbol.asyncIterator) {
method = iterable[_Symbol.asyncIterator];
if (method != null) return method.call(iterable);
}
if (_Symbol$iterator) {
method = iterable[_Symbol$iterator];
if (method != null) return method.call(iterable);
}
}
throw new TypeError("Object is not async iterable");
}
export { default } from "../asyncIterator/index.mjs"

@@ -1,37 +0,1 @@

import _Promise from "@babel/runtime-corejs2/core-js/promise";
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
try {
var info = gen[key](arg);
var value = info.value;
} catch (error) {
reject(error);
return;
}
if (info.done) {
resolve(value);
} else {
_Promise.resolve(value).then(_next, _throw);
}
}
export default function _asyncToGenerator(fn) {
return function () {
var self = this,
args = arguments;
return new _Promise(function (resolve, reject) {
var gen = fn.apply(self, args);
function _next(value) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
}
function _throw(err) {
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
}
_next(undefined);
});
};
}
export { default } from "../asyncToGenerator/index.mjs"

@@ -1,4 +0,1 @@

import AwaitValue from "@babel/runtime-corejs2/helpers/esm/AwaitValue";
export default function _awaitAsyncGenerator(value) {
return new AwaitValue(value);
}
export { default } from "../awaitAsyncGenerator/index.mjs"

@@ -1,3 +0,1 @@

export default function _AwaitValue(value) {
this.wrapped = value;
}
export { default } from "../AwaitValue/index.mjs"

@@ -1,5 +0,1 @@

export default function _classCallCheck(instance, Constructor) {
if (!(instance instanceof Constructor)) {
throw new TypeError("Cannot call a class as a function");
}
}
export { default } from "../classCallCheck/index.mjs"

@@ -1,3 +0,1 @@

export default function _classNameTDZError(name) {
throw new Error("Class \"" + name + "\" cannot be referenced in computed property keys.");
}
export { default } from "../classNameTDZError/index.mjs"

@@ -1,26 +0,1 @@

export default function _classPrivateFieldDestructureSet(receiver, privateMap) {
if (!privateMap.has(receiver)) {
throw new TypeError("attempted to set private field on non-instance");
}
var descriptor = privateMap.get(receiver);
if (descriptor.set) {
if (!("__destrObj" in descriptor)) {
descriptor.__destrObj = {
set value(v) {
descriptor.set.call(receiver, v);
}
};
}
return descriptor.__destrObj;
} else {
if (!descriptor.writable) {
throw new TypeError("attempted to set read only private field");
}
return descriptor;
}
}
export { default } from "../classPrivateFieldDestructureSet/index.mjs"

@@ -1,13 +0,1 @@

export default function _classPrivateFieldGet(receiver, privateMap) {
var descriptor = privateMap.get(receiver);
if (!descriptor) {
throw new TypeError("attempted to get private field on non-instance");
}
if (descriptor.get) {
return descriptor.get.call(receiver);
}
return descriptor.value;
}
export { default } from "../classPrivateFieldGet/index.mjs"

@@ -1,7 +0,1 @@

export default function _classPrivateFieldBase(receiver, privateKey) {
if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
throw new TypeError("attempted to use private field on non-instance");
}
return receiver;
}
export { default } from "../classPrivateFieldLooseBase/index.mjs"

@@ -1,4 +0,1 @@

var id = 0;
export default function _classPrivateFieldKey(name) {
return "__private_" + id++ + "_" + name;
}
export { default } from "../classPrivateFieldLooseKey/index.mjs"

@@ -1,19 +0,1 @@

export default function _classPrivateFieldSet(receiver, privateMap, value) {
var descriptor = privateMap.get(receiver);
if (!descriptor) {
throw new TypeError("attempted to set private field on non-instance");
}
if (descriptor.set) {
descriptor.set.call(receiver, value);
} else {
if (!descriptor.writable) {
throw new TypeError("attempted to set read only private field");
}
descriptor.value = value;
}
return value;
}
export { default } from "../classPrivateFieldSet/index.mjs"

@@ -1,7 +0,1 @@

export default function _classPrivateMethodGet(receiver, privateSet, fn) {
if (!privateSet.has(receiver)) {
throw new TypeError("attempted to get private field on non-instance");
}
return fn;
}
export { default } from "../classPrivateMethodGet/index.mjs"

@@ -1,3 +0,1 @@

export default function _classPrivateMethodSet() {
throw new TypeError("attempted to reassign private method");
}
export { default } from "../classPrivateMethodSet/index.mjs"

@@ -1,11 +0,1 @@

export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
if (receiver !== classConstructor) {
throw new TypeError("Private static access of wrong provenance");
}
if (descriptor.get) {
return descriptor.get.call(receiver);
}
return descriptor.value;
}
export { default } from "../classStaticPrivateFieldSpecGet/index.mjs"

@@ -1,17 +0,1 @@

export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
if (receiver !== classConstructor) {
throw new TypeError("Private static access of wrong provenance");
}
if (descriptor.set) {
descriptor.set.call(receiver, value);
} else {
if (!descriptor.writable) {
throw new TypeError("attempted to set read only private field");
}
descriptor.value = value;
}
return value;
}
export { default } from "../classStaticPrivateFieldSpecSet/index.mjs"

@@ -1,7 +0,1 @@

export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
if (receiver !== classConstructor) {
throw new TypeError("Private static access of wrong provenance");
}
return method;
}
export { default } from "../classStaticPrivateMethodGet/index.mjs"

@@ -1,3 +0,1 @@

export default function _classStaticPrivateMethodSet() {
throw new TypeError("attempted to set read only static private field");
}
export { default } from "../classStaticPrivateMethodSet/index.mjs"

@@ -1,19 +0,1 @@

import _Reflect$construct from "@babel/runtime-corejs2/core-js/reflect/construct";
import setPrototypeOf from "@babel/runtime-corejs2/helpers/esm/setPrototypeOf";
import isNativeReflectConstruct from "@babel/runtime-corejs2/helpers/esm/isNativeReflectConstruct";
export default function _construct(Parent, args, Class) {
if (isNativeReflectConstruct()) {
_construct = _Reflect$construct;
} else {
_construct = function _construct(Parent, args, Class) {
var a = [null];
a.push.apply(a, args);
var Constructor = Function.bind.apply(Parent, a);
var instance = new Constructor();
if (Class) setPrototypeOf(instance, Class.prototype);
return instance;
};
}
return _construct.apply(null, arguments);
}
export { default } from "../construct/index.mjs"

@@ -1,18 +0,1 @@

import _Object$defineProperty from "@babel/runtime-corejs2/core-js/object/define-property";
function _defineProperties(target, props) {
for (var i = 0; i < props.length; i++) {
var descriptor = props[i];
descriptor.enumerable = descriptor.enumerable || false;
descriptor.configurable = true;
if ("value" in descriptor) descriptor.writable = true;
_Object$defineProperty(target, descriptor.key, descriptor);
}
}
export default function _createClass(Constructor, protoProps, staticProps) {
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
if (staticProps) _defineProperties(Constructor, staticProps);
return Constructor;
}
export { default } from "../createClass/index.mjs"

@@ -1,61 +0,1 @@

import _getIterator from "@babel/runtime-corejs2/core-js/get-iterator";
import _Array$isArray from "@babel/runtime-corejs2/core-js/array/is-array";
import _Symbol$iterator from "@babel/runtime-corejs2/core-js/symbol/iterator";
import _Symbol from "@babel/runtime-corejs2/core-js/symbol";
import unsupportedIterableToArray from "@babel/runtime-corejs2/helpers/esm/unsupportedIterableToArray";
export default function _createForOfIteratorHelper(o, allowArrayLike) {
var it;
if (typeof _Symbol === "undefined" || o[_Symbol$iterator] == null) {
if (_Array$isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it) o = it;
var i = 0;
var F = function F() {};
return {
s: F,
n: function n() {
if (i >= o.length) return {
done: true
};
return {
done: false,
value: o[i++]
};
},
e: function e(_e) {
throw _e;
},
f: F
};
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
var normalCompletion = true,
didErr = false,
err;
return {
s: function s() {
it = _getIterator(o);
},
n: function n() {
var step = it.next();
normalCompletion = step.done;
return step;
},
e: function e(_e2) {
didErr = true;
err = _e2;
},
f: function f() {
try {
if (!normalCompletion && it["return"] != null) it["return"]();
} finally {
if (didErr) throw err;
}
}
};
}
export { default } from "../createForOfIteratorHelper/index.mjs"

@@ -1,29 +0,1 @@

import _getIterator from "@babel/runtime-corejs2/core-js/get-iterator";
import _Array$isArray from "@babel/runtime-corejs2/core-js/array/is-array";
import _Symbol$iterator from "@babel/runtime-corejs2/core-js/symbol/iterator";
import _Symbol from "@babel/runtime-corejs2/core-js/symbol";
import unsupportedIterableToArray from "@babel/runtime-corejs2/helpers/esm/unsupportedIterableToArray";
export default function _createForOfIteratorHelperLoose(o, allowArrayLike) {
var it;
if (typeof _Symbol === "undefined" || o[_Symbol$iterator] == null) {
if (_Array$isArray(o) || (it = unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
if (it) o = it;
var i = 0;
return function () {
if (i >= o.length) return {
done: true
};
return {
done: false,
value: o[i++]
};
};
}
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
it = _getIterator(o);
return it.next.bind(it);
}
export { default } from "../createForOfIteratorHelperLoose/index.mjs"

@@ -1,20 +0,1 @@

import _Reflect$construct from "@babel/runtime-corejs2/core-js/reflect/construct";
import getPrototypeOf from "@babel/runtime-corejs2/helpers/esm/getPrototypeOf";
import isNativeReflectConstruct from "@babel/runtime-corejs2/helpers/esm/isNativeReflectConstruct";
import possibleConstructorReturn from "@babel/runtime-corejs2/helpers/esm/possibleConstructorReturn";
export default function _createSuper(Derived) {
var hasNativeReflectConstruct = isNativeReflectConstruct();
return function _createSuperInternal() {
var Super = getPrototypeOf(Derived),
result;
if (hasNativeReflectConstruct) {
var NewTarget = getPrototypeOf(this).constructor;
result = _Reflect$construct(Super, arguments, NewTarget);
} else {
result = Super.apply(this, arguments);
}
return possibleConstructorReturn(this, result);
};
}
export { default } from "../createSuper/index.mjs"

@@ -1,403 +0,1 @@

import _Object$assign from "@babel/runtime-corejs2/core-js/object/assign";
import _Symbol$toStringTag from "@babel/runtime-corejs2/core-js/symbol/to-string-tag";
import _Object$defineProperty from "@babel/runtime-corejs2/core-js/object/define-property";
import toArray from "@babel/runtime-corejs2/helpers/esm/toArray";
import toPropertyKey from "@babel/runtime-corejs2/helpers/esm/toPropertyKey";
export default function _decorate(decorators, factory, superClass, mixins) {
var api = _getDecoratorsApi();
if (mixins) {
for (var i = 0; i < mixins.length; i++) {
api = mixins[i](api);
}
}
var r = factory(function initialize(O) {
api.initializeInstanceElements(O, decorated.elements);
}, superClass);
var decorated = api.decorateClass(_coalesceClassElements(r.d.map(_createElementDescriptor)), decorators);
api.initializeClassElements(r.F, decorated.elements);
return api.runClassFinishers(r.F, decorated.finishers);
}
function _getDecoratorsApi() {
_getDecoratorsApi = function _getDecoratorsApi() {
return api;
};
var api = {
elementsDefinitionOrder: [["method"], ["field"]],
initializeInstanceElements: function initializeInstanceElements(O, elements) {
["method", "field"].forEach(function (kind) {
elements.forEach(function (element) {
if (element.kind === kind && element.placement === "own") {
this.defineClassElement(O, element);
}
}, this);
}, this);
},
initializeClassElements: function initializeClassElements(F, elements) {
var proto = F.prototype;
["method", "field"].forEach(function (kind) {
elements.forEach(function (element) {
var placement = element.placement;
if (element.kind === kind && (placement === "static" || placement === "prototype")) {
var receiver = placement === "static" ? F : proto;
this.defineClassElement(receiver, element);
}
}, this);
}, this);
},
defineClassElement: function defineClassElement(receiver, element) {
var descriptor = element.descriptor;
if (element.kind === "field") {
var initializer = element.initializer;
descriptor = {
enumerable: descriptor.enumerable,
writable: descriptor.writable,
configurable: descriptor.configurable,
value: initializer === void 0 ? void 0 : initializer.call(receiver)
};
}
_Object$defineProperty(receiver, element.key, descriptor);
},
decorateClass: function decorateClass(elements, decorators) {
var newElements = [];
var finishers = [];
var placements = {
"static": [],
prototype: [],
own: []
};
elements.forEach(function (element) {
this.addElementPlacement(element, placements);
}, this);
elements.forEach(function (element) {
if (!_hasDecorators(element)) return newElements.push(element);
var elementFinishersExtras = this.decorateElement(element, placements);
newElements.push(elementFinishersExtras.element);
newElements.push.apply(newElements, elementFinishersExtras.extras);
finishers.push.apply(finishers, elementFinishersExtras.finishers);
}, this);
if (!decorators) {
return {
elements: newElements,
finishers: finishers
};
}
var result = this.decorateConstructor(newElements, decorators);
finishers.push.apply(finishers, result.finishers);
result.finishers = finishers;
return result;
},
addElementPlacement: function addElementPlacement(element, placements, silent) {
var keys = placements[element.placement];
if (!silent && keys.indexOf(element.key) !== -1) {
throw new TypeError("Duplicated element (" + element.key + ")");
}
keys.push(element.key);
},
decorateElement: function decorateElement(element, placements) {
var extras = [];
var finishers = [];
for (var decorators = element.decorators, i = decorators.length - 1; i >= 0; i--) {
var keys = placements[element.placement];
keys.splice(keys.indexOf(element.key), 1);
var elementObject = this.fromElementDescriptor(element);
var elementFinisherExtras = this.toElementFinisherExtras((0, decorators[i])(elementObject) || elementObject);
element = elementFinisherExtras.element;
this.addElementPlacement(element, placements);
if (elementFinisherExtras.finisher) {
finishers.push(elementFinisherExtras.finisher);
}
var newExtras = elementFinisherExtras.extras;
if (newExtras) {
for (var j = 0; j < newExtras.length; j++) {
this.addElementPlacement(newExtras[j], placements);
}
extras.push.apply(extras, newExtras);
}
}
return {
element: element,
finishers: finishers,
extras: extras
};
},
decorateConstructor: function decorateConstructor(elements, decorators) {
var finishers = [];
for (var i = decorators.length - 1; i >= 0; i--) {
var obj = this.fromClassDescriptor(elements);
var elementsAndFinisher = this.toClassDescriptor((0, decorators[i])(obj) || obj);
if (elementsAndFinisher.finisher !== undefined) {
finishers.push(elementsAndFinisher.finisher);
}
if (elementsAndFinisher.elements !== undefined) {
elements = elementsAndFinisher.elements;
for (var j = 0; j < elements.length - 1; j++) {
for (var k = j + 1; k < elements.length; k++) {
if (elements[j].key === elements[k].key && elements[j].placement === elements[k].placement) {
throw new TypeError("Duplicated element (" + elements[j].key + ")");
}
}
}
}
}
return {
elements: elements,
finishers: finishers
};
},
fromElementDescriptor: function fromElementDescriptor(element) {
var obj = {
kind: element.kind,
key: element.key,
placement: element.placement,
descriptor: element.descriptor
};
var desc = {
value: "Descriptor",
configurable: true
};
_Object$defineProperty(obj, _Symbol$toStringTag, desc);
if (element.kind === "field") obj.initializer = element.initializer;
return obj;
},
toElementDescriptors: function toElementDescriptors(elementObjects) {
if (elementObjects === undefined) return;
return toArray(elementObjects).map(function (elementObject) {
var element = this.toElementDescriptor(elementObject);
this.disallowProperty(elementObject, "finisher", "An element descriptor");
this.disallowProperty(elementObject, "extras", "An element descriptor");
return element;
}, this);
},
toElementDescriptor: function toElementDescriptor(elementObject) {
var kind = String(elementObject.kind);
if (kind !== "method" && kind !== "field") {
throw new TypeError('An element descriptor\'s .kind property must be either "method" or' + ' "field", but a decorator created an element descriptor with' + ' .kind "' + kind + '"');
}
var key = toPropertyKey(elementObject.key);
var placement = String(elementObject.placement);
if (placement !== "static" && placement !== "prototype" && placement !== "own") {
throw new TypeError('An element descriptor\'s .placement property must be one of "static",' + ' "prototype" or "own", but a decorator created an element descriptor' + ' with .placement "' + placement + '"');
}
var descriptor = elementObject.descriptor;
this.disallowProperty(elementObject, "elements", "An element descriptor");
var element = {
kind: kind,
key: key,
placement: placement,
descriptor: _Object$assign({}, descriptor)
};
if (kind !== "field") {
this.disallowProperty(elementObject, "initializer", "A method descriptor");
} else {
this.disallowProperty(descriptor, "get", "The property descriptor of a field descriptor");
this.disallowProperty(descriptor, "set", "The property descriptor of a field descriptor");
this.disallowProperty(descriptor, "value", "The property descriptor of a field descriptor");
element.initializer = elementObject.initializer;
}
return element;
},
toElementFinisherExtras: function toElementFinisherExtras(elementObject) {
var element = this.toElementDescriptor(elementObject);
var finisher = _optionalCallableProperty(elementObject, "finisher");
var extras = this.toElementDescriptors(elementObject.extras);
return {
element: element,
finisher: finisher,
extras: extras
};
},
fromClassDescriptor: function fromClassDescriptor(elements) {
var obj = {
kind: "class",
elements: elements.map(this.fromElementDescriptor, this)
};
var desc = {
value: "Descriptor",
configurable: true
};
_Object$defineProperty(obj, _Symbol$toStringTag, desc);
return obj;
},
toClassDescriptor: function toClassDescriptor(obj) {
var kind = String(obj.kind);
if (kind !== "class") {
throw new TypeError('A class descriptor\'s .kind property must be "class", but a decorator' + ' created a class descriptor with .kind "' + kind + '"');
}
this.disallowProperty(obj, "key", "A class descriptor");
this.disallowProperty(obj, "placement", "A class descriptor");
this.disallowProperty(obj, "descriptor", "A class descriptor");
this.disallowProperty(obj, "initializer", "A class descriptor");
this.disallowProperty(obj, "extras", "A class descriptor");
var finisher = _optionalCallableProperty(obj, "finisher");
var elements = this.toElementDescriptors(obj.elements);
return {
elements: elements,
finisher: finisher
};
},
runClassFinishers: function runClassFinishers(constructor, finishers) {
for (var i = 0; i < finishers.length; i++) {
var newConstructor = (0, finishers[i])(constructor);
if (newConstructor !== undefined) {
if (typeof newConstructor !== "function") {
throw new TypeError("Finishers must return a constructor.");
}
constructor = newConstructor;
}
}
return constructor;
},
disallowProperty: function disallowProperty(obj, name, objectType) {
if (obj[name] !== undefined) {
throw new TypeError(objectType + " can't have a ." + name + " property.");
}
}
};
return api;
}
function _createElementDescriptor(def) {
var key = toPropertyKey(def.key);
var descriptor;
if (def.kind === "method") {
descriptor = {
value: def.value,
writable: true,
configurable: true,
enumerable: false
};
} else if (def.kind === "get") {
descriptor = {
get: def.value,
configurable: true,
enumerable: false
};
} else if (def.kind === "set") {
descriptor = {
set: def.value,
configurable: true,
enumerable: false
};
} else if (def.kind === "field") {
descriptor = {
configurable: true,
writable: true,
enumerable: true
};
}
var element = {
kind: def.kind === "field" ? "field" : "method",
key: key,
placement: def["static"] ? "static" : def.kind === "field" ? "own" : "prototype",
descriptor: descriptor
};
if (def.decorators) element.decorators = def.decorators;
if (def.kind === "field") element.initializer = def.value;
return element;
}
function _coalesceGetterSetter(element, other) {
if (element.descriptor.get !== undefined) {
other.descriptor.get = element.descriptor.get;
} else {
other.descriptor.set = element.descriptor.set;
}
}
function _coalesceClassElements(elements) {
var newElements = [];
var isSameElement = function isSameElement(other) {
return other.kind === "method" && other.key === element.key && other.placement === element.placement;
};
for (var i = 0; i < elements.length; i++) {
var element = elements[i];
var other;
if (element.kind === "method" && (other = newElements.find(isSameElement))) {
if (_isDataDescriptor(element.descriptor) || _isDataDescriptor(other.descriptor)) {
if (_hasDecorators(element) || _hasDecorators(other)) {
throw new ReferenceError("Duplicated methods (" + element.key + ") can't be decorated.");
}
other.descriptor = element.descriptor;
} else {
if (_hasDecorators(element)) {
if (_hasDecorators(other)) {
throw new ReferenceError("Decorators can't be placed on different accessors with for " + "the same property (" + element.key + ").");
}
other.decorators = element.decorators;
}
_coalesceGetterSetter(element, other);
}
} else {
newElements.push(element);
}
}
return newElements;
}
function _hasDecorators(element) {
return element.decorators && element.decorators.length;
}
function _isDataDescriptor(desc) {
return desc !== undefined && !(desc.value === undefined && desc.writable === undefined);
}
function _optionalCallableProperty(obj, name) {
var value = obj[name];
if (value !== undefined && typeof value !== "function") {
throw new TypeError("Expected '" + name + "' to be a function");
}
return value;
}
export { default } from "../decorate/index.mjs"

@@ -1,18 +0,1 @@

import _Object$defineProperty from "@babel/runtime-corejs2/core-js/object/define-property";
import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs2/core-js/object/get-own-property-descriptor";
import _Object$getOwnPropertyNames from "@babel/runtime-corejs2/core-js/object/get-own-property-names";
export default function _defaults(obj, defaults) {
var keys = _Object$getOwnPropertyNames(defaults);
for (var i = 0; i < keys.length; i++) {
var key = keys[i];
var value = _Object$getOwnPropertyDescriptor(defaults, key);
if (value && value.configurable && obj[key] === undefined) {
_Object$defineProperty(obj, key, value);
}
}
return obj;
}
export { default } from "../defaults/index.mjs"

@@ -1,26 +0,1 @@

import _Object$getOwnPropertySymbols from "@babel/runtime-corejs2/core-js/object/get-own-property-symbols";
import _Object$defineProperty from "@babel/runtime-corejs2/core-js/object/define-property";
export default function _defineEnumerableProperties(obj, descs) {
for (var key in descs) {
var desc = descs[key];
desc.configurable = desc.enumerable = true;
if ("value" in desc) desc.writable = true;
_Object$defineProperty(obj, key, desc);
}
if (_Object$getOwnPropertySymbols) {
var objectSymbols = _Object$getOwnPropertySymbols(descs);
for (var i = 0; i < objectSymbols.length; i++) {
var sym = objectSymbols[i];
var desc = descs[sym];
desc.configurable = desc.enumerable = true;
if ("value" in desc) desc.writable = true;
_Object$defineProperty(obj, sym, desc);
}
}
return obj;
}
export { default } from "../defineEnumerableProperties/index.mjs"

@@ -1,15 +0,1 @@

import _Object$defineProperty from "@babel/runtime-corejs2/core-js/object/define-property";
export default function _defineProperty(obj, key, value) {
if (key in obj) {
_Object$defineProperty(obj, key, {
value: value,
enumerable: true,
configurable: true,
writable: true
});
} else {
obj[key] = value;
}
return obj;
}
export { default } from "../defineProperty/index.mjs"

@@ -1,18 +0,1 @@

import _Object$assign from "@babel/runtime-corejs2/core-js/object/assign";
export default function _extends() {
_extends = _Object$assign || function (target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i];
for (var key in source) {
if (Object.prototype.hasOwnProperty.call(source, key)) {
target[key] = source[key];
}
}
}
return target;
};
return _extends.apply(this, arguments);
}
export { default } from "../extends/index.mjs"

@@ -1,23 +0,1 @@

import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs2/core-js/object/get-own-property-descriptor";
import _Reflect$get from "@babel/runtime-corejs2/core-js/reflect/get";
import superPropBase from "@babel/runtime-corejs2/helpers/esm/superPropBase";
export default function _get(target, property, receiver) {
if (typeof Reflect !== "undefined" && _Reflect$get) {
_get = _Reflect$get;
} else {
_get = function _get(target, property, receiver) {
var base = superPropBase(target, property);
if (!base) return;
var desc = _Object$getOwnPropertyDescriptor(base, property);
if (desc.get) {
return desc.get.call(receiver);
}
return desc.value;
};
}
return _get(target, property, receiver || target);
}
export { default } from "../get/index.mjs"

@@ -1,8 +0,1 @@

import _Object$getPrototypeOf from "@babel/runtime-corejs2/core-js/object/get-prototype-of";
import _Object$setPrototypeOf from "@babel/runtime-corejs2/core-js/object/set-prototype-of";
export default function _getPrototypeOf(o) {
_getPrototypeOf = _Object$setPrototypeOf ? _Object$getPrototypeOf : function _getPrototypeOf(o) {
return o.__proto__ || _Object$getPrototypeOf(o);
};
return _getPrototypeOf(o);
}
export { default } from "../getPrototypeOf/index.mjs"

@@ -1,16 +0,1 @@

import _Object$create from "@babel/runtime-corejs2/core-js/object/create";
import setPrototypeOf from "@babel/runtime-corejs2/helpers/esm/setPrototypeOf";
export default function _inherits(subClass, superClass) {
if (typeof superClass !== "function" && superClass !== null) {
throw new TypeError("Super expression must either be null or a function");
}
subClass.prototype = _Object$create(superClass && superClass.prototype, {
constructor: {
value: subClass,
writable: true,
configurable: true
}
});
if (superClass) setPrototypeOf(subClass, superClass);
}
export { default } from "../inherits/index.mjs"

@@ -1,7 +0,1 @@

import _Object$create from "@babel/runtime-corejs2/core-js/object/create";
import setPrototypeOf from "@babel/runtime-corejs2/helpers/esm/setPrototypeOf";
export default function _inheritsLoose(subClass, superClass) {
subClass.prototype = _Object$create(superClass.prototype);
subClass.prototype.constructor = subClass;
setPrototypeOf(subClass, superClass);
}
export { default } from "../inheritsLoose/index.mjs"

@@ -1,11 +0,1 @@

import _Object$defineProperty from "@babel/runtime-corejs2/core-js/object/define-property";
export default function _initializerDefineProperty(target, property, descriptor, context) {
if (!descriptor) return;
_Object$defineProperty(target, property, {
enumerable: descriptor.enumerable,
configurable: descriptor.configurable,
writable: descriptor.writable,
value: descriptor.initializer ? descriptor.initializer.call(context) : void 0
});
}
export { default } from "../initializerDefineProperty/index.mjs"

@@ -1,3 +0,1 @@

export default function _initializerWarningHelper(descriptor, context) {
throw new Error('Decorating class property failed. Please ensure that ' + 'proposal-class-properties is enabled and runs after the decorators transform.');
}
export { default } from "../initializerWarningHelper/index.mjs"

@@ -1,9 +0,1 @@

import _Symbol$hasInstance from "@babel/runtime-corejs2/core-js/symbol/has-instance";
import _Symbol from "@babel/runtime-corejs2/core-js/symbol";
export default function _instanceof(left, right) {
if (right != null && typeof _Symbol !== "undefined" && right[_Symbol$hasInstance]) {
return !!right[_Symbol$hasInstance](left);
} else {
return left instanceof right;
}
}
export { default } from "../instanceof/index.mjs"

@@ -1,5 +0,1 @@

export default function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {
"default": obj
};
}
export { default } from "../interopRequireDefault/index.mjs"

@@ -1,56 +0,1 @@

import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs2/core-js/object/get-own-property-descriptor";
import _Object$defineProperty from "@babel/runtime-corejs2/core-js/object/define-property";
import _typeof from "@babel/runtime-corejs2/helpers/esm/typeof";
import _WeakMap from "@babel/runtime-corejs2/core-js/weak-map";
function _getRequireWildcardCache() {
if (typeof _WeakMap !== "function") return null;
var cache = new _WeakMap();
_getRequireWildcardCache = function _getRequireWildcardCache() {
return cache;
};
return cache;
}
export default function _interopRequireWildcard(obj) {
if (obj && obj.__esModule) {
return obj;
}
if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") {
return {
"default": obj
};
}
var cache = _getRequireWildcardCache();
if (cache && cache.has(obj)) {
return cache.get(obj);
}
var newObj = {};
var hasPropertyDescriptor = _Object$defineProperty && _Object$getOwnPropertyDescriptor;
for (var key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key)) {
var desc = hasPropertyDescriptor ? _Object$getOwnPropertyDescriptor(obj, key) : null;
if (desc && (desc.get || desc.set)) {
_Object$defineProperty(newObj, key, desc);
} else {
newObj[key] = obj[key];
}
}
}
newObj["default"] = obj;
if (cache) {
cache.set(obj, newObj);
}
return newObj;
}
export { default } from "../interopRequireWildcard/index.mjs"

@@ -1,3 +0,1 @@

export default function _isNativeFunction(fn) {
return Function.toString.call(fn).indexOf("[native code]") !== -1;
}
export { default } from "../isNativeFunction/index.mjs"

@@ -1,13 +0,1 @@

import _Reflect$construct from "@babel/runtime-corejs2/core-js/reflect/construct";
export default function _isNativeReflectConstruct() {
if (typeof Reflect === "undefined" || !_Reflect$construct) return false;
if (_Reflect$construct.sham) return false;
if (typeof Proxy === "function") return true;
try {
Date.prototype.toString.call(_Reflect$construct(Date, [], function () {}));
return true;
} catch (e) {
return false;
}
}
export { default } from "../isNativeReflectConstruct/index.mjs"

@@ -1,6 +0,1 @@

import _Array$from from "@babel/runtime-corejs2/core-js/array/from";
import _isIterable from "@babel/runtime-corejs2/core-js/is-iterable";
import _Symbol from "@babel/runtime-corejs2/core-js/symbol";
export default function _iterableToArray(iter) {
if (typeof _Symbol !== "undefined" && _isIterable(Object(iter))) return _Array$from(iter);
}
export { default } from "../iterableToArray/index.mjs"

@@ -1,29 +0,1 @@

import _getIterator from "@babel/runtime-corejs2/core-js/get-iterator";
import _isIterable from "@babel/runtime-corejs2/core-js/is-iterable";
import _Symbol from "@babel/runtime-corejs2/core-js/symbol";
export default function _iterableToArrayLimit(arr, i) {
if (typeof _Symbol === "undefined" || !_isIterable(Object(arr))) return;
var _arr = [];
var _n = true;
var _d = false;
var _e = undefined;
try {
for (var _i = _getIterator(arr), _s; !(_n = (_s = _i.next()).done); _n = true) {
_arr.push(_s.value);
if (i && _arr.length === i) break;
}
} catch (err) {
_d = true;
_e = err;
} finally {
try {
if (!_n && _i["return"] != null) _i["return"]();
} finally {
if (_d) throw _e;
}
}
return _arr;
}
export { default } from "../iterableToArrayLimit/index.mjs"

@@ -1,15 +0,1 @@

import _getIterator from "@babel/runtime-corejs2/core-js/get-iterator";
import _isIterable from "@babel/runtime-corejs2/core-js/is-iterable";
import _Symbol from "@babel/runtime-corejs2/core-js/symbol";
export default function _iterableToArrayLimitLoose(arr, i) {
if (typeof _Symbol === "undefined" || !_isIterable(Object(arr))) return;
var _arr = [];
for (var _iterator = _getIterator(arr), _step; !(_step = _iterator.next()).done;) {
_arr.push(_step.value);
if (i && _arr.length === i) break;
}
return _arr;
}
export { default } from "../iterableToArrayLimitLoose/index.mjs"

@@ -1,48 +0,1 @@

import _Symbol$for from "@babel/runtime-corejs2/core-js/symbol/for";
import _Symbol from "@babel/runtime-corejs2/core-js/symbol";
var REACT_ELEMENT_TYPE;
export default function _createRawReactElement(type, props, key, children) {
if (!REACT_ELEMENT_TYPE) {
REACT_ELEMENT_TYPE = typeof _Symbol === "function" && _Symbol$for && _Symbol$for("react.element") || 0xeac7;
}
var defaultProps = type && type.defaultProps;
var childrenLength = arguments.length - 3;
if (!props && childrenLength !== 0) {
props = {
children: void 0
};
}
if (childrenLength === 1) {
props.children = children;
} else if (childrenLength > 1) {
var childArray = new Array(childrenLength);
for (var i = 0; i < childrenLength; i++) {
childArray[i] = arguments[i + 3];
}
props.children = childArray;
}
if (props && defaultProps) {
for (var propName in defaultProps) {
if (props[propName] === void 0) {
props[propName] = defaultProps[propName];
}
}
} else if (!props) {
props = defaultProps || {};
}
return {
$$typeof: REACT_ELEMENT_TYPE,
type: type,
key: key === undefined ? null : '' + key,
ref: null,
props: props,
_owner: null
};
}
export { default } from "../jsx/index.mjs"

@@ -1,10 +0,1 @@

import _Array$isArray from "@babel/runtime-corejs2/core-js/array/is-array";
import arrayLikeToArray from "@babel/runtime-corejs2/helpers/esm/arrayLikeToArray";
export default function _maybeArrayLike(next, arr, i) {
if (arr && !_Array$isArray(arr) && typeof arr.length === "number") {
var len = arr.length;
return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len);
}
return next(arr, i);
}
export { default } from "../maybeArrayLike/index.mjs"

@@ -1,5 +0,1 @@

export default function _newArrowCheck(innerThis, boundThis) {
if (innerThis !== boundThis) {
throw new TypeError("Cannot instantiate an arrow function");
}
}
export { default } from "../newArrowCheck/index.mjs"

@@ -1,3 +0,1 @@

export default function _nonIterableRest() {
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
export { default } from "../nonIterableRest/index.mjs"

@@ -1,3 +0,1 @@

export default function _nonIterableSpread() {
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
}
export { default } from "../nonIterableSpread/index.mjs"

@@ -1,3 +0,1 @@

export default function _objectDestructuringEmpty(obj) {
if (obj == null) throw new TypeError("Cannot destructure undefined");
}
export { default } from "../objectDestructuringEmpty/index.mjs"

@@ -1,23 +0,1 @@

import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs2/core-js/object/get-own-property-descriptor";
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs2/core-js/object/get-own-property-symbols";
import _Object$keys from "@babel/runtime-corejs2/core-js/object/keys";
import defineProperty from "@babel/runtime-corejs2/helpers/esm/defineProperty";
export default function _objectSpread(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? Object(arguments[i]) : {};
var ownKeys = _Object$keys(source);
if (typeof _Object$getOwnPropertySymbols === 'function') {
ownKeys = ownKeys.concat(_Object$getOwnPropertySymbols(source).filter(function (sym) {
return _Object$getOwnPropertyDescriptor(source, sym).enumerable;
}));
}
ownKeys.forEach(function (key) {
defineProperty(target, key, source[key]);
});
}
return target;
}
export { default } from "../objectSpread/index.mjs"

@@ -1,42 +0,1 @@

import _Object$defineProperty from "@babel/runtime-corejs2/core-js/object/define-property";
import _Object$defineProperties from "@babel/runtime-corejs2/core-js/object/define-properties";
import _Object$getOwnPropertyDescriptors from "@babel/runtime-corejs2/core-js/object/get-own-property-descriptors";
import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs2/core-js/object/get-own-property-descriptor";
import _Object$getOwnPropertySymbols from "@babel/runtime-corejs2/core-js/object/get-own-property-symbols";
import _Object$keys from "@babel/runtime-corejs2/core-js/object/keys";
import defineProperty from "@babel/runtime-corejs2/helpers/esm/defineProperty";
function ownKeys(object, enumerableOnly) {
var keys = _Object$keys(object);
if (_Object$getOwnPropertySymbols) {
var symbols = _Object$getOwnPropertySymbols(object);
if (enumerableOnly) symbols = symbols.filter(function (sym) {
return _Object$getOwnPropertyDescriptor(object, sym).enumerable;
});
keys.push.apply(keys, symbols);
}
return keys;
}
export default function _objectSpread2(target) {
for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
if (i % 2) {
ownKeys(Object(source), true).forEach(function (key) {
defineProperty(target, key, source[key]);
});
} else if (_Object$getOwnPropertyDescriptors) {
_Object$defineProperties(target, _Object$getOwnPropertyDescriptors(source));
} else {
ownKeys(Object(source)).forEach(function (key) {
_Object$defineProperty(target, key, _Object$getOwnPropertyDescriptor(source, key));
});
}
}
return target;
}
export { default } from "../objectSpread2/index.mjs"

@@ -1,20 +0,1 @@

import _Object$getOwnPropertySymbols from "@babel/runtime-corejs2/core-js/object/get-own-property-symbols";
import objectWithoutPropertiesLoose from "@babel/runtime-corejs2/helpers/esm/objectWithoutPropertiesLoose";
export default function _objectWithoutProperties(source, excluded) {
if (source == null) return {};
var target = objectWithoutPropertiesLoose(source, excluded);
var key, i;
if (_Object$getOwnPropertySymbols) {
var sourceSymbolKeys = _Object$getOwnPropertySymbols(source);
for (i = 0; i < sourceSymbolKeys.length; i++) {
key = sourceSymbolKeys[i];
if (excluded.indexOf(key) >= 0) continue;
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
target[key] = source[key];
}
}
return target;
}
export { default } from "../objectWithoutProperties/index.mjs"

@@ -1,17 +0,1 @@

import _Object$keys from "@babel/runtime-corejs2/core-js/object/keys";
export default function _objectWithoutPropertiesLoose(source, excluded) {
if (source == null) return {};
var target = {};
var sourceKeys = _Object$keys(source);
var key, i;
for (i = 0; i < sourceKeys.length; i++) {
key = sourceKeys[i];
if (excluded.indexOf(key) >= 0) continue;
target[key] = source[key];
}
return target;
}
export { default } from "../objectWithoutPropertiesLoose/index.mjs"

@@ -1,9 +0,1 @@

import _typeof from "@babel/runtime-corejs2/helpers/esm/typeof";
import assertThisInitialized from "@babel/runtime-corejs2/helpers/esm/assertThisInitialized";
export default function _possibleConstructorReturn(self, call) {
if (call && (_typeof(call) === "object" || typeof call === "function")) {
return call;
}
return assertThisInitialized(self);
}
export { default } from "../possibleConstructorReturn/index.mjs"

@@ -1,3 +0,1 @@

export default function _readOnlyError(name) {
throw new TypeError("\"" + name + "\" is read-only");
}
export { default } from "../readOnlyError/index.mjs"

@@ -1,55 +0,1 @@

import _Object$defineProperty from "@babel/runtime-corejs2/core-js/object/define-property";
import _Object$getOwnPropertyDescriptor from "@babel/runtime-corejs2/core-js/object/get-own-property-descriptor";
import _Reflect$set from "@babel/runtime-corejs2/core-js/reflect/set";
import superPropBase from "@babel/runtime-corejs2/helpers/esm/superPropBase";
import defineProperty from "@babel/runtime-corejs2/helpers/esm/defineProperty";
function set(target, property, value, receiver) {
if (typeof Reflect !== "undefined" && _Reflect$set) {
set = _Reflect$set;
} else {
set = function set(target, property, value, receiver) {
var base = superPropBase(target, property);
var desc;
if (base) {
desc = _Object$getOwnPropertyDescriptor(base, property);
if (desc.set) {
desc.set.call(receiver, value);
return true;
} else if (!desc.writable) {
return false;
}
}
desc = _Object$getOwnPropertyDescriptor(receiver, property);
if (desc) {
if (!desc.writable) {
return false;
}
desc.value = value;
_Object$defineProperty(receiver, property, desc);
} else {
defineProperty(receiver, property, value);
}
return true;
};
}
return set(target, property, value, receiver);
}
export default function _set(target, property, value, receiver, isStrict) {
var s = set(target, property, value, receiver || target);
if (!s && isStrict) {
throw new Error('failed to set property');
}
return value;
}
export { default } from "../set/index.mjs"

@@ -1,9 +0,1 @@

import _Object$setPrototypeOf from "@babel/runtime-corejs2/core-js/object/set-prototype-of";
export default function _setPrototypeOf(o, p) {
_setPrototypeOf = _Object$setPrototypeOf || function _setPrototypeOf(o, p) {
o.__proto__ = p;
return o;
};
return _setPrototypeOf(o, p);
}
export { default } from "../setPrototypeOf/index.mjs"

@@ -1,7 +0,1 @@

export default function _skipFirstGeneratorNext(fn) {
return function () {
var it = fn.apply(this, arguments);
it.next();
return it;
};
}
export { default } from "../skipFirstGeneratorNext/index.mjs"

@@ -1,7 +0,1 @@

import arrayWithHoles from "@babel/runtime-corejs2/helpers/esm/arrayWithHoles";
import iterableToArrayLimit from "@babel/runtime-corejs2/helpers/esm/iterableToArrayLimit";
import unsupportedIterableToArray from "@babel/runtime-corejs2/helpers/esm/unsupportedIterableToArray";
import nonIterableRest from "@babel/runtime-corejs2/helpers/esm/nonIterableRest";
export default function _slicedToArray(arr, i) {
return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
}
export { default } from "../slicedToArray/index.mjs"

@@ -1,7 +0,1 @@

import arrayWithHoles from "@babel/runtime-corejs2/helpers/esm/arrayWithHoles";
import iterableToArrayLimitLoose from "@babel/runtime-corejs2/helpers/esm/iterableToArrayLimitLoose";
import unsupportedIterableToArray from "@babel/runtime-corejs2/helpers/esm/unsupportedIterableToArray";
import nonIterableRest from "@babel/runtime-corejs2/helpers/esm/nonIterableRest";
export default function _slicedToArrayLoose(arr, i) {
return arrayWithHoles(arr) || iterableToArrayLimitLoose(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();
}
export { default } from "../slicedToArrayLoose/index.mjs"

@@ -1,9 +0,1 @@

import getPrototypeOf from "@babel/runtime-corejs2/helpers/esm/getPrototypeOf";
export default function _superPropBase(object, property) {
while (!Object.prototype.hasOwnProperty.call(object, property)) {
object = getPrototypeOf(object);
if (object === null) break;
}
return object;
}
export { default } from "../superPropBase/index.mjs"

@@ -1,13 +0,1 @@

import _Object$defineProperties from "@babel/runtime-corejs2/core-js/object/define-properties";
import _Object$freeze from "@babel/runtime-corejs2/core-js/object/freeze";
export default function _taggedTemplateLiteral(strings, raw) {
if (!raw) {
raw = strings.slice(0);
}
return _Object$freeze(_Object$defineProperties(strings, {
raw: {
value: _Object$freeze(raw)
}
}));
}
export { default } from "../taggedTemplateLiteral/index.mjs"

@@ -1,8 +0,1 @@

export default function _taggedTemplateLiteralLoose(strings, raw) {
if (!raw) {
raw = strings.slice(0);
}
strings.raw = raw;
return strings;
}
export { default } from "../taggedTemplateLiteralLoose/index.mjs"

@@ -1,3 +0,1 @@

export default function _tdzError(name) {
throw new ReferenceError(name + " is not defined - temporal dead zone");
}
export { default } from "../tdz/index.mjs"

@@ -1,5 +0,1 @@

import undef from "@babel/runtime-corejs2/helpers/esm/temporalUndefined";
import err from "@babel/runtime-corejs2/helpers/esm/tdz";
export default function _temporalRef(val, name) {
return val === undef ? err(name) : val;
}
export { default } from "../temporalRef/index.mjs"

@@ -1,1 +0,1 @@

export default function _temporalUndefined() {}
export { default } from "../temporalUndefined/index.mjs"

@@ -1,7 +0,1 @@

import arrayWithHoles from "@babel/runtime-corejs2/helpers/esm/arrayWithHoles";
import iterableToArray from "@babel/runtime-corejs2/helpers/esm/iterableToArray";
import unsupportedIterableToArray from "@babel/runtime-corejs2/helpers/esm/unsupportedIterableToArray";
import nonIterableRest from "@babel/runtime-corejs2/helpers/esm/nonIterableRest";
export default function _toArray(arr) {
return arrayWithHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableRest();
}
export { default } from "../toArray/index.mjs"

@@ -1,7 +0,1 @@

import arrayWithoutHoles from "@babel/runtime-corejs2/helpers/esm/arrayWithoutHoles";
import iterableToArray from "@babel/runtime-corejs2/helpers/esm/iterableToArray";
import unsupportedIterableToArray from "@babel/runtime-corejs2/helpers/esm/unsupportedIterableToArray";
import nonIterableSpread from "@babel/runtime-corejs2/helpers/esm/nonIterableSpread";
export default function _toConsumableArray(arr) {
return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();
}
export { default } from "../toConsumableArray/index.mjs"

@@ -1,14 +0,1 @@

import _Symbol$toPrimitive from "@babel/runtime-corejs2/core-js/symbol/to-primitive";
import _typeof from "@babel/runtime-corejs2/helpers/esm/typeof";
export default function _toPrimitive(input, hint) {
if (_typeof(input) !== "object" || input === null) return input;
var prim = input[_Symbol$toPrimitive];
if (prim !== undefined) {
var res = prim.call(input, hint || "default");
if (_typeof(res) !== "object") return res;
throw new TypeError("@@toPrimitive must return a primitive value.");
}
return (hint === "string" ? String : Number)(input);
}
export { default } from "../toPrimitive/index.mjs"

@@ -1,6 +0,1 @@

import _typeof from "@babel/runtime-corejs2/helpers/esm/typeof";
import toPrimitive from "@babel/runtime-corejs2/helpers/esm/toPrimitive";
export default function _toPropertyKey(arg) {
var key = toPrimitive(arg, "string");
return _typeof(key) === "symbol" ? key : String(key);
}
export { default } from "../toPropertyKey/index.mjs"

@@ -1,17 +0,1 @@

import _Symbol$iterator from "@babel/runtime-corejs2/core-js/symbol/iterator";
import _Symbol from "@babel/runtime-corejs2/core-js/symbol";
export default function _typeof(obj) {
"@babel/helpers - typeof";
if (typeof _Symbol === "function" && typeof _Symbol$iterator === "symbol") {
_typeof = function _typeof(obj) {
return typeof obj;
};
} else {
_typeof = function _typeof(obj) {
return obj && typeof _Symbol === "function" && obj.constructor === _Symbol && obj !== _Symbol.prototype ? "symbol" : typeof obj;
};
}
return _typeof(obj);
}
export { default } from "../typeof/index.mjs"

@@ -1,10 +0,1 @@

import _Array$from from "@babel/runtime-corejs2/core-js/array/from";
import arrayLikeToArray from "@babel/runtime-corejs2/helpers/esm/arrayLikeToArray";
export default function _unsupportedIterableToArray(o, minLen) {
if (!o) return;
if (typeof o === "string") return arrayLikeToArray(o, minLen);
var n = Object.prototype.toString.call(o).slice(8, -1);
if (n === "Object" && o.constructor) n = o.constructor.name;
if (n === "Map" || n === "Set") return _Array$from(o);
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);
}
export { default } from "../unsupportedIterableToArray/index.mjs"

@@ -1,6 +0,1 @@

import AsyncGenerator from "@babel/runtime-corejs2/helpers/esm/AsyncGenerator";
export default function _wrapAsyncGenerator(fn) {
return function () {
return new AsyncGenerator(fn.apply(this, arguments));
};
}
export { default } from "../wrapAsyncGenerator/index.mjs"

@@ -1,39 +0,1 @@

import _Object$create from "@babel/runtime-corejs2/core-js/object/create";
import _Map from "@babel/runtime-corejs2/core-js/map";
import getPrototypeOf from "@babel/runtime-corejs2/helpers/esm/getPrototypeOf";
import setPrototypeOf from "@babel/runtime-corejs2/helpers/esm/setPrototypeOf";
import isNativeFunction from "@babel/runtime-corejs2/helpers/esm/isNativeFunction";
import construct from "@babel/runtime-corejs2/helpers/esm/construct";
export default function _wrapNativeSuper(Class) {
var _cache = typeof _Map === "function" ? new _Map() : undefined;
_wrapNativeSuper = function _wrapNativeSuper(Class) {
if (Class === null || !isNativeFunction(Class)) return Class;
if (typeof Class !== "function") {
throw new TypeError("Super expression must either be null or a function");
}
if (typeof _cache !== "undefined") {
if (_cache.has(Class)) return _cache.get(Class);
_cache.set(Class, Wrapper);
}
function Wrapper() {
return construct(Class, arguments, getPrototypeOf(this).constructor);
}
Wrapper.prototype = _Object$create(Class.prototype, {
constructor: {
value: Wrapper,
enumerable: false,
writable: true,
configurable: true
}
});
return setPrototypeOf(Wrapper, Class);
};
return _wrapNativeSuper(Class);
}
export { default } from "../wrapNativeSuper/index.mjs"

@@ -1,73 +0,1 @@

import _Object$create from "@babel/runtime-corejs2/core-js/object/create";
import _Object$keys from "@babel/runtime-corejs2/core-js/object/keys";
import _typeof from "@babel/runtime-corejs2/helpers/esm/typeof";
import _Symbol$replace from "@babel/runtime-corejs2/core-js/symbol/replace";
import _WeakMap from "@babel/runtime-corejs2/core-js/weak-map";
import wrapNativeSuper from "@babel/runtime-corejs2/helpers/esm/wrapNativeSuper";
import getPrototypeOf from "@babel/runtime-corejs2/helpers/esm/getPrototypeOf";
import possibleConstructorReturn from "@babel/runtime-corejs2/helpers/esm/possibleConstructorReturn";
import inherits from "@babel/runtime-corejs2/helpers/esm/inherits";
export default function _wrapRegExp(re, groups) {
_wrapRegExp = function _wrapRegExp(re, groups) {
return new BabelRegExp(re, undefined, groups);
};
var _RegExp = wrapNativeSuper(RegExp);
var _super = RegExp.prototype;
var _groups = new _WeakMap();
function BabelRegExp(re, flags, groups) {
var _this = _RegExp.call(this, re, flags);
_groups.set(_this, groups || _groups.get(re));
return _this;
}
inherits(BabelRegExp, _RegExp);
BabelRegExp.prototype.exec = function (str) {
var result = _super.exec.call(this, str);
if (result) result.groups = buildGroups(result, this);
return result;
};
BabelRegExp.prototype[_Symbol$replace] = function (str, substitution) {
if (typeof substitution === "string") {
var groups = _groups.get(this);
return _super[_Symbol$replace].call(this, str, substitution.replace(/\$<([^>]+)>/g, function (_, name) {
return "$" + groups[name];
}));
} else if (typeof substitution === "function") {
var _this = this;
return _super[_Symbol$replace].call(this, str, function () {
var args = [];
args.push.apply(args, arguments);
if (_typeof(args[args.length - 1]) !== "object") {
args.push(buildGroups(args, _this));
}
return substitution.apply(this, args);
});
} else {
return _super[_Symbol$replace].call(this, str, substitution);
}
};
function buildGroups(result, re) {
var g = _groups.get(re);
return _Object$keys(g).reduce(function (groups, name) {
groups[name] = result[g[name]];
return groups;
}, _Object$create(null));
}
return _wrapRegExp.apply(this, arguments);
}
export { default } from "../wrapRegExp/index.mjs"

@@ -1,3 +0,1 @@

export default function _writeOnlyError(name) {
throw new TypeError("\"" + name + "\" is write-only");
}
export { default } from "../writeOnlyError/index.mjs"
{
"name": "@babel/runtime-corejs2",
"version": "7.12.18",
"version": "7.13.0",
"description": "babel's modular runtime helpers with core-js@2 polyfilling",

@@ -21,169 +21,414 @@ "license": "MIT",

"exports": {
"./helpers/": "./helpers/",
"./helpers/typeof": "./helpers/typeof.js",
"./helpers/jsx": "./helpers/jsx.js",
"./helpers/asyncIterator": "./helpers/asyncIterator.js",
"./helpers/AwaitValue": "./helpers/AwaitValue.js",
"./helpers/AsyncGenerator": "./helpers/AsyncGenerator.js",
"./helpers/wrapAsyncGenerator": "./helpers/wrapAsyncGenerator.js",
"./helpers/awaitAsyncGenerator": "./helpers/awaitAsyncGenerator.js",
"./helpers/asyncGeneratorDelegate": "./helpers/asyncGeneratorDelegate.js",
"./helpers/asyncToGenerator": "./helpers/asyncToGenerator.js",
"./helpers/classCallCheck": "./helpers/classCallCheck.js",
"./helpers/createClass": "./helpers/createClass.js",
"./helpers/defineEnumerableProperties": "./helpers/defineEnumerableProperties.js",
"./helpers/defaults": "./helpers/defaults.js",
"./helpers/defineProperty": "./helpers/defineProperty.js",
"./helpers/extends": "./helpers/extends.js",
"./helpers/objectSpread": "./helpers/objectSpread.js",
"./helpers/objectSpread2": "./helpers/objectSpread2.js",
"./helpers/inherits": "./helpers/inherits.js",
"./helpers/inheritsLoose": "./helpers/inheritsLoose.js",
"./helpers/getPrototypeOf": "./helpers/getPrototypeOf.js",
"./helpers/setPrototypeOf": "./helpers/setPrototypeOf.js",
"./helpers/isNativeReflectConstruct": "./helpers/isNativeReflectConstruct.js",
"./helpers/construct": "./helpers/construct.js",
"./helpers/isNativeFunction": "./helpers/isNativeFunction.js",
"./helpers/wrapNativeSuper": "./helpers/wrapNativeSuper.js",
"./helpers/instanceof": "./helpers/instanceof.js",
"./helpers/interopRequireDefault": "./helpers/interopRequireDefault.js",
"./helpers/interopRequireWildcard": "./helpers/interopRequireWildcard.js",
"./helpers/newArrowCheck": "./helpers/newArrowCheck.js",
"./helpers/objectDestructuringEmpty": "./helpers/objectDestructuringEmpty.js",
"./helpers/objectWithoutPropertiesLoose": "./helpers/objectWithoutPropertiesLoose.js",
"./helpers/objectWithoutProperties": "./helpers/objectWithoutProperties.js",
"./helpers/assertThisInitialized": "./helpers/assertThisInitialized.js",
"./helpers/possibleConstructorReturn": "./helpers/possibleConstructorReturn.js",
"./helpers/createSuper": "./helpers/createSuper.js",
"./helpers/superPropBase": "./helpers/superPropBase.js",
"./helpers/get": "./helpers/get.js",
"./helpers/set": "./helpers/set.js",
"./helpers/taggedTemplateLiteral": "./helpers/taggedTemplateLiteral.js",
"./helpers/taggedTemplateLiteralLoose": "./helpers/taggedTemplateLiteralLoose.js",
"./helpers/readOnlyError": "./helpers/readOnlyError.js",
"./helpers/writeOnlyError": "./helpers/writeOnlyError.js",
"./helpers/classNameTDZError": "./helpers/classNameTDZError.js",
"./helpers/temporalUndefined": "./helpers/temporalUndefined.js",
"./helpers/tdz": "./helpers/tdz.js",
"./helpers/temporalRef": "./helpers/temporalRef.js",
"./helpers/slicedToArray": "./helpers/slicedToArray.js",
"./helpers/slicedToArrayLoose": "./helpers/slicedToArrayLoose.js",
"./helpers/toArray": "./helpers/toArray.js",
"./helpers/toConsumableArray": "./helpers/toConsumableArray.js",
"./helpers/arrayWithoutHoles": "./helpers/arrayWithoutHoles.js",
"./helpers/arrayWithHoles": "./helpers/arrayWithHoles.js",
"./helpers/maybeArrayLike": "./helpers/maybeArrayLike.js",
"./helpers/iterableToArray": "./helpers/iterableToArray.js",
"./helpers/iterableToArrayLimit": "./helpers/iterableToArrayLimit.js",
"./helpers/iterableToArrayLimitLoose": "./helpers/iterableToArrayLimitLoose.js",
"./helpers/unsupportedIterableToArray": "./helpers/unsupportedIterableToArray.js",
"./helpers/arrayLikeToArray": "./helpers/arrayLikeToArray.js",
"./helpers/nonIterableSpread": "./helpers/nonIterableSpread.js",
"./helpers/nonIterableRest": "./helpers/nonIterableRest.js",
"./helpers/createForOfIteratorHelper": "./helpers/createForOfIteratorHelper.js",
"./helpers/createForOfIteratorHelperLoose": "./helpers/createForOfIteratorHelperLoose.js",
"./helpers/skipFirstGeneratorNext": "./helpers/skipFirstGeneratorNext.js",
"./helpers/toPrimitive": "./helpers/toPrimitive.js",
"./helpers/toPropertyKey": "./helpers/toPropertyKey.js",
"./helpers/initializerWarningHelper": "./helpers/initializerWarningHelper.js",
"./helpers/initializerDefineProperty": "./helpers/initializerDefineProperty.js",
"./helpers/applyDecoratedDescriptor": "./helpers/applyDecoratedDescriptor.js",
"./helpers/classPrivateFieldLooseKey": "./helpers/classPrivateFieldLooseKey.js",
"./helpers/classPrivateFieldLooseBase": "./helpers/classPrivateFieldLooseBase.js",
"./helpers/classPrivateFieldGet": "./helpers/classPrivateFieldGet.js",
"./helpers/classPrivateFieldSet": "./helpers/classPrivateFieldSet.js",
"./helpers/classPrivateFieldDestructureSet": "./helpers/classPrivateFieldDestructureSet.js",
"./helpers/classStaticPrivateFieldSpecGet": "./helpers/classStaticPrivateFieldSpecGet.js",
"./helpers/classStaticPrivateFieldSpecSet": "./helpers/classStaticPrivateFieldSpecSet.js",
"./helpers/classStaticPrivateMethodGet": "./helpers/classStaticPrivateMethodGet.js",
"./helpers/classStaticPrivateMethodSet": "./helpers/classStaticPrivateMethodSet.js",
"./helpers/decorate": "./helpers/decorate.js",
"./helpers/classPrivateMethodGet": "./helpers/classPrivateMethodGet.js",
"./helpers/classPrivateMethodSet": "./helpers/classPrivateMethodSet.js",
"./helpers/wrapRegExp": "./helpers/wrapRegExp.js",
"./helpers/esm/typeof": "./helpers/esm/typeof.js",
"./helpers/esm/jsx": "./helpers/esm/jsx.js",
"./helpers/esm/asyncIterator": "./helpers/esm/asyncIterator.js",
"./helpers/esm/AwaitValue": "./helpers/esm/AwaitValue.js",
"./helpers/esm/AsyncGenerator": "./helpers/esm/AsyncGenerator.js",
"./helpers/esm/wrapAsyncGenerator": "./helpers/esm/wrapAsyncGenerator.js",
"./helpers/esm/awaitAsyncGenerator": "./helpers/esm/awaitAsyncGenerator.js",
"./helpers/esm/asyncGeneratorDelegate": "./helpers/esm/asyncGeneratorDelegate.js",
"./helpers/esm/asyncToGenerator": "./helpers/esm/asyncToGenerator.js",
"./helpers/esm/classCallCheck": "./helpers/esm/classCallCheck.js",
"./helpers/esm/createClass": "./helpers/esm/createClass.js",
"./helpers/esm/defineEnumerableProperties": "./helpers/esm/defineEnumerableProperties.js",
"./helpers/esm/defaults": "./helpers/esm/defaults.js",
"./helpers/esm/defineProperty": "./helpers/esm/defineProperty.js",
"./helpers/esm/extends": "./helpers/esm/extends.js",
"./helpers/esm/objectSpread": "./helpers/esm/objectSpread.js",
"./helpers/esm/objectSpread2": "./helpers/esm/objectSpread2.js",
"./helpers/esm/inherits": "./helpers/esm/inherits.js",
"./helpers/esm/inheritsLoose": "./helpers/esm/inheritsLoose.js",
"./helpers/esm/getPrototypeOf": "./helpers/esm/getPrototypeOf.js",
"./helpers/esm/setPrototypeOf": "./helpers/esm/setPrototypeOf.js",
"./helpers/esm/isNativeReflectConstruct": "./helpers/esm/isNativeReflectConstruct.js",
"./helpers/esm/construct": "./helpers/esm/construct.js",
"./helpers/esm/isNativeFunction": "./helpers/esm/isNativeFunction.js",
"./helpers/esm/wrapNativeSuper": "./helpers/esm/wrapNativeSuper.js",
"./helpers/esm/instanceof": "./helpers/esm/instanceof.js",
"./helpers/esm/interopRequireDefault": "./helpers/esm/interopRequireDefault.js",
"./helpers/esm/interopRequireWildcard": "./helpers/esm/interopRequireWildcard.js",
"./helpers/esm/newArrowCheck": "./helpers/esm/newArrowCheck.js",
"./helpers/esm/objectDestructuringEmpty": "./helpers/esm/objectDestructuringEmpty.js",
"./helpers/esm/objectWithoutPropertiesLoose": "./helpers/esm/objectWithoutPropertiesLoose.js",
"./helpers/esm/objectWithoutProperties": "./helpers/esm/objectWithoutProperties.js",
"./helpers/esm/assertThisInitialized": "./helpers/esm/assertThisInitialized.js",
"./helpers/esm/possibleConstructorReturn": "./helpers/esm/possibleConstructorReturn.js",
"./helpers/esm/createSuper": "./helpers/esm/createSuper.js",
"./helpers/esm/superPropBase": "./helpers/esm/superPropBase.js",
"./helpers/esm/get": "./helpers/esm/get.js",
"./helpers/esm/set": "./helpers/esm/set.js",
"./helpers/esm/taggedTemplateLiteral": "./helpers/esm/taggedTemplateLiteral.js",
"./helpers/esm/taggedTemplateLiteralLoose": "./helpers/esm/taggedTemplateLiteralLoose.js",
"./helpers/esm/readOnlyError": "./helpers/esm/readOnlyError.js",
"./helpers/esm/writeOnlyError": "./helpers/esm/writeOnlyError.js",
"./helpers/esm/classNameTDZError": "./helpers/esm/classNameTDZError.js",
"./helpers/esm/temporalUndefined": "./helpers/esm/temporalUndefined.js",
"./helpers/esm/tdz": "./helpers/esm/tdz.js",
"./helpers/esm/temporalRef": "./helpers/esm/temporalRef.js",
"./helpers/esm/slicedToArray": "./helpers/esm/slicedToArray.js",
"./helpers/esm/slicedToArrayLoose": "./helpers/esm/slicedToArrayLoose.js",
"./helpers/esm/toArray": "./helpers/esm/toArray.js",
"./helpers/esm/toConsumableArray": "./helpers/esm/toConsumableArray.js",
"./helpers/esm/arrayWithoutHoles": "./helpers/esm/arrayWithoutHoles.js",
"./helpers/esm/arrayWithHoles": "./helpers/esm/arrayWithHoles.js",
"./helpers/esm/maybeArrayLike": "./helpers/esm/maybeArrayLike.js",
"./helpers/esm/iterableToArray": "./helpers/esm/iterableToArray.js",
"./helpers/esm/iterableToArrayLimit": "./helpers/esm/iterableToArrayLimit.js",
"./helpers/esm/iterableToArrayLimitLoose": "./helpers/esm/iterableToArrayLimitLoose.js",
"./helpers/esm/unsupportedIterableToArray": "./helpers/esm/unsupportedIterableToArray.js",
"./helpers/esm/arrayLikeToArray": "./helpers/esm/arrayLikeToArray.js",
"./helpers/esm/nonIterableSpread": "./helpers/esm/nonIterableSpread.js",
"./helpers/esm/nonIterableRest": "./helpers/esm/nonIterableRest.js",
"./helpers/esm/createForOfIteratorHelper": "./helpers/esm/createForOfIteratorHelper.js",
"./helpers/esm/createForOfIteratorHelperLoose": "./helpers/esm/createForOfIteratorHelperLoose.js",
"./helpers/esm/skipFirstGeneratorNext": "./helpers/esm/skipFirstGeneratorNext.js",
"./helpers/esm/toPrimitive": "./helpers/esm/toPrimitive.js",
"./helpers/esm/toPropertyKey": "./helpers/esm/toPropertyKey.js",
"./helpers/esm/initializerWarningHelper": "./helpers/esm/initializerWarningHelper.js",
"./helpers/esm/initializerDefineProperty": "./helpers/esm/initializerDefineProperty.js",
"./helpers/esm/applyDecoratedDescriptor": "./helpers/esm/applyDecoratedDescriptor.js",
"./helpers/esm/classPrivateFieldLooseKey": "./helpers/esm/classPrivateFieldLooseKey.js",
"./helpers/esm/classPrivateFieldLooseBase": "./helpers/esm/classPrivateFieldLooseBase.js",
"./helpers/esm/classPrivateFieldGet": "./helpers/esm/classPrivateFieldGet.js",
"./helpers/esm/classPrivateFieldSet": "./helpers/esm/classPrivateFieldSet.js",
"./helpers/esm/classPrivateFieldDestructureSet": "./helpers/esm/classPrivateFieldDestructureSet.js",
"./helpers/esm/classStaticPrivateFieldSpecGet": "./helpers/esm/classStaticPrivateFieldSpecGet.js",
"./helpers/esm/classStaticPrivateFieldSpecSet": "./helpers/esm/classStaticPrivateFieldSpecSet.js",
"./helpers/esm/classStaticPrivateMethodGet": "./helpers/esm/classStaticPrivateMethodGet.js",
"./helpers/esm/classStaticPrivateMethodSet": "./helpers/esm/classStaticPrivateMethodSet.js",
"./helpers/esm/decorate": "./helpers/esm/decorate.js",
"./helpers/esm/classPrivateMethodGet": "./helpers/esm/classPrivateMethodGet.js",
"./helpers/esm/classPrivateMethodSet": "./helpers/esm/classPrivateMethodSet.js",
"./helpers/esm/wrapRegExp": "./helpers/esm/wrapRegExp.js",
"./helpers/typeof": {
"module": "./helpers/typeof/index.mjs",
"node": "./helpers/typeof/index.js",
"default": "./helpers/typeof/index.mjs"
},
"./helpers/jsx": {
"module": "./helpers/jsx/index.mjs",
"node": "./helpers/jsx/index.js",
"default": "./helpers/jsx/index.mjs"
},
"./helpers/asyncIterator": {
"module": "./helpers/asyncIterator/index.mjs",
"node": "./helpers/asyncIterator/index.js",
"default": "./helpers/asyncIterator/index.mjs"
},
"./helpers/AwaitValue": {
"module": "./helpers/AwaitValue/index.mjs",
"node": "./helpers/AwaitValue/index.js",
"default": "./helpers/AwaitValue/index.mjs"
},
"./helpers/AsyncGenerator": {
"module": "./helpers/AsyncGenerator/index.mjs",
"node": "./helpers/AsyncGenerator/index.js",
"default": "./helpers/AsyncGenerator/index.mjs"
},
"./helpers/wrapAsyncGenerator": {
"module": "./helpers/wrapAsyncGenerator/index.mjs",
"node": "./helpers/wrapAsyncGenerator/index.js",
"default": "./helpers/wrapAsyncGenerator/index.mjs"
},
"./helpers/awaitAsyncGenerator": {
"module": "./helpers/awaitAsyncGenerator/index.mjs",
"node": "./helpers/awaitAsyncGenerator/index.js",
"default": "./helpers/awaitAsyncGenerator/index.mjs"
},
"./helpers/asyncGeneratorDelegate": {
"module": "./helpers/asyncGeneratorDelegate/index.mjs",
"node": "./helpers/asyncGeneratorDelegate/index.js",
"default": "./helpers/asyncGeneratorDelegate/index.mjs"
},
"./helpers/asyncToGenerator": {
"module": "./helpers/asyncToGenerator/index.mjs",
"node": "./helpers/asyncToGenerator/index.js",
"default": "./helpers/asyncToGenerator/index.mjs"
},
"./helpers/classCallCheck": {
"module": "./helpers/classCallCheck/index.mjs",
"node": "./helpers/classCallCheck/index.js",
"default": "./helpers/classCallCheck/index.mjs"
},
"./helpers/createClass": {
"module": "./helpers/createClass/index.mjs",
"node": "./helpers/createClass/index.js",
"default": "./helpers/createClass/index.mjs"
},
"./helpers/defineEnumerableProperties": {
"module": "./helpers/defineEnumerableProperties/index.mjs",
"node": "./helpers/defineEnumerableProperties/index.js",
"default": "./helpers/defineEnumerableProperties/index.mjs"
},
"./helpers/defaults": {
"module": "./helpers/defaults/index.mjs",
"node": "./helpers/defaults/index.js",
"default": "./helpers/defaults/index.mjs"
},
"./helpers/defineProperty": {
"module": "./helpers/defineProperty/index.mjs",
"node": "./helpers/defineProperty/index.js",
"default": "./helpers/defineProperty/index.mjs"
},
"./helpers/extends": {
"module": "./helpers/extends/index.mjs",
"node": "./helpers/extends/index.js",
"default": "./helpers/extends/index.mjs"
},
"./helpers/objectSpread": {
"module": "./helpers/objectSpread/index.mjs",
"node": "./helpers/objectSpread/index.js",
"default": "./helpers/objectSpread/index.mjs"
},
"./helpers/objectSpread2": {
"module": "./helpers/objectSpread2/index.mjs",
"node": "./helpers/objectSpread2/index.js",
"default": "./helpers/objectSpread2/index.mjs"
},
"./helpers/inherits": {
"module": "./helpers/inherits/index.mjs",
"node": "./helpers/inherits/index.js",
"default": "./helpers/inherits/index.mjs"
},
"./helpers/inheritsLoose": {
"module": "./helpers/inheritsLoose/index.mjs",
"node": "./helpers/inheritsLoose/index.js",
"default": "./helpers/inheritsLoose/index.mjs"
},
"./helpers/getPrototypeOf": {
"module": "./helpers/getPrototypeOf/index.mjs",
"node": "./helpers/getPrototypeOf/index.js",
"default": "./helpers/getPrototypeOf/index.mjs"
},
"./helpers/setPrototypeOf": {
"module": "./helpers/setPrototypeOf/index.mjs",
"node": "./helpers/setPrototypeOf/index.js",
"default": "./helpers/setPrototypeOf/index.mjs"
},
"./helpers/isNativeReflectConstruct": {
"module": "./helpers/isNativeReflectConstruct/index.mjs",
"node": "./helpers/isNativeReflectConstruct/index.js",
"default": "./helpers/isNativeReflectConstruct/index.mjs"
},
"./helpers/construct": {
"module": "./helpers/construct/index.mjs",
"node": "./helpers/construct/index.js",
"default": "./helpers/construct/index.mjs"
},
"./helpers/isNativeFunction": {
"module": "./helpers/isNativeFunction/index.mjs",
"node": "./helpers/isNativeFunction/index.js",
"default": "./helpers/isNativeFunction/index.mjs"
},
"./helpers/wrapNativeSuper": {
"module": "./helpers/wrapNativeSuper/index.mjs",
"node": "./helpers/wrapNativeSuper/index.js",
"default": "./helpers/wrapNativeSuper/index.mjs"
},
"./helpers/instanceof": {
"module": "./helpers/instanceof/index.mjs",
"node": "./helpers/instanceof/index.js",
"default": "./helpers/instanceof/index.mjs"
},
"./helpers/interopRequireDefault": {
"module": "./helpers/interopRequireDefault/index.mjs",
"node": "./helpers/interopRequireDefault/index.js",
"default": "./helpers/interopRequireDefault/index.mjs"
},
"./helpers/interopRequireWildcard": {
"module": "./helpers/interopRequireWildcard/index.mjs",
"node": "./helpers/interopRequireWildcard/index.js",
"default": "./helpers/interopRequireWildcard/index.mjs"
},
"./helpers/newArrowCheck": {
"module": "./helpers/newArrowCheck/index.mjs",
"node": "./helpers/newArrowCheck/index.js",
"default": "./helpers/newArrowCheck/index.mjs"
},
"./helpers/objectDestructuringEmpty": {
"module": "./helpers/objectDestructuringEmpty/index.mjs",
"node": "./helpers/objectDestructuringEmpty/index.js",
"default": "./helpers/objectDestructuringEmpty/index.mjs"
},
"./helpers/objectWithoutPropertiesLoose": {
"module": "./helpers/objectWithoutPropertiesLoose/index.mjs",
"node": "./helpers/objectWithoutPropertiesLoose/index.js",
"default": "./helpers/objectWithoutPropertiesLoose/index.mjs"
},
"./helpers/objectWithoutProperties": {
"module": "./helpers/objectWithoutProperties/index.mjs",
"node": "./helpers/objectWithoutProperties/index.js",
"default": "./helpers/objectWithoutProperties/index.mjs"
},
"./helpers/assertThisInitialized": {
"module": "./helpers/assertThisInitialized/index.mjs",
"node": "./helpers/assertThisInitialized/index.js",
"default": "./helpers/assertThisInitialized/index.mjs"
},
"./helpers/possibleConstructorReturn": {
"module": "./helpers/possibleConstructorReturn/index.mjs",
"node": "./helpers/possibleConstructorReturn/index.js",
"default": "./helpers/possibleConstructorReturn/index.mjs"
},
"./helpers/createSuper": {
"module": "./helpers/createSuper/index.mjs",
"node": "./helpers/createSuper/index.js",
"default": "./helpers/createSuper/index.mjs"
},
"./helpers/superPropBase": {
"module": "./helpers/superPropBase/index.mjs",
"node": "./helpers/superPropBase/index.js",
"default": "./helpers/superPropBase/index.mjs"
},
"./helpers/get": {
"module": "./helpers/get/index.mjs",
"node": "./helpers/get/index.js",
"default": "./helpers/get/index.mjs"
},
"./helpers/set": {
"module": "./helpers/set/index.mjs",
"node": "./helpers/set/index.js",
"default": "./helpers/set/index.mjs"
},
"./helpers/taggedTemplateLiteral": {
"module": "./helpers/taggedTemplateLiteral/index.mjs",
"node": "./helpers/taggedTemplateLiteral/index.js",
"default": "./helpers/taggedTemplateLiteral/index.mjs"
},
"./helpers/taggedTemplateLiteralLoose": {
"module": "./helpers/taggedTemplateLiteralLoose/index.mjs",
"node": "./helpers/taggedTemplateLiteralLoose/index.js",
"default": "./helpers/taggedTemplateLiteralLoose/index.mjs"
},
"./helpers/readOnlyError": {
"module": "./helpers/readOnlyError/index.mjs",
"node": "./helpers/readOnlyError/index.js",
"default": "./helpers/readOnlyError/index.mjs"
},
"./helpers/writeOnlyError": {
"module": "./helpers/writeOnlyError/index.mjs",
"node": "./helpers/writeOnlyError/index.js",
"default": "./helpers/writeOnlyError/index.mjs"
},
"./helpers/classNameTDZError": {
"module": "./helpers/classNameTDZError/index.mjs",
"node": "./helpers/classNameTDZError/index.js",
"default": "./helpers/classNameTDZError/index.mjs"
},
"./helpers/temporalUndefined": {
"module": "./helpers/temporalUndefined/index.mjs",
"node": "./helpers/temporalUndefined/index.js",
"default": "./helpers/temporalUndefined/index.mjs"
},
"./helpers/tdz": {
"module": "./helpers/tdz/index.mjs",
"node": "./helpers/tdz/index.js",
"default": "./helpers/tdz/index.mjs"
},
"./helpers/temporalRef": {
"module": "./helpers/temporalRef/index.mjs",
"node": "./helpers/temporalRef/index.js",
"default": "./helpers/temporalRef/index.mjs"
},
"./helpers/slicedToArray": {
"module": "./helpers/slicedToArray/index.mjs",
"node": "./helpers/slicedToArray/index.js",
"default": "./helpers/slicedToArray/index.mjs"
},
"./helpers/slicedToArrayLoose": {
"module": "./helpers/slicedToArrayLoose/index.mjs",
"node": "./helpers/slicedToArrayLoose/index.js",
"default": "./helpers/slicedToArrayLoose/index.mjs"
},
"./helpers/toArray": {
"module": "./helpers/toArray/index.mjs",
"node": "./helpers/toArray/index.js",
"default": "./helpers/toArray/index.mjs"
},
"./helpers/toConsumableArray": {
"module": "./helpers/toConsumableArray/index.mjs",
"node": "./helpers/toConsumableArray/index.js",
"default": "./helpers/toConsumableArray/index.mjs"
},
"./helpers/arrayWithoutHoles": {
"module": "./helpers/arrayWithoutHoles/index.mjs",
"node": "./helpers/arrayWithoutHoles/index.js",
"default": "./helpers/arrayWithoutHoles/index.mjs"
},
"./helpers/arrayWithHoles": {
"module": "./helpers/arrayWithHoles/index.mjs",
"node": "./helpers/arrayWithHoles/index.js",
"default": "./helpers/arrayWithHoles/index.mjs"
},
"./helpers/maybeArrayLike": {
"module": "./helpers/maybeArrayLike/index.mjs",
"node": "./helpers/maybeArrayLike/index.js",
"default": "./helpers/maybeArrayLike/index.mjs"
},
"./helpers/iterableToArray": {
"module": "./helpers/iterableToArray/index.mjs",
"node": "./helpers/iterableToArray/index.js",
"default": "./helpers/iterableToArray/index.mjs"
},
"./helpers/iterableToArrayLimit": {
"module": "./helpers/iterableToArrayLimit/index.mjs",
"node": "./helpers/iterableToArrayLimit/index.js",
"default": "./helpers/iterableToArrayLimit/index.mjs"
},
"./helpers/iterableToArrayLimitLoose": {
"module": "./helpers/iterableToArrayLimitLoose/index.mjs",
"node": "./helpers/iterableToArrayLimitLoose/index.js",
"default": "./helpers/iterableToArrayLimitLoose/index.mjs"
},
"./helpers/unsupportedIterableToArray": {
"module": "./helpers/unsupportedIterableToArray/index.mjs",
"node": "./helpers/unsupportedIterableToArray/index.js",
"default": "./helpers/unsupportedIterableToArray/index.mjs"
},
"./helpers/arrayLikeToArray": {
"module": "./helpers/arrayLikeToArray/index.mjs",
"node": "./helpers/arrayLikeToArray/index.js",
"default": "./helpers/arrayLikeToArray/index.mjs"
},
"./helpers/nonIterableSpread": {
"module": "./helpers/nonIterableSpread/index.mjs",
"node": "./helpers/nonIterableSpread/index.js",
"default": "./helpers/nonIterableSpread/index.mjs"
},
"./helpers/nonIterableRest": {
"module": "./helpers/nonIterableRest/index.mjs",
"node": "./helpers/nonIterableRest/index.js",
"default": "./helpers/nonIterableRest/index.mjs"
},
"./helpers/createForOfIteratorHelper": {
"module": "./helpers/createForOfIteratorHelper/index.mjs",
"node": "./helpers/createForOfIteratorHelper/index.js",
"default": "./helpers/createForOfIteratorHelper/index.mjs"
},
"./helpers/createForOfIteratorHelperLoose": {
"module": "./helpers/createForOfIteratorHelperLoose/index.mjs",
"node": "./helpers/createForOfIteratorHelperLoose/index.js",
"default": "./helpers/createForOfIteratorHelperLoose/index.mjs"
},
"./helpers/skipFirstGeneratorNext": {
"module": "./helpers/skipFirstGeneratorNext/index.mjs",
"node": "./helpers/skipFirstGeneratorNext/index.js",
"default": "./helpers/skipFirstGeneratorNext/index.mjs"
},
"./helpers/toPrimitive": {
"module": "./helpers/toPrimitive/index.mjs",
"node": "./helpers/toPrimitive/index.js",
"default": "./helpers/toPrimitive/index.mjs"
},
"./helpers/toPropertyKey": {
"module": "./helpers/toPropertyKey/index.mjs",
"node": "./helpers/toPropertyKey/index.js",
"default": "./helpers/toPropertyKey/index.mjs"
},
"./helpers/initializerWarningHelper": {
"module": "./helpers/initializerWarningHelper/index.mjs",
"node": "./helpers/initializerWarningHelper/index.js",
"default": "./helpers/initializerWarningHelper/index.mjs"
},
"./helpers/initializerDefineProperty": {
"module": "./helpers/initializerDefineProperty/index.mjs",
"node": "./helpers/initializerDefineProperty/index.js",
"default": "./helpers/initializerDefineProperty/index.mjs"
},
"./helpers/applyDecoratedDescriptor": {
"module": "./helpers/applyDecoratedDescriptor/index.mjs",
"node": "./helpers/applyDecoratedDescriptor/index.js",
"default": "./helpers/applyDecoratedDescriptor/index.mjs"
},
"./helpers/classPrivateFieldLooseKey": {
"module": "./helpers/classPrivateFieldLooseKey/index.mjs",
"node": "./helpers/classPrivateFieldLooseKey/index.js",
"default": "./helpers/classPrivateFieldLooseKey/index.mjs"
},
"./helpers/classPrivateFieldLooseBase": {
"module": "./helpers/classPrivateFieldLooseBase/index.mjs",
"node": "./helpers/classPrivateFieldLooseBase/index.js",
"default": "./helpers/classPrivateFieldLooseBase/index.mjs"
},
"./helpers/classPrivateFieldGet": {
"module": "./helpers/classPrivateFieldGet/index.mjs",
"node": "./helpers/classPrivateFieldGet/index.js",
"default": "./helpers/classPrivateFieldGet/index.mjs"
},
"./helpers/classPrivateFieldSet": {
"module": "./helpers/classPrivateFieldSet/index.mjs",
"node": "./helpers/classPrivateFieldSet/index.js",
"default": "./helpers/classPrivateFieldSet/index.mjs"
},
"./helpers/classPrivateFieldDestructureSet": {
"module": "./helpers/classPrivateFieldDestructureSet/index.mjs",
"node": "./helpers/classPrivateFieldDestructureSet/index.js",
"default": "./helpers/classPrivateFieldDestructureSet/index.mjs"
},
"./helpers/classStaticPrivateFieldSpecGet": {
"module": "./helpers/classStaticPrivateFieldSpecGet/index.mjs",
"node": "./helpers/classStaticPrivateFieldSpecGet/index.js",
"default": "./helpers/classStaticPrivateFieldSpecGet/index.mjs"
},
"./helpers/classStaticPrivateFieldSpecSet": {
"module": "./helpers/classStaticPrivateFieldSpecSet/index.mjs",
"node": "./helpers/classStaticPrivateFieldSpecSet/index.js",
"default": "./helpers/classStaticPrivateFieldSpecSet/index.mjs"
},
"./helpers/classStaticPrivateMethodGet": {
"module": "./helpers/classStaticPrivateMethodGet/index.mjs",
"node": "./helpers/classStaticPrivateMethodGet/index.js",
"default": "./helpers/classStaticPrivateMethodGet/index.mjs"
},
"./helpers/classStaticPrivateMethodSet": {
"module": "./helpers/classStaticPrivateMethodSet/index.mjs",
"node": "./helpers/classStaticPrivateMethodSet/index.js",
"default": "./helpers/classStaticPrivateMethodSet/index.mjs"
},
"./helpers/decorate": {
"module": "./helpers/decorate/index.mjs",
"node": "./helpers/decorate/index.js",
"default": "./helpers/decorate/index.mjs"
},
"./helpers/classPrivateMethodGet": {
"module": "./helpers/classPrivateMethodGet/index.mjs",
"node": "./helpers/classPrivateMethodGet/index.js",
"default": "./helpers/classPrivateMethodGet/index.mjs"
},
"./helpers/classPrivateMethodSet": {
"module": "./helpers/classPrivateMethodSet/index.mjs",
"node": "./helpers/classPrivateMethodSet/index.js",
"default": "./helpers/classPrivateMethodSet/index.mjs"
},
"./helpers/wrapRegExp": {
"module": "./helpers/wrapRegExp/index.mjs",
"node": "./helpers/wrapRegExp/index.js",
"default": "./helpers/wrapRegExp/index.mjs"
},
"./package": "./package.json",
"./package.json": "./package.json",
"./regenerator": "./regenerator/index.js",
"./regenerator/*.js": "./regenerator/*.js",
"./helpers/esm/*": "./helpers/esm/*.js",
"./regenerator/": "./regenerator/",
"./helpers/esm/": "./helpers/esm/",
"./core-js/": "./core-js/",

@@ -190,0 +435,0 @@ "./core-js/is-iterable": "./core-js/is-iterable.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc