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.1.13 to 0.1.14

6

dist/Router/RoutesContainer.d.ts

@@ -12,6 +12,8 @@ import type { Component } from '@a11d/lit';

export declare class RoutesContainer extends Map<string, RouteMetadata> {
basePath: string;
get(key: string): RouteMetadata | undefined;
private _basePath;
get basePath(): string;
set basePath(value: string);
set(key: string, value: RouteMetadata): this;
}
export {};
//# sourceMappingURL=RoutesContainer.d.ts.map
export class RoutesContainer extends Map {
constructor() {
super(...arguments);
this.basePath = '';
this._basePath = '';
}
get(key) {
return super.get(this.basePath + key);
get basePath() { return this._basePath; }
set basePath(value) {
this._basePath = value;
for (const [key, value] of this) {
this.delete(key);
this.set(key, value);
}
}
set(key, value) {
return super.set(this.basePath + key, value);
}
}
{
"name": "@a11d/lit-application",
"version": "0.1.13",
"version": "0.1.14",
"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