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

meriyah

Package Overview
Dependencies
Maintainers
1
Versions
917
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meriyah - npm Package Compare versions

Comparing version 0.2.5 to 0.2.6

2

package.json
{
"name": "meriyah",
"version": "0.2.5",
"version": "0.2.6",
"description": "A 100% compliant, self-hosted javascript parser with high focus on both performance and stability",

@@ -5,0 +5,0 @@ "main": "dist/meriyah.umd.js",

@@ -0,0 +0,0 @@ /**

@@ -14,8 +14,8 @@ import { nextCodePoint, CharTypes, CharFlags, ScannerState } from './';

if (index === parser.end) return;
if (parser.nextCP === Chars.ByteOrderMark) {
parser.nextCP = parser.source.charCodeAt(++index);
parser.index = index;
if (parser.nextCP === Chars.ByteOrderMark || parser.nextCP === Chars.ZeroWidthNoBreakSpace) {
parser.index = ++index;
parser.nextCP = parser.source.charCodeAt(index);
}
if (index < parser.end && parser.source.charCodeAt(index) === Chars.Hash) {
if (index < parser.end && parser.nextCP === Chars.Hash) {
index++;

@@ -22,0 +22,0 @@ if (index < parser.end && parser.source.charCodeAt(index) === Chars.Exclamation) {

@@ -508,6 +508,8 @@ import { skipSingleLineComment, skipMultiLineComment, ScannerState } from './';

}
if (isIDStart(parser.nextCP) || consumeMultiUnitCodePoint(parser, parser.nextCP)) {
if (isIDStart(first) || consumeMultiUnitCodePoint(parser, first)) {
return scanIdentifier(parser, context);
}
if (isExoticECMAScriptWhitespace(parser.nextCP)) {
if (isExoticECMAScriptWhitespace(first)) {
nextCodePoint(parser);

@@ -514,0 +516,0 @@ continue;

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

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