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
739
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.1.0-dev.202302082041 to 2.1.0-dev.202302142008

4

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

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

static app(config: ISinglePageApp | unknown): Omit<Aurelia, 'register' | 'app' | 'enhance'>;
static enhance<T>(config: IEnhancementConfig<T>, parentController?: IHydratedParentController): ReturnType<$Aurelia['enhance']>;
static enhance<T extends ICustomElementViewModel>(config: IEnhancementConfig<T>, parentController?: IHydratedParentController): ReturnType<$Aurelia['enhance']>;
static register(...params: readonly unknown[]): Aurelia;

@@ -14,0 +14,0 @@ app(config: ISinglePageApp | unknown): Omit<this, 'register' | 'app' | 'enhance'>;

{
"name": "aurelia",
"version": "2.1.0-dev.202302082041",
"version": "2.1.0-dev.202302142008",
"main": "dist/cjs/index.cjs",

@@ -50,12 +50,12 @@ "module": "dist/esm/index.mjs",

"dependencies": {
"@aurelia/fetch-client": "2.1.0-dev.202302082041",
"@aurelia/kernel": "2.1.0-dev.202302082041",
"@aurelia/metadata": "2.1.0-dev.202302082041",
"@aurelia/platform": "2.1.0-dev.202302082041",
"@aurelia/platform-browser": "2.1.0-dev.202302082041",
"@aurelia/runtime": "2.1.0-dev.202302082041",
"@aurelia/runtime-html": "2.1.0-dev.202302082041"
"@aurelia/fetch-client": "2.1.0-dev.202302142008",
"@aurelia/kernel": "2.1.0-dev.202302142008",
"@aurelia/metadata": "2.1.0-dev.202302142008",
"@aurelia/platform": "2.1.0-dev.202302142008",
"@aurelia/platform-browser": "2.1.0-dev.202302142008",
"@aurelia/runtime": "2.1.0-dev.202302142008",
"@aurelia/runtime-html": "2.1.0-dev.202302142008"
},
"devDependencies": {
"typescript": "4.7.3"
"typescript": "4.9.5"
},

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

import { DI, IContainer, Registration } from '@aurelia/kernel';
import { StandardConfiguration, Aurelia as $Aurelia, IPlatform, IAppRoot, CustomElementType, CustomElement, IHydratedParentController } from '@aurelia/runtime-html';
import { StandardConfiguration, Aurelia as $Aurelia, IPlatform, IAppRoot, CustomElementType, CustomElement, IHydratedParentController, ICustomElementViewModel } from '@aurelia/runtime-html';
import { BrowserPlatform } from '@aurelia/platform-browser';

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

public static enhance<T>(config: IEnhancementConfig<T>, parentController?: IHydratedParentController): ReturnType<$Aurelia['enhance']> {
public static enhance<T extends ICustomElementViewModel>(config: IEnhancementConfig<T>, parentController?: IHydratedParentController): ReturnType<$Aurelia['enhance']> {
return new Aurelia().enhance(config, parentController);

@@ -33,0 +33,0 @@ }

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