@babel/helper-string-parser
Advanced tools
Comparing version 7.21.4-esm.2 to 7.21.4-esm.3
@@ -0,1 +1,9 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
exports.readCodePoint = readCodePoint; | ||
exports.readInt = readInt; | ||
exports.readStringContents = readStringContents; | ||
var _isDigit = function isDigit(code) { | ||
@@ -14,3 +22,3 @@ return code >= 48 && code <= 57; | ||
}; | ||
export function readStringContents(type, input, pos, lineStart, curLine, errors) { | ||
function readStringContents(type, input, pos, lineStart, curLine, errors) { | ||
const initialPos = pos; | ||
@@ -190,3 +198,3 @@ const initialLineStart = lineStart; | ||
} | ||
export function readInt(input, pos, lineStart, curLine, radix, len, forceLen, allowNumSeparator, errors, bailOnError) { | ||
function readInt(input, pos, lineStart, curLine, radix, len, forceLen, allowNumSeparator, errors, bailOnError) { | ||
const start = pos; | ||
@@ -257,3 +265,3 @@ const forbiddenSiblings = radix === 16 ? forbiddenNumericSeparatorSiblings.hex : forbiddenNumericSeparatorSiblings.decBinOct; | ||
} | ||
export function readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors) { | ||
function readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors) { | ||
const ch = input.charCodeAt(pos); | ||
@@ -260,0 +268,0 @@ let code; |
{ | ||
"name": "@babel/helper-string-parser", | ||
"version": "7.21.4-esm.2", | ||
"version": "7.21.4-esm.3", | ||
"description": "A utility package to parse strings", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
31612
293