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

@babel/helper-string-parser

Package Overview
Dependencies
Maintainers
4
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/helper-string-parser - npm Package Compare versions

Comparing version 7.21.4-esm.4 to 7.21.5

14

lib/index.js

@@ -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

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