Socket
Socket
Sign inDemoInstall

@babel/parser

Package Overview
Dependencies
0
Maintainers
6
Versions
198
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 7.7.7 to 7.8.0

lib/util/class-scope.js

2

lib/parser/comments.js

@@ -130,3 +130,3 @@ "use strict";

} else if (this.state.commentPreviousNode && (this.state.commentPreviousNode.type === "ImportSpecifier" && node.type !== "ImportSpecifier" || this.state.commentPreviousNode.type === "ExportSpecifier" && node.type !== "ExportSpecifier")) {
this.adjustCommentsAfterTrailingComma(node, [this.state.commentPreviousNode], true);
this.adjustCommentsAfterTrailingComma(node, [this.state.commentPreviousNode]);
}

@@ -133,0 +133,0 @@

@@ -45,3 +45,9 @@ "use strict";

getExpression() {
this.scope.enter(_scopeflags.SCOPE_PROGRAM);
let scopeFlags = _scopeflags.SCOPE_PROGRAM;
if (this.hasPlugin("topLevelAwait") && this.inModule) {
scopeFlags |= _scopeflags.SCOPE_ASYNC;
}
this.scope.enter(scopeFlags);
this.nextToken();

@@ -124,3 +130,2 @@ const expr = this.parseExpression();

if (operator === "??=") {
this.expectPlugin("nullishCoalescingOperator");
this.expectPlugin("logicalAssignment");

@@ -219,4 +224,2 @@ }

this.checkPipelineAtInfixOperator(left, leftStartPos);
} else if (op === _types.types.nullishCoalescing) {
this.expectPlugin("nullishCoalescingOperator");
}

@@ -371,6 +374,9 @@

return this.parseSubscripts(this.finishNode(node, "BindExpression"), startPos, startLoc, noCalls);
} else if (this.match(_types.types.questionDot)) {
this.expectPlugin("optionalChaining");
state.optionalChainMember = true;
}
let optional = false;
if (this.match(_types.types.questionDot)) {
state.optionalChainMember = optional = true;
if (noCalls && this.lookaheadCharCode() === 40) {

@@ -382,52 +388,30 @@ state.stop = true;

this.next();
const node = this.startNodeAt(startPos, startLoc);
}
if (this.eat(_types.types.bracketL)) {
node.object = base;
node.property = this.parseExpression();
node.computed = true;
node.optional = true;
this.expect(_types.types.bracketR);
return this.finishNode(node, "OptionalMemberExpression");
} else if (this.eat(_types.types.parenL)) {
node.callee = base;
node.arguments = this.parseCallExpressionArguments(_types.types.parenR, false);
node.optional = true;
return this.finishCallExpression(node, true);
} else {
node.object = base;
node.property = this.parseIdentifier(true);
node.computed = false;
node.optional = true;
return this.finishNode(node, "OptionalMemberExpression");
}
} else if (this.eat(_types.types.dot)) {
const computed = this.eat(_types.types.bracketL);
if (optional && !this.match(_types.types.parenL) && !this.match(_types.types.backQuote) || computed || this.eat(_types.types.dot)) {
const node = this.startNodeAt(startPos, startLoc);
node.object = base;
node.property = this.parseMaybePrivateName();
node.computed = false;
node.property = computed ? this.parseExpression() : optional ? this.parseIdentifier(true) : this.parseMaybePrivateName(true);
node.computed = computed;
if (node.property.type === "PrivateName" && node.object.type === "Super") {
this.raise(startPos, "Private fields can't be accessed on super");
if (node.property.type === "PrivateName") {
if (node.object.type === "Super") {
this.raise(startPos, "Private fields can't be accessed on super");
}
this.classScope.usePrivateName(node.property.id.name, node.property.start);
}
if (state.optionalChainMember) {
node.optional = false;
return this.finishNode(node, "OptionalMemberExpression");
if (computed) {
this.expect(_types.types.bracketR);
}
return this.finishNode(node, "MemberExpression");
} else if (this.eat(_types.types.bracketL)) {
const node = this.startNodeAt(startPos, startLoc);
node.object = base;
node.property = this.parseExpression();
node.computed = true;
this.expect(_types.types.bracketR);
if (state.optionalChainMember) {
node.optional = false;
node.optional = optional;
return this.finishNode(node, "OptionalMemberExpression");
} else {
return this.finishNode(node, "MemberExpression");
}
return this.finishNode(node, "MemberExpression");
} else if (!noCalls && this.match(_types.types.parenL)) {

@@ -443,6 +427,13 @@ const oldMaybeInArrowParameters = this.state.maybeInArrowParameters;

node.callee = base;
node.arguments = this.parseCallExpressionArguments(_types.types.parenR, state.maybeAsyncArrow, base.type === "Import", base.type !== "Super", node);
if (optional) {
node.optional = true;
node.arguments = this.parseCallExpressionArguments(_types.types.parenR, false);
} else {
node.arguments = this.parseCallExpressionArguments(_types.types.parenR, state.maybeAsyncArrow, base.type === "Import", base.type !== "Super", node);
}
this.finishCallExpression(node, state.optionalChainMember);
if (state.maybeAsyncArrow && this.shouldParseAsyncArrow()) {
if (state.maybeAsyncArrow && this.shouldParseAsyncArrow() && !optional) {
state.stop = true;

@@ -599,6 +590,4 @@ node = this.parseAsyncArrowFromCallExpression(this.startNodeAt(startPos, startLoc), node);

this.expectPlugin("dynamicImport", node.start);
if (!this.match(_types.types.parenL)) {
this.unexpected(null, _types.types.parenL);
this.raise(this.state.lastTokStart, "import can only be used in import() or import.meta");
}

@@ -630,4 +619,14 @@

} else if (canBeArrow && !containsEsc && id.name === "async" && this.match(_types.types.name) && !this.canInsertSemicolon()) {
const oldMaybeInArrowParameters = this.state.maybeInArrowParameters;
const oldYieldPos = this.state.yieldPos;
const oldAwaitPos = this.state.awaitPos;
this.state.maybeInArrowParameters = true;
this.state.yieldPos = -1;
this.state.awaitPos = -1;
const params = [this.parseIdentifier()];
this.expect(_types.types.arrow);
this.checkYieldAwaitInDefaultParams();
this.state.maybeInArrowParameters = oldMaybeInArrowParameters;
this.state.yieldPos = oldYieldPos;
this.state.awaitPos = oldAwaitPos;
this.parseArrowExpression(node, params, true);

@@ -776,3 +775,3 @@ return node;

parseMaybePrivateName() {
parseMaybePrivateName(isPrivateNameAllowed) {
const isPrivate = this.match(_types.types.hash);

@@ -782,2 +781,7 @@

this.expectOnePlugin(["classPrivateProperties", "classPrivateMethods"]);
if (!isPrivateNameAllowed) {
this.raise(this.state.pos, "Private names can only be used as the name of a class element (i.e. class C { #p = 42; #m() {} } )\n or a property of member expression (i.e. this.#p).");
}
const node = this.startNode();

@@ -993,3 +997,3 @@ this.next();

if (!this.scope.inNonArrowFunction && !this.state.inClassProperty) {
if (!this.scope.inNonArrowFunction && !this.scope.inClass) {
let error = "new.target can only be used in functions";

@@ -1036,5 +1040,3 @@

if (!isTagged) {
this.raise(this.state.invalidTemplateEscapePosition || 0, "Invalid escape sequence in template");
} else {
this.state.invalidTemplateEscapePosition = null;
this.raise(this.state.start + 1, "Invalid escape sequence in template");
}

@@ -1160,3 +1162,3 @@ }

const containsEsc = this.state.containsEsc;
this.parsePropertyName(prop);
this.parsePropertyName(prop, false);

@@ -1166,3 +1168,3 @@ if (!isPattern && !containsEsc && !isGenerator && this.isAsyncProp(prop)) {

isGenerator = this.eat(_types.types.star);
this.parsePropertyName(prop);
this.parsePropertyName(prop, false);
} else {

@@ -1212,3 +1214,3 @@ isAsync = false;

prop.kind = prop.key.name;
this.parsePropertyName(prop);
this.parsePropertyName(prop, false);
this.parseMethod(prop, false, false, false, false, "ObjectMethod");

@@ -1254,3 +1256,3 @@ this.checkGetterSetterParams(prop);

parsePropertyName(prop) {
parsePropertyName(prop, isPrivateNameAllowed) {
if (this.eat(_types.types.bracketL)) {

@@ -1263,3 +1265,3 @@ prop.computed = true;

this.state.inPropertyName = true;
prop.key = this.match(_types.types.num) || this.match(_types.types.string) ? this.parseExprAtom() : this.parseMaybePrivateName();
prop.key = this.match(_types.types.num) || this.match(_types.types.string) || this.match(_types.types.bigint) ? this.parseExprAtom() : this.parseMaybePrivateName(isPrivateNameAllowed);

@@ -1292,3 +1294,2 @@ if (prop.key.type !== "PrivateName") {

this.parseFunctionParams(node, allowModifiers);
this.checkYieldAwaitInDefaultParams();
this.parseFunctionBodyAndFinish(node, type, true);

@@ -1323,18 +1324,2 @@ this.scope.exit();

isStrictBody(node) {
const isBlockStatement = node.body.type === "BlockStatement";
if (isBlockStatement && node.body.directives.length) {
for (let _i2 = 0, _node$body$directives = node.body.directives; _i2 < _node$body$directives.length; _i2++) {
const directive = _node$body$directives[_i2];
if (directive.value.value === "use strict") {
return true;
}
}
}
return false;
}
parseFunctionBodyAndFinish(node, type, isMethod = false) {

@@ -1530,3 +1515,7 @@ this.parseFunctionBody(node, false, isMethod);

if (this.options.allowAwaitOutsideFunction) return true;
if (this.hasPlugin("topLevelAwait")) return this.inModule;
if (this.hasPlugin("topLevelAwait")) {
return this.inModule && this.scope.inAsync;
}
return false;

@@ -1533,0 +1522,0 @@ }

@@ -16,2 +16,4 @@ "use strict";

var _classScope = _interopRequireDefault(require("../util/class-scope"));
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -27,2 +29,3 @@

this.scope = new ScopeHandler(this.raise.bind(this), this.inModule);
this.classScope = new _classScope.default(this.raise.bind(this));
this.plugins = pluginsMap(this.options.plugins);

@@ -37,3 +40,9 @@ this.filename = options.sourceFilename;

parse() {
this.scope.enter(_scopeflags.SCOPE_PROGRAM);
let scopeFlags = _scopeflags.SCOPE_PROGRAM;
if (this.hasPlugin("topLevelAwait") && this.inModule) {
scopeFlags |= _scopeflags.SCOPE_ASYNC;
}
this.scope.enter(scopeFlags);
const file = this.startNode();

@@ -40,0 +49,0 @@ const program = this.startNode();

@@ -803,7 +803,5 @@ "use strict";

const oldMaybeInArrowParameters = this.state.maybeInArrowParameters;
const oldInClassProperty = this.state.inClassProperty;
const oldYieldPos = this.state.yieldPos;
const oldAwaitPos = this.state.awaitPos;
this.state.maybeInArrowParameters = false;
this.state.inClassProperty = false;
this.state.yieldPos = -1;

@@ -828,3 +826,2 @@ this.state.awaitPos = -1;

this.state.maybeInArrowParameters = oldMaybeInArrowParameters;
this.state.inClassProperty = oldInClassProperty;
this.state.yieldPos = oldYieldPos;

@@ -878,3 +875,3 @@ this.state.awaitPos = oldAwaitPos;

parseClassBody(constructorAllowsSuper) {
this.state.classLevel++;
this.classScope.enter();
const state = {

@@ -922,3 +919,3 @@ hadConstructor: false

this.state.classLevel--;
this.classScope.exit();
return this.finishNode(classBody, "ClassBody");

@@ -1068,3 +1065,3 @@ }

parseClassPropertyName(member) {
const key = this.parsePropertyName(member);
const key = this.parsePropertyName(member, true);

@@ -1092,3 +1089,5 @@ if (!member.computed && member.static && (key.name === "prototype" || key.value === "prototype")) {

this.expectPlugin("classPrivateProperties", prop.key.start);
classBody.body.push(this.parseClassPrivateProperty(prop));
const node = this.parseClassPrivateProperty(prop);
classBody.body.push(node);
this.classScope.declarePrivateName(node.key.id.name, _scopeflags.CLASS_ELEMENT_OTHER, node.key.start);
}

@@ -1102,3 +1101,6 @@

this.expectPlugin("classPrivateMethods", method.key.start);
classBody.body.push(this.parseMethod(method, isGenerator, isAsync, false, false, "ClassPrivateMethod", true));
const node = this.parseMethod(method, isGenerator, isAsync, false, false, "ClassPrivateMethod", true);
classBody.body.push(node);
const kind = node.kind === "get" ? node.static ? _scopeflags.CLASS_ELEMENT_STATIC_GETTER : _scopeflags.CLASS_ELEMENT_INSTANCE_GETTER : node.kind === "set" ? node.static ? _scopeflags.CLASS_ELEMENT_STATIC_SETTER : _scopeflags.CLASS_ELEMENT_INSTANCE_SETTER : _scopeflags.CLASS_ELEMENT_OTHER;
this.classScope.declarePrivateName(node.key.id.name, kind, node.key.start);
}

@@ -1113,7 +1115,5 @@

parseClassPrivateProperty(node) {
this.state.inClassProperty = true;
this.scope.enter(_scopeflags.SCOPE_CLASS | _scopeflags.SCOPE_SUPER);
node.value = this.eat(_types2.types.eq) ? this.parseMaybeAssign() : null;
this.semicolon();
this.state.inClassProperty = false;
this.scope.exit();

@@ -1128,3 +1128,2 @@ return this.finishNode(node, "ClassPrivateProperty");

this.state.inClassProperty = true;
this.scope.enter(_scopeflags.SCOPE_CLASS | _scopeflags.SCOPE_SUPER);

@@ -1141,3 +1140,2 @@

this.semicolon();
this.state.inClassProperty = false;
this.scope.exit();

@@ -1144,0 +1142,0 @@ return this.finishNode(node, "ClassProperty");

@@ -56,11 +56,2 @@ "use strict";

eatRelational(op) {
if (this.isRelational(op)) {
this.next();
return true;
}
return false;
}
isContextual(name) {

@@ -67,0 +58,0 @@ return this.match(_types.types.name) && this.state.value === name && !this.state.containsEsc;

@@ -122,20 +122,2 @@ "use strict";

isStrictBody(node) {
const isBlockStatement = node.body.type === "BlockStatement";
if (isBlockStatement && node.body.body.length > 0) {
for (let _i = 0, _node$body$body = node.body.body; _i < _node$body$body.length; _i++) {
const directive = _node$body$body[_i];
if (directive.type === "ExpressionStatement" && directive.expression.type === "Literal") {
if (directive.expression.value === "use strict") return true;
} else {
break;
}
}
}
return false;
}
isValidDirective(stmt) {

@@ -142,0 +124,0 @@ return stmt.type === "ExpressionStatement" && stmt.expression.type === "Literal" && typeof stmt.expression.value === "string" && (!stmt.expression.extra || !stmt.expression.extra.parenthesized);

@@ -421,3 +421,3 @@ "use strict";

this.parsePropertyName(node);
this.parsePropertyName(node, false);
return this.tsParsePropertyOrMethodSignature(node, readonly);

@@ -2039,3 +2039,3 @@ }

if (expr && expr._exprListItem && expr.type === "TsTypeCastExpression") {
if (expr && expr.type === "TSTypeCastExpression") {
this.raise(expr.start, "Did not expect a type annotation here.");

@@ -2042,0 +2042,0 @@ }

@@ -270,7 +270,3 @@ "use strict";

if ((this.hasPlugin("classPrivateProperties") || this.hasPlugin("classPrivateMethods")) && this.state.classLevel > 0) {
++this.state.pos;
this.finishToken(_types.types.hash);
return;
} else if (this.getPluginOption("pipelineOperator", "proposal") === "smart") {
if (this.hasPlugin("classPrivateProperties") || this.hasPlugin("classPrivateMethods") || this.getPluginOption("pipelineOperator", "proposal") === "smart") {
this.finishOp(_types.types.hash, 1);

@@ -887,9 +883,6 @@ } else {

if (code === null) {
--this.state.invalidTemplateEscapePosition;
} else if (code > 0x10ffff) {
if (code !== null && code > 0x10ffff) {
if (throwOnInvalid) {
this.raise(codePos, "Code point out of bounds");
} else {
this.state.invalidTemplateEscapePosition = codePos - 2;
return null;

@@ -924,2 +917,3 @@ }

++this.state.curLine;
this.state.lineStart = this.state.pos;
} else if ((0, _whitespace.isNewLine)(ch)) {

@@ -1057,4 +1051,2 @@ throw this.raise(this.state.start, "Unterminated string constant");

if (inTemplate) {
const codePos = this.state.pos - 1;
this.state.invalidTemplateEscapePosition = codePos;
return null;

@@ -1079,3 +1071,2 @@ }

if (inTemplate) {
this.state.invalidTemplateEscapePosition = codePos;
return null;

@@ -1106,3 +1097,2 @@ } else if (this.state.strict) {

this.state.pos = codePos - 1;
this.state.invalidTemplateEscapePosition = codePos - 1;
}

@@ -1109,0 +1099,0 @@ }

@@ -32,3 +32,2 @@ "use strict";

this.inPropertyName = false;
this.inClassProperty = false;
this.hasFlowComment = false;

@@ -42,3 +41,2 @@ this.isIterator = false;

this.inFSharpPipelineDirectBody = false;
this.classLevel = 0;
this.labels = [];

@@ -70,3 +68,2 @@ this.decoratorStack = [[]];

this.exportedIdentifiers = [];
this.invalidTemplateEscapePosition = null;
}

@@ -73,0 +70,0 @@

@@ -32,2 +32,3 @@ "use strict";

this.undefinedExports = new Map();
this.undefinedPrivateNames = new Map();
this.raise = raise;

@@ -46,3 +47,13 @@ this.inModule = inModule;

get inAsync() {
return (this.currentVarScope().flags & _scopeflags.SCOPE_ASYNC) > 0;
for (let i = this.scopeStack.length - 1;; i--) {
const scope = this.scopeStack[i];
const isVarScope = scope.flags & _scopeflags.SCOPE_VAR;
const isClassScope = scope.flags & _scopeflags.SCOPE_CLASS;
if (isClassScope && !isVarScope) {
return false;
} else if (isVarScope) {
return (scope.flags & _scopeflags.SCOPE_ASYNC) > 0;
}
}
}

@@ -49,0 +60,0 @@

@@ -7,3 +7,3 @@ "use strict";

exports.functionFlags = functionFlags;
exports.BIND_TS_NAMESPACE = exports.BIND_TS_CONST_ENUM = exports.BIND_OUTSIDE = exports.BIND_NONE = exports.BIND_TS_AMBIENT = exports.BIND_TS_ENUM = exports.BIND_TS_TYPE = exports.BIND_TS_INTERFACE = exports.BIND_FUNCTION = exports.BIND_VAR = exports.BIND_LEXICAL = exports.BIND_CLASS = exports.BIND_FLAGS_TS_EXPORT_ONLY = exports.BIND_FLAGS_TS_CONST_ENUM = exports.BIND_FLAGS_TS_ENUM = exports.BIND_FLAGS_CLASS = exports.BIND_FLAGS_NONE = exports.BIND_SCOPE_OUTSIDE = exports.BIND_SCOPE_FUNCTION = exports.BIND_SCOPE_LEXICAL = exports.BIND_SCOPE_VAR = exports.BIND_KIND_TYPE = exports.BIND_KIND_VALUE = exports.SCOPE_VAR = exports.SCOPE_TS_MODULE = exports.SCOPE_CLASS = exports.SCOPE_DIRECT_SUPER = exports.SCOPE_SUPER = exports.SCOPE_SIMPLE_CATCH = exports.SCOPE_ARROW = exports.SCOPE_GENERATOR = exports.SCOPE_ASYNC = exports.SCOPE_FUNCTION = exports.SCOPE_PROGRAM = exports.SCOPE_OTHER = void 0;
exports.CLASS_ELEMENT_OTHER = exports.CLASS_ELEMENT_INSTANCE_SETTER = exports.CLASS_ELEMENT_INSTANCE_GETTER = exports.CLASS_ELEMENT_STATIC_SETTER = exports.CLASS_ELEMENT_STATIC_GETTER = exports.CLASS_ELEMENT_KIND_ACCESSOR = exports.CLASS_ELEMENT_KIND_SETTER = exports.CLASS_ELEMENT_KIND_GETTER = exports.CLASS_ELEMENT_FLAG_STATIC = exports.BIND_TS_NAMESPACE = exports.BIND_TS_CONST_ENUM = exports.BIND_OUTSIDE = exports.BIND_NONE = exports.BIND_TS_AMBIENT = exports.BIND_TS_ENUM = exports.BIND_TS_TYPE = exports.BIND_TS_INTERFACE = exports.BIND_FUNCTION = exports.BIND_VAR = exports.BIND_LEXICAL = exports.BIND_CLASS = exports.BIND_FLAGS_TS_EXPORT_ONLY = exports.BIND_FLAGS_TS_CONST_ENUM = exports.BIND_FLAGS_TS_ENUM = exports.BIND_FLAGS_CLASS = exports.BIND_FLAGS_NONE = exports.BIND_SCOPE_OUTSIDE = exports.BIND_SCOPE_FUNCTION = exports.BIND_SCOPE_LEXICAL = exports.BIND_SCOPE_VAR = exports.BIND_KIND_TYPE = exports.BIND_KIND_VALUE = exports.SCOPE_VAR = exports.SCOPE_TS_MODULE = exports.SCOPE_CLASS = exports.SCOPE_DIRECT_SUPER = exports.SCOPE_SUPER = exports.SCOPE_SIMPLE_CATCH = exports.SCOPE_ARROW = exports.SCOPE_GENERATOR = exports.SCOPE_ASYNC = exports.SCOPE_FUNCTION = exports.SCOPE_PROGRAM = exports.SCOPE_OTHER = void 0;
const SCOPE_OTHER = 0b0000000000,

@@ -83,2 +83,20 @@ SCOPE_PROGRAM = 0b0000000001,

exports.BIND_LEXICAL = BIND_LEXICAL;
exports.BIND_CLASS = BIND_CLASS;
exports.BIND_CLASS = BIND_CLASS;
const CLASS_ELEMENT_FLAG_STATIC = 0b100,
CLASS_ELEMENT_KIND_GETTER = 0b010,
CLASS_ELEMENT_KIND_SETTER = 0b001,
CLASS_ELEMENT_KIND_ACCESSOR = CLASS_ELEMENT_KIND_GETTER | CLASS_ELEMENT_KIND_SETTER;
exports.CLASS_ELEMENT_KIND_ACCESSOR = CLASS_ELEMENT_KIND_ACCESSOR;
exports.CLASS_ELEMENT_KIND_SETTER = CLASS_ELEMENT_KIND_SETTER;
exports.CLASS_ELEMENT_KIND_GETTER = CLASS_ELEMENT_KIND_GETTER;
exports.CLASS_ELEMENT_FLAG_STATIC = CLASS_ELEMENT_FLAG_STATIC;
const CLASS_ELEMENT_STATIC_GETTER = CLASS_ELEMENT_KIND_GETTER | CLASS_ELEMENT_FLAG_STATIC,
CLASS_ELEMENT_STATIC_SETTER = CLASS_ELEMENT_KIND_SETTER | CLASS_ELEMENT_FLAG_STATIC,
CLASS_ELEMENT_INSTANCE_GETTER = CLASS_ELEMENT_KIND_GETTER,
CLASS_ELEMENT_INSTANCE_SETTER = CLASS_ELEMENT_KIND_SETTER,
CLASS_ELEMENT_OTHER = 0;
exports.CLASS_ELEMENT_OTHER = CLASS_ELEMENT_OTHER;
exports.CLASS_ELEMENT_INSTANCE_SETTER = CLASS_ELEMENT_INSTANCE_SETTER;
exports.CLASS_ELEMENT_INSTANCE_GETTER = CLASS_ELEMENT_INSTANCE_GETTER;
exports.CLASS_ELEMENT_STATIC_SETTER = CLASS_ELEMENT_STATIC_SETTER;
exports.CLASS_ELEMENT_STATIC_GETTER = CLASS_ELEMENT_STATIC_GETTER;
{
"name": "@babel/parser",
"version": "7.7.7",
"version": "7.8.0",
"description": "A JavaScript parser",

@@ -8,2 +8,3 @@ "author": "Sebastian McKenzie <sebmck@gmail.com>",

"license": "MIT",
"type": "commonjs",
"publishConfig": {

@@ -32,4 +33,4 @@ "access": "public"

"devDependencies": {
"@babel/code-frame": "^7.5.5",
"@babel/helper-fixtures": "^7.6.3",
"@babel/code-frame": "^7.8.0",
"@babel/helper-fixtures": "^7.8.0",
"charcodes": "^0.2.0",

@@ -41,3 +42,3 @@ "unicode-12.0.0": "^0.7.9"

},
"gitHead": "12da0941c898987ae30045a9da90ed5bf58ecaf9"
"gitHead": "2486615a74580283c49475d66067bd7fcab3330e"
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc