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

meriyah

Package Overview
Dependencies
Maintainers
3
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 4.2.0 to 4.2.1

13

CHANGELOG.md

@@ -0,1 +1,14 @@

## [4.2.1](https://github.com/meriyah/meriyah/compare/v4.2.0...v4.2.1) (2022-03-31)
### Bug Fixes
* **lexer:** fix wrong error when using regex flag s together with m or y ([d757c6b](https://github.com/meriyah/meriyah/commit/d757c6b20ae4f6f4e55a77179726db36cf2bd50b)), closes [#202](https://github.com/meriyah/meriyah/issues/202)
* **parser:** allow regular expression in JSXExpressionContainer ([a5fcb80](https://github.com/meriyah/meriyah/commit/a5fcb8072084f2961e11e9db24f7b8ac0ecd04a6)), closes [#204](https://github.com/meriyah/meriyah/issues/204)
* **parser:** allow top level await in expressions ([37c6361](https://github.com/meriyah/meriyah/commit/37c63613771e5bc6e23b7da2d92e992c60dafc5a)), closes [#212](https://github.com/meriyah/meriyah/issues/212)
* **parser:** fix wrong starting loc for any non-trival expression in return statement ([7063af5](https://github.com/meriyah/meriyah/commit/7063af55b2c5d6d370fdf6480b87b70387c707fe)), closes [#207](https://github.com/meriyah/meriyah/issues/207)
* **parser:** super call should be allowed in private method ([6de707a](https://github.com/meriyah/meriyah/commit/6de707a0efb3053767deaa36b1ed6979b0d3f873)), closes [#203](https://github.com/meriyah/meriyah/issues/203)
# [4.2.0](https://github.com/meriyah/meriyah/compare/v4.1.5...v4.2.0) (2021-07-11)

@@ -2,0 +15,0 @@

4

dist/src/token.d.ts

@@ -88,4 +88,4 @@ export declare const enum Token {

LooseNotEqual = 8455999,
LessThanOrEqual = 8456000,
GreaterThanOrEqual = 8456001,
LessThanOrEqual = 8456256,
GreaterThanOrEqual = 8456257,
LessThan = 8456258,

@@ -92,0 +92,0 @@ GreaterThan = 8456259,

{
"name": "meriyah",
"version": "4.2.0",
"version": "4.2.1",
"description": "A 100% compliant, self-hosted javascript parser with high focus on both performance and stability",

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

@@ -24,4 +24,5 @@ <h1 align="center">Meriyah</h1>

* JSX support via option
* Does **not** support TypeScript or Flow
* Optionally track syntactic node locations
* Emits an ESTree-compatible abstract syntax tree.
* Emits an ESTree-compatible abstract syntax tree
* No backtracking

@@ -28,0 +29,0 @@ * Low memory usage

@@ -62,9 +62,9 @@ import { Chars } from '../chars';

const enum RegexFlags {
Empty = 0b00000,
IgnoreCase = 0b00001,
Global = 0b00010,
Multiline = 0b00100,
Unicode = 0b10000,
Sticky = 0b01000,
DotAll = 0b1100
Empty = 0b000000,
IgnoreCase = 0b000001,
Global = 0b000010,
Multiline = 0b000100,
Unicode = 0b010000,
Sticky = 0b001000,
DotAll = 0b100000
}

@@ -71,0 +71,0 @@

@@ -109,4 +109,4 @@ export const enum Token {

LooseNotEqual = 63 | IsBinaryOp | 7 << PrecStart, // !=
LessThanOrEqual = 64 | IsBinaryOp | 7 << PrecStart, // <=
GreaterThanOrEqual = 65 | IsBinaryOp | 7 << PrecStart, // >=
LessThanOrEqual = 64 | IsBinaryOp | 8 << PrecStart, // <=
GreaterThanOrEqual = 65 | IsBinaryOp | 8 << PrecStart, // >=
LessThan = 66 | IsBinaryOp | IsExpressionStart | 8 << PrecStart, // <

@@ -113,0 +113,0 @@ GreaterThan = 67 | IsBinaryOp | 8 << PrecStart, // >

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

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

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

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

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

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

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

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

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

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

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc