New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

aurelia

Package Overview
Dependencies
Maintainers
2
Versions
736
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia - npm Package Compare versions

Comparing version 2.0.0-beta.8 to 2.0.0-beta.9

dist/cjs/index.cjs.map

14

CHANGELOG.md

@@ -6,2 +6,16 @@ # Change Log

<a name="2.0.0-beta.9"></a>
# 2.0.0-beta.9 (2023-12-12)
### Bug Fixes:
* **repeater:** duplicate primitive handling, batched mutation fix (#1840) ([703d275](https://github.com/aurelia/aurelia/commit/703d275))
* **repeat:** fix sort+splice batched operation bug ([703d275](https://github.com/aurelia/aurelia/commit/703d275))
### Refactorings:
* **templating:** remove strict binding option from CE (#1807) ([7b4455f](https://github.com/aurelia/aurelia/commit/7b4455f))
* **tests:** move all under src folder ([7b4455f](https://github.com/aurelia/aurelia/commit/7b4455f))
<a name="2.0.0-beta.8"></a>

@@ -8,0 +22,0 @@ # 2.0.0-beta.8 (2023-07-24)

8

dist/types/index.d.ts
import { IContainer } from '@aurelia/kernel';
import { Aurelia as $Aurelia, IPlatform, IAppRoot, IHydratedParentController, ICustomElementViewModel } from '@aurelia/runtime-html';
import { Aurelia as $Aurelia, IPlatform, IAppRoot, CustomElementType, IHydratedParentController, ICustomElementViewModel } from '@aurelia/runtime-html';
import { BrowserPlatform } from '@aurelia/platform-browser';

@@ -10,6 +10,6 @@ import type { ISinglePageApp, IEnhancementConfig } from '@aurelia/runtime-html';

static start(root: IAppRoot | undefined): void | Promise<void>;
static app(config: ISinglePageApp | unknown): Omit<Aurelia, 'register' | 'app' | 'enhance'>;
static app(config: ISinglePageApp | CustomElementType): Omit<Aurelia, 'register' | 'app' | 'enhance'>;
static enhance<T extends ICustomElementViewModel>(config: IEnhancementConfig<T>, parentController?: IHydratedParentController): ReturnType<$Aurelia['enhance']>;
static register(...params: readonly unknown[]): Aurelia;
app(config: ISinglePageApp | unknown): Omit<this, 'register' | 'app' | 'enhance'>;
app(config: ISinglePageApp | CustomElementType): Omit<this, 'register' | 'app' | 'enhance'>;
}

@@ -22,3 +22,3 @@ export default Aurelia;

export { CollectionKind, batch, ComputedObserver, IObserverLocator, ISignaler, subscriberCollection, type BindingBehaviorInstance, observable, type ValueConverterInstance, type IndexMap, } from '@aurelia/runtime';
export { customAttribute, CustomAttribute, templateController, containerless, customElement, CustomElement, strict, capture, useShadowDOM, AppTask, BindingMode, bindable, type PartialBindableDefinition, Bindable, coercer, PartialChildrenDefinition, children, Controller, ViewFactory, IAppRoot, INode, IEventTarget, IRenderLocation, type ICustomAttributeViewModel, type ICustomElementViewModel, IFlushQueue, FlushQueue, IFlushable, renderer, IAurelia, NodeObserverLocator, IAuSlot, IAuSlotsInfo, AuSlotsInfo, IAuSlotWatcher, slotted, ChildrenBinding, ITemplateCompiler, ITemplateCompilerHooks, TemplateCompilerHooks, templateCompilerHooks, attributePattern, IAttributePattern, IAttrMapper, alias, registerAliases, bindingBehavior, BindingBehavior, valueConverter, ValueConverter, bindingCommand, type BindingCommandInstance, type IEnhancementConfig, type IHydratedParentController, ShortHandBindingSyntax, StyleConfiguration, type IShadowDOMConfiguration, cssModules, shadowCSS, ILifecycleHooks, type LifecycleHook, LifecycleHooks, lifecycleHooks, } from '@aurelia/runtime-html';
export { customAttribute, CustomAttribute, templateController, containerless, customElement, CustomElement, capture, useShadowDOM, AppTask, BindingMode, bindable, type PartialBindableDefinition, Bindable, coercer, PartialChildrenDefinition, children, Controller, ViewFactory, IAppRoot, INode, IEventTarget, IRenderLocation, type ICustomAttributeViewModel, type ICustomElementViewModel, IFlushQueue, FlushQueue, IFlushable, renderer, IAurelia, NodeObserverLocator, IAuSlot, IAuSlotsInfo, AuSlotsInfo, IAuSlotWatcher, slotted, ChildrenBinding, ITemplateCompiler, ITemplateCompilerHooks, TemplateCompilerHooks, templateCompilerHooks, attributePattern, IAttributePattern, IAttrMapper, alias, registerAliases, bindingBehavior, BindingBehavior, valueConverter, ValueConverter, bindingCommand, type BindingCommandInstance, type IEnhancementConfig, type IHydratedParentController, ShortHandBindingSyntax, StyleConfiguration, type IShadowDOMConfiguration, cssModules, shadowCSS, ILifecycleHooks, type LifecycleHook, LifecycleHooks, lifecycleHooks, } from '@aurelia/runtime-html';
//# sourceMappingURL=index.d.ts.map
{
"name": "aurelia",
"version": "2.0.0-beta.8",
"version": "2.0.0-beta.9",
"main": "dist/cjs/index.cjs",

@@ -26,7 +26,3 @@ "module": "dist/esm/index.mjs",

"files": [
"dist/**/*.cjs",
"dist/**/*.dev.cjs.map",
"dist/**/*.mjs",
"dist/**/*.dev.mjs.map",
"dist/**/*.d.ts",
"dist",
"src/**/*.ts",

@@ -40,3 +36,3 @@ "README.md",

"lint": "eslint --cache --ext .js,.ts src/",
"lint:ci": "eslint --cache --ext .js,.ts --quiet --report-unused-disable-directives src/",
"lint:ci": "eslint --ext .js,.ts --quiet --report-unused-disable-directives src/",
"build": "rollup -c",

@@ -54,12 +50,12 @@ "dev": "rollup -c -w",

"dependencies": {
"@aurelia/fetch-client": "2.0.0-beta.8",
"@aurelia/kernel": "2.0.0-beta.8",
"@aurelia/metadata": "2.0.0-beta.8",
"@aurelia/platform": "2.0.0-beta.8",
"@aurelia/platform-browser": "2.0.0-beta.8",
"@aurelia/runtime": "2.0.0-beta.8",
"@aurelia/runtime-html": "2.0.0-beta.8"
"@aurelia/fetch-client": "2.0.0-beta.9",
"@aurelia/kernel": "2.0.0-beta.9",
"@aurelia/metadata": "2.0.0-beta.9",
"@aurelia/platform": "2.0.0-beta.9",
"@aurelia/platform-browser": "2.0.0-beta.9",
"@aurelia/runtime": "2.0.0-beta.9",
"@aurelia/runtime-html": "2.0.0-beta.9"
},
"devDependencies": {
"typescript": "5.1.6"
"typescript": "5.2.2"
},

@@ -66,0 +62,0 @@ "engines": {

@@ -26,3 +26,3 @@ import { DI, IContainer, Registration } from '@aurelia/kernel';

public static app(config: ISinglePageApp | unknown): Omit<Aurelia, 'register' | 'app' | 'enhance'> {
public static app(config: ISinglePageApp | CustomElementType): Omit<Aurelia, 'register' | 'app' | 'enhance'> {
return new Aurelia().app(config);

@@ -39,6 +39,6 @@ }

public app(config: ISinglePageApp | unknown): Omit<this, 'register' | 'app' | 'enhance'> {
if (CustomElement.isType(config as CustomElementType)) {
public app(config: ISinglePageApp | CustomElementType): Omit<this, 'register' | 'app' | 'enhance'> {
if (CustomElement.isType(config)) {
// Default to custom element element name
const definition = CustomElement.getDefinition(config as CustomElementType);
const definition = CustomElement.getDefinition(config);
let host = document.querySelector(definition.name);

@@ -52,7 +52,7 @@ if (host === null) {

host: host as HTMLElement,
component: config as CustomElementType
component: config
});
}
return super.app(config as ISinglePageApp);
return super.app(config);
}

@@ -312,4 +312,2 @@ }

// disableArrayObservation,
// applyMutationsToIndices,
// synchronizeIndices,

@@ -477,3 +475,2 @@ // MapObserver,

CustomElement,
strict,
capture,

@@ -480,0 +477,0 @@ // CustomElementDecorator,

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