@aurelia/runtime
Advanced tools
Comparing version 2.0.0-beta.13 to 2.0.0-beta.14
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.0-beta.13", | ||
"version": "2.0.0-beta.14", | ||
"main": "dist/cjs/index.cjs", | ||
@@ -24,3 +24,4 @@ "module": "dist/esm/index.mjs", | ||
"type": "git", | ||
"url": "https://github.com/aurelia/aurelia" | ||
"url": "git+https://github.com/aurelia/aurelia.git", | ||
"directory": "packages/runtime" | ||
}, | ||
@@ -57,8 +58,8 @@ "bugs": { | ||
"dependencies": { | ||
"@aurelia/kernel": "2.0.0-beta.13", | ||
"@aurelia/metadata": "2.0.0-beta.13", | ||
"@aurelia/platform": "2.0.0-beta.13" | ||
"@aurelia/kernel": "2.0.0-beta.14", | ||
"@aurelia/metadata": "2.0.0-beta.14", | ||
"@aurelia/platform": "2.0.0-beta.14" | ||
}, | ||
"devDependencies": { | ||
"typescript": "5.2.2" | ||
"typescript": "5.4.2" | ||
}, | ||
@@ -68,2 +69,2 @@ "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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2066815
+ Added@aurelia/kernel@2.0.0-beta.14(transitive)
+ Added@aurelia/metadata@2.0.0-beta.14(transitive)
+ Added@aurelia/platform@2.0.0-beta.14(transitive)
- Removed@aurelia/kernel@2.0.0-beta.13(transitive)
- Removed@aurelia/metadata@2.0.0-beta.13(transitive)
- Removed@aurelia/platform@2.0.0-beta.13(transitive)