@aurelia/expression-parser
Advanced tools
Comparing version 2.0.1-dev.202408081231 to 2.0.1-dev.202409300916
@@ -6,2 +6,9 @@ # Change Log | ||
<a name="2.0.0-beta.22"></a> | ||
# 2.0.0-beta.22 (2024-09-30) | ||
### Refactorings: | ||
* **parser:** no longer provide default to exp parser interface (#2024) ([b55cbcd](https://github.com/aurelia/aurelia/commit/b55cbcd)) | ||
<a name="2.0.0-beta.21"></a> | ||
@@ -8,0 +15,0 @@ # 2.0.0-beta.21 (2024-08-08) |
@@ -13,2 +13,3 @@ import { CustomExpression, ForOfStatement, Interpolation, AnyBindingExpression, IsBindingBehavior } from './ast'; | ||
export declare class ExpressionParser<TCustom extends CustomExpression = CustomExpression> implements IExpressionParser<TCustom> { | ||
static readonly register: <C extends import("@aurelia/kernel").Constructable>(this: C, container: import("@aurelia/kernel").IContainer) => void; | ||
parse(expression: string, expressionType: 'IsIterator'): ForOfStatement; | ||
@@ -15,0 +16,0 @@ parse(expression: string, expressionType: 'Interpolation'): Interpolation; |
{ | ||
"name": "@aurelia/expression-parser", | ||
"version": "2.0.1-dev.202408081231", | ||
"version": "2.0.1-dev.202409300916", | ||
"main": "dist/cjs/index.cjs", | ||
@@ -56,3 +56,3 @@ "module": "dist/esm/index.mjs", | ||
"dependencies": { | ||
"@aurelia/kernel": "2.0.1-dev.202408081231" | ||
"@aurelia/kernel": "2.0.1-dev.202409300916" | ||
}, | ||
@@ -59,0 +59,0 @@ "devDependencies": { |
@@ -58,3 +58,3 @@ /* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */ | ||
import { ErrorNames, createMappedError } from './errors'; | ||
import { DI } from '@aurelia/kernel'; | ||
import { createImplementationRegister, DI } from '@aurelia/kernel'; | ||
@@ -67,3 +67,3 @@ export interface IExpressionParser<TCustom extends CustomExpression = CustomExpression> { | ||
} | ||
export const IExpressionParser = /*@__PURE__*/DI.createInterface<IExpressionParser>('IExpressionParser', x => x.singleton(ExpressionParser)); | ||
export const IExpressionParser = /*@__PURE__*/DI.createInterface<IExpressionParser>('IExpressionParser'); | ||
@@ -74,2 +74,4 @@ /** | ||
export class ExpressionParser<TCustom extends CustomExpression = CustomExpression> implements IExpressionParser<TCustom> { | ||
public static readonly register = createImplementationRegister(IExpressionParser); | ||
/** @internal */ private readonly _expressionLookup: Record<string, IsBindingBehavior> = createLookup(); | ||
@@ -76,0 +78,0 @@ /** @internal */ private readonly _forOfLookup: Record<string, ForOfStatement> = createLookup(); |
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
Sorry, the diff of this file is not supported yet
782767
15882
+ Added@aurelia/kernel@2.0.1-dev.202409300916(transitive)
+ Added@aurelia/metadata@2.0.1-dev.202409300916(transitive)
+ Added@aurelia/platform@2.0.1-dev.202409300916(transitive)
- Removed@aurelia/kernel@2.0.1-dev.202408081231(transitive)
- Removed@aurelia/metadata@2.0.1-dev.202408081231(transitive)
- Removed@aurelia/platform@2.0.1-dev.202408081231(transitive)