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.3.2 to 4.3.3

9

CHANGELOG.md

@@ -0,1 +1,10 @@

## [4.3.3](https://github.com/meriyah/meriyah/compare/v4.3.2...v4.3.3) (2022-11-12)
### Bug Fixes
* **parser:** invalid generator setter should have correct error message ([193b3ef](https://github.com/meriyah/meriyah/commit/193b3efedea56c025f14afce7e34f28dc7080501)), closes [#228](https://github.com/meriyah/meriyah/issues/228)
## [4.3.2](https://github.com/meriyah/meriyah/compare/v4.3.1...v4.3.2) (2022-10-01)

@@ -2,0 +11,0 @@

249

dist/src/errors.d.ts

@@ -44,126 +44,127 @@ import { ParserState } from './common';

InvalidGeneratorGetter = 40,
InvalidComputedPropName = 41,
InvalidGetSetGenerator = 42,
InvalidAsyncGetter = 43,
InvalidGenMethodShorthand = 44,
InvalidLineBreak = 45,
InvalidArrowDestructLHS = 46,
InvalidBindingDestruct = 47,
InvalidAsyncArrow = 48,
StaticPrototype = 49,
InvalidConstructor = 50,
DuplicateConstructor = 51,
InvalidIncDecTarget = 52,
InvalidIncDecNew = 53,
InvalidAssignmentTarget = 54,
InvalidRestTrailing = 55,
DeclarationMissingInitializer = 56,
ForInOfLoopInitializer = 57,
ForInOfLoopMultiBindings = 58,
InvalidShorthandPropInit = 59,
DuplicateProto = 60,
InvalidLetBoundName = 61,
InvalidNewUnary = 62,
IllegalUseStrict = 63,
DisallowedLetInStrict = 64,
IllegalContinue = 65,
IllegalBreak = 66,
InvalidLetBracket = 67,
InvalidDestructuringTarget = 68,
RestDefaultInitializer = 69,
InvalidRestNotLast = 70,
InvalidRestArg = 71,
InvalidRestDefault = 72,
StrictFunction = 73,
SloppyFunction = 74,
WebCompatFunction = 75,
ClassForbiddenAsStatement = 76,
CantAssignToInOfForLoop = 77,
InvalidAssignmentInOfForLoop = 78,
InvalidForAwait = 79,
InvalidTemplateContinuation = 80,
RestrictedLetProduction = 81,
UnexpectedLetStrictReserved = 82,
InvalidCatchParams = 83,
InvalidCatchParamDefault = 84,
NoCatchOrFinally = 85,
MultipleDefaultsInSwitch = 86,
NewlineAfterThrow = 87,
StrictWith = 88,
IllegalReturn = 89,
InvalidForLHSBinding = 90,
InvalidNewTarget = 91,
InvalidEscapedKeyword = 92,
MissingPrivateIdentifier = 93,
DisallowedInContext = 94,
AwaitOutsideAsync = 95,
InvalidStrictLet = 96,
InvalidLetConstBinding = 97,
InvalidLetClassName = 98,
KeywordNotId = 99,
InvalidImportExportSloppy = 100,
UnicodeOverflow = 101,
InvalidExportImportSource = 102,
InvalidKeywordAsAlias = 103,
InvalidDefaultImport = 104,
TrailingDecorators = 105,
GeneratorConstructor = 106,
AwaitOrYieldIdentInModule = 107,
HtmlCommentInWebCompat = 108,
StrictInvalidLetInExprPos = 109,
NotAssignableLetArgs = 110,
ForOfLet = 111,
InvalidInvokedBlockBodyArrow = 112,
InvalidAccessedBlockBodyArrow = 113,
UnexpectedStrictReserved = 114,
StrictEvalArguments = 115,
InvalidDecoratorSemicolon = 116,
StrictDelete = 117,
InvalidPatternTail = 118,
AsyncFunctionInSingleStatementContext = 119,
InvalidTernaryYield = 120,
InvalidArrowPostfix = 121,
InvalidObjLitKeyStar = 122,
DeletePrivateField = 123,
InvalidStaticClassFieldConstructor = 124,
InvalidClassFieldConstructor = 125,
InvalidClassFieldArgEval = 126,
InvalidGeneratorFunction = 127,
AsyncRestrictedProd = 128,
UnexpectedCharAfterObjLit = 129,
InvalidObjLitKey = 130,
InvalidKeyToken = 131,
LabelRedeclaration = 132,
InvalidNestedStatement = 133,
UnknownLabel = 134,
InvalidImportTail = 135,
ImportNotOneArg = 136,
InvalidImportNew = 137,
InvalidSpreadInImport = 138,
UncompleteArrow = 139,
DuplicateBinding = 140,
DuplicateExportBinding = 141,
UndeclaredExportedBinding = 142,
UnexpectedPrivateField = 143,
DuplicateLetConstBinding = 144,
CantAssignToValidRHS = 145,
ContinuousNumericSeparator = 146,
TrailingNumericSeparator = 147,
InvalidJSXAttributeValue = 148,
ExpectedJSXClosingTag = 149,
AdjacentJSXElements = 150,
InvalidNonEmptyJSXExpr = 151,
DuplicateIdentifier = 152,
ShadowedCatchClause = 153,
InvalidDotProperty = 154,
UnclosedSpreadElement = 155,
CatchWithoutTry = 156,
FinallyWithoutTry = 157,
UnCorrespondingFragmentTag = 158,
InvalidCoalescing = 159,
OptionalChainingNoTemplate = 160,
OptionalChainingNoSuper = 161,
OptionalChainingNoNew = 162,
ImportMetaOutsideModule = 163,
InvalidLeadingDecorator = 164
InvalidGeneratorSetter = 41,
InvalidComputedPropName = 42,
InvalidGetSetGenerator = 43,
InvalidAsyncGetter = 44,
InvalidGenMethodShorthand = 45,
InvalidLineBreak = 46,
InvalidArrowDestructLHS = 47,
InvalidBindingDestruct = 48,
InvalidAsyncArrow = 49,
StaticPrototype = 50,
InvalidConstructor = 51,
DuplicateConstructor = 52,
InvalidIncDecTarget = 53,
InvalidIncDecNew = 54,
InvalidAssignmentTarget = 55,
InvalidRestTrailing = 56,
DeclarationMissingInitializer = 57,
ForInOfLoopInitializer = 58,
ForInOfLoopMultiBindings = 59,
InvalidShorthandPropInit = 60,
DuplicateProto = 61,
InvalidLetBoundName = 62,
InvalidNewUnary = 63,
IllegalUseStrict = 64,
DisallowedLetInStrict = 65,
IllegalContinue = 66,
IllegalBreak = 67,
InvalidLetBracket = 68,
InvalidDestructuringTarget = 69,
RestDefaultInitializer = 70,
InvalidRestNotLast = 71,
InvalidRestArg = 72,
InvalidRestDefault = 73,
StrictFunction = 74,
SloppyFunction = 75,
WebCompatFunction = 76,
ClassForbiddenAsStatement = 77,
CantAssignToInOfForLoop = 78,
InvalidAssignmentInOfForLoop = 79,
InvalidForAwait = 80,
InvalidTemplateContinuation = 81,
RestrictedLetProduction = 82,
UnexpectedLetStrictReserved = 83,
InvalidCatchParams = 84,
InvalidCatchParamDefault = 85,
NoCatchOrFinally = 86,
MultipleDefaultsInSwitch = 87,
NewlineAfterThrow = 88,
StrictWith = 89,
IllegalReturn = 90,
InvalidForLHSBinding = 91,
InvalidNewTarget = 92,
InvalidEscapedKeyword = 93,
MissingPrivateIdentifier = 94,
DisallowedInContext = 95,
AwaitOutsideAsync = 96,
InvalidStrictLet = 97,
InvalidLetConstBinding = 98,
InvalidLetClassName = 99,
KeywordNotId = 100,
InvalidImportExportSloppy = 101,
UnicodeOverflow = 102,
InvalidExportImportSource = 103,
InvalidKeywordAsAlias = 104,
InvalidDefaultImport = 105,
TrailingDecorators = 106,
GeneratorConstructor = 107,
AwaitOrYieldIdentInModule = 108,
HtmlCommentInWebCompat = 109,
StrictInvalidLetInExprPos = 110,
NotAssignableLetArgs = 111,
ForOfLet = 112,
InvalidInvokedBlockBodyArrow = 113,
InvalidAccessedBlockBodyArrow = 114,
UnexpectedStrictReserved = 115,
StrictEvalArguments = 116,
InvalidDecoratorSemicolon = 117,
StrictDelete = 118,
InvalidPatternTail = 119,
AsyncFunctionInSingleStatementContext = 120,
InvalidTernaryYield = 121,
InvalidArrowPostfix = 122,
InvalidObjLitKeyStar = 123,
DeletePrivateField = 124,
InvalidStaticClassFieldConstructor = 125,
InvalidClassFieldConstructor = 126,
InvalidClassFieldArgEval = 127,
InvalidGeneratorFunction = 128,
AsyncRestrictedProd = 129,
UnexpectedCharAfterObjLit = 130,
InvalidObjLitKey = 131,
InvalidKeyToken = 132,
LabelRedeclaration = 133,
InvalidNestedStatement = 134,
UnknownLabel = 135,
InvalidImportTail = 136,
ImportNotOneArg = 137,
InvalidImportNew = 138,
InvalidSpreadInImport = 139,
UncompleteArrow = 140,
DuplicateBinding = 141,
DuplicateExportBinding = 142,
UndeclaredExportedBinding = 143,
UnexpectedPrivateField = 144,
DuplicateLetConstBinding = 145,
CantAssignToValidRHS = 146,
ContinuousNumericSeparator = 147,
TrailingNumericSeparator = 148,
InvalidJSXAttributeValue = 149,
ExpectedJSXClosingTag = 150,
AdjacentJSXElements = 151,
InvalidNonEmptyJSXExpr = 152,
DuplicateIdentifier = 153,
ShadowedCatchClause = 154,
InvalidDotProperty = 155,
UnclosedSpreadElement = 156,
CatchWithoutTry = 157,
FinallyWithoutTry = 158,
UnCorrespondingFragmentTag = 159,
InvalidCoalescing = 160,
OptionalChainingNoTemplate = 161,
OptionalChainingNoSuper = 162,
OptionalChainingNoNew = 163,
ImportMetaOutsideModule = 164,
InvalidLeadingDecorator = 165
}

@@ -170,0 +171,0 @@ export declare const errorMessages: {

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

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

@@ -45,2 +45,3 @@ import { ParserState } from './common';

InvalidGeneratorGetter,
InvalidGeneratorSetter,
InvalidComputedPropName,

@@ -223,2 +224,3 @@ InvalidGetSetGenerator,

[Errors.InvalidGeneratorGetter]: 'A getter cannot be a generator',
[Errors.InvalidGeneratorSetter]: 'A setter cannot be a generator',
[Errors.InvalidComputedPropName]: 'A computed property name must be followed by a colon or paren',

@@ -225,0 +227,0 @@ [Errors.InvalidObjLitKey]: 'Object literal keys that are strings or numbers must be a method or have a colon',

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 not supported yet

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