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

@aurelia/runtime-html

Package Overview
Dependencies
Maintainers
1
Versions
1026
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aurelia/runtime-html - npm Package Compare versions

Comparing version 2.0.1-dev.202404281254 to 2.0.1-dev.202405010737

16

package.json
{
"name": "@aurelia/runtime-html",
"version": "2.0.1-dev.202404281254",
"version": "2.0.1-dev.202405010737",
"main": "dist/cjs/index.cjs",

@@ -57,9 +57,9 @@ "module": "dist/esm/index.mjs",

"dependencies": {
"@aurelia/kernel": "2.0.1-dev.202404281254",
"@aurelia/metadata": "2.0.1-dev.202404281254",
"@aurelia/platform": "2.0.1-dev.202404281254",
"@aurelia/platform-browser": "2.0.1-dev.202404281254",
"@aurelia/runtime": "2.0.1-dev.202404281254",
"@aurelia/expression-parser": "2.0.1-dev.202404281254",
"@aurelia/template-compiler": "2.0.1-dev.202404281254"
"@aurelia/kernel": "2.0.1-dev.202405010737",
"@aurelia/metadata": "2.0.1-dev.202405010737",
"@aurelia/platform": "2.0.1-dev.202405010737",
"@aurelia/platform-browser": "2.0.1-dev.202405010737",
"@aurelia/runtime": "2.0.1-dev.202405010737",
"@aurelia/expression-parser": "2.0.1-dev.202405010737",
"@aurelia/template-compiler": "2.0.1-dev.202405010737"
},

@@ -66,0 +66,0 @@ "devDependencies": {

@@ -373,13 +373,13 @@ import {

// todo: warn if alreay has key
if (!container.has(key, false)) {
container.register(
container.has($Type, false) ? null : singletonRegistration($Type, $Type),
aliasRegistration($Type, key),
...aliases.map(alias => aliasRegistration($Type, getElementKeyFrom(alias)))
);
} /* istanbul ignore next */ else if (__DEV__) {
/* istanbul ignore next */
if (container.has(key, false)) {
// eslint-disable-next-line no-console
console.warn(`[DEV:aurelia] ${createMappedError(ErrorNames.element_existed, this.name)}`);
console.warn(createMappedError(ErrorNames.element_existed, this.name));
return;
}
container.register(
container.has($Type, false) ? null : singletonRegistration($Type, $Type),
aliasRegistration($Type, key),
...aliases.map(alias => aliasRegistration($Type, getElementKeyFrom(alias)))
);
}

@@ -386,0 +386,0 @@

@@ -83,18 +83,13 @@ import { IContainer, resolve } from '@aurelia/kernel';

let compiled = compiledMap.get(definition);
if (definition.needsCompile !== false) {
if (compiled == null) {
compiledMap.set(definition, compiled = CustomElementDefinition.create(compiler.compile(
definition,
container,
)));
} else {
// todo:
// should only register if the compiled def resolution is string
// instead of direct resources
container.register(...compiled.dependencies);
}
return compiled;
if (compiled == null) {
compiledMap.set(definition, compiled = CustomElementDefinition.create(
definition.needsCompile
? compiler.compile(
definition,
container,
)
: definition
));
}
return definition;
return compiled;
}

@@ -101,0 +96,0 @@

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

Sorry, the diff of this file is too big to display

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