@babel/helper-string-parser
Advanced tools
Comparing version 7.21.4-esm.4 to 7.21.5
@@ -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.4", | ||
"version": "7.21.5", | ||
"description": "A utility package to parse strings", | ||
@@ -27,3 +27,3 @@ "repository": { | ||
}, | ||
"type": "module" | ||
"type": "commonjs" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
31634
293
0
5
No