Socket
Socket
Sign inDemoInstall

@aurelia/runtime

Package Overview
Dependencies
Maintainers
1
Versions
1110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurelia/runtime - npm Package Compare versions

Comparing version 2.0.1-dev.202403150512 to 2.0.1-dev.202404030015

76

dist/types/binding/ast.kind.d.ts
declare const enum ExpressionKind {
CallsFunction = 128,
HasAncestor = 256,
IsPrimary = 512,
IsLeftHandSide = 1024,
HasBind = 2048,
HasUnbind = 4096,
IsAssignable = 8192,
IsLiteral = 16384,
IsResource = 32768,
IsForDeclaration = 65536,
Type = 31,
AccessThis = 1793,
AccessScope = 10082,
ArrayLiteral = 17955,
ObjectLiteral = 17956,
PrimitiveLiteral = 17925,
Template = 17958,
Unary = 39,
CallScope = 1448,
CallMember = 1161,
CallFunction = 1162,
AccessMember = 9323,
AccessKeyed = 9324,
TaggedTemplate = 1197,
Binary = 46,
Conditional = 63,
Assign = 8208,
ArrowFunction = 17,
ValueConverter = 36914,
BindingBehavior = 38963,
HtmlLiteral = 52,
ArrayBindingPattern = 65557,
ObjectBindingPattern = 65558,
BindingIdentifier = 65559,
ForOfStatement = 6200,
Interpolation = 25,
ArrayDestructuring = 90138,
ObjectDestructuring = 106523,
CallsFunction = 128,// Calls a function (CallFunction, CallScope, CallMember, TaggedTemplate) -> needs a valid function object returning from its lefthandside's evaluate()
HasAncestor = 256,// Has an "ancestor" property, meaning the expression could climb up the context (only AccessThis, AccessScope and CallScope)
IsPrimary = 512,// Is a primary expression according to ES parsing rules
IsLeftHandSide = 1024,// Is a left-hand side expression according to ES parsing rules, includes IsPrimary
HasBind = 2048,// Has a bind() method (currently only BindingBehavior)
HasUnbind = 4096,// Has an unbind() method (currentl only BindingBehavior and ValueConverter)
IsAssignable = 8192,// Is an assignable expression according to ES parsing rules (only AccessScope, AccessMember, AccessKeyed ans Assign)
IsLiteral = 16384,// Is literal expression (Primitive, Array, Object or Template)
IsResource = 32768,// Is an Aurelia resource (ValueConverter or BindingBehavior)
IsForDeclaration = 65536,// Is a For declaration (for..of, for..in -> currently only ForOfStatement)
Type = 31,// Type mask to uniquely identify each AST class (concrete types start below)
AccessThis = 1793,// HasAncestor
AccessScope = 10082,// IsAssignable HasAncestor
ArrayLiteral = 17955,//
ObjectLiteral = 17956,//
PrimitiveLiteral = 17925,//
Template = 17958,//
Unary = 39,//
CallScope = 1448,// HasAncestor CallsFunction
CallMember = 1161,// CallsFunction
CallFunction = 1162,// CallsFunction
AccessMember = 9323,// IsAssignable
AccessKeyed = 9324,// IsAssignable
TaggedTemplate = 1197,// CallsFunction
Binary = 46,//
Conditional = 63,//
Assign = 8208,// IsAssignable
ArrowFunction = 17,//
ValueConverter = 36914,//
BindingBehavior = 38963,//
HtmlLiteral = 52,//
ArrayBindingPattern = 65557,//
ObjectBindingPattern = 65558,//
BindingIdentifier = 65559,//
ForOfStatement = 6200,//
Interpolation = 25,//
ArrayDestructuring = 90138,// IsAssignable
ObjectDestructuring = 106523,// IsAssignable
DestructuringAssignmentLeaf = 139292
}
//# sourceMappingURL=ast.kind.d.ts.map

@@ -41,3 +41,3 @@ import { CustomExpression } from './ast';

visitAccessThis(expr: AccessThisExpression): void;
visitAccessBoundary(expr: AccessBoundaryExpression): void;
visitAccessBoundary(_expr: AccessBoundaryExpression): void;
visitAccessScope(expr: AccessScopeExpression): void;

@@ -44,0 +44,0 @@ visitArrayLiteral(expr: ArrayLiteralExpression): void;

{
"name": "@aurelia/runtime",
"version": "2.0.1-dev.202403150512",
"version": "2.0.1-dev.202404030015",
"main": "dist/cjs/index.cjs",

@@ -56,8 +56,8 @@ "module": "dist/esm/index.mjs",

"dependencies": {
"@aurelia/kernel": "2.0.1-dev.202403150512",
"@aurelia/metadata": "2.0.1-dev.202403150512",
"@aurelia/platform": "2.0.1-dev.202403150512"
"@aurelia/kernel": "2.0.1-dev.202404030015",
"@aurelia/metadata": "2.0.1-dev.202404030015",
"@aurelia/platform": "2.0.1-dev.202404030015"
},
"devDependencies": {
"typescript": "5.2.2"
"typescript": "5.4.2"
},

@@ -64,0 +64,0 @@ "engines": {

@@ -108,3 +108,3 @@ import { createError, isString, safeString } from '../utilities';

public visitAccessBoundary(expr: AccessBoundaryExpression): void {
public visitAccessBoundary(_expr: AccessBoundaryExpression): void {
this.text += 'this';

@@ -111,0 +111,0 @@ }

@@ -1655,3 +1655,3 @@ /* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */

const invalidLHSBindingIdentifierInForOf = (kind: any) => createMappedError(ErrorNames.parse_invalid_identifier_in_forof, $input, kind);
const invalidLHSBindingIdentifierInForOf = (kind: unknown) => createMappedError(ErrorNames.parse_invalid_identifier_in_forof, $input, kind);

@@ -1658,0 +1658,0 @@ const invalidPropDefInObjLiteral = () => createMappedError(ErrorNames.parse_invalid_identifier_object_literal_key, $input);

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

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

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

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