Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@a11d/lit-application

Package Overview
Dependencies
Maintainers
1
Versions
85
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@a11d/lit-application - npm Package Compare versions

Comparing version 0.0.19 to 0.0.20

2

dist/Router/RouterController.d.ts

@@ -7,5 +7,5 @@ import { Router as RouterControllerBase } from '@lit-labs/router';

constructor(...args: ConstructorParameters<typeof RouterControllerBase>);
private readonly pagesByRoute;
private currentPage?;
private importDecoratorRoutesIfAvailable;
}
//# sourceMappingURL=RouterController.d.ts.map

@@ -6,3 +6,2 @@ import { Router as RouterControllerBase } from '@lit-labs/router';

super(...args);
this.pagesByRoute = new Map();
this.host = args[0];

@@ -22,9 +21,5 @@ }

render: p => {
const cached = this.pagesByRoute.get(Router.path);
if (cached) {
return cached;
}
const page = new pageConstructor(p);
this.pagesByRoute.set(Router.path, page);
return page;
return this.currentPage?.parameters === p && this.currentPage?.constructor === pageConstructor
? this.currentPage
: this.currentPage = new pageConstructor(p);
}

@@ -31,0 +26,0 @@ });

{
"name": "@a11d/lit-application",
"version": "0.0.19",
"version": "0.0.20",
"description": "Lit-based application shell.",

@@ -5,0 +5,0 @@ "repository": {

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