@esroute/lit
Advanced tools
Comparing version 0.8.3 to 0.9.0
@@ -1,2 +0,2 @@ | ||
export*from"esroute";import{noChange as t}from"lit";import{AsyncDirective as i,directive as o}from"lit/async-directive.js";import{PartType as s}from"lit/directive.js";var r=class extends i{constructor(e){super(e);if(e.type!==s.CHILD)throw new Error("The `renderRoutes` directive must be used as a child directive.")}render(e){if(this._r===e)return t;this._u?.(),this._r=e,this.isConnected&&this._subscribe()}disconnected(){this._u()}reconnected(){this._subscribe()}_subscribe(){this._u=this._r.onResolve(({value:e})=>this.setValue(e))}},f=o(r);export{f as renderRoutes}; | ||
export*from"esroute";import{noChange as t}from"lit";import{AsyncDirective as i,directive as o}from"lit/async-directive.js";import{PartType as s}from"lit/directive.js";var r=class extends i{constructor(e){if(super(e),e.type!==s.CHILD)throw new Error("The `renderRoutes` directive must be used as a child directive.")}render(e){if(this._r===e)return t;this._u?.(),this._r=e,this.isConnected&&this._subscribe()}disconnected(){this._u()}reconnected(){this._subscribe()}_subscribe(){this._u=this._r.onResolve(({value:e})=>this.setValue(e))}},p=o(r);export{p as renderRoutes}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@esroute/lit", | ||
"version": "0.8.3", | ||
"version": "0.9.0", | ||
"description": "A small efficient client-side routing library for lit, written in TypeScript.", | ||
@@ -22,9 +22,9 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"esbuild": "^0.18.13", | ||
"typescript": "^5.1.6" | ||
"esbuild": "^0.20.2", | ||
"typescript": "^5.4.5" | ||
}, | ||
"dependencies": { | ||
"esroute": "^0.8.1", | ||
"esroute": "^0.9.0", | ||
"lit": "^3.1.1" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
6059
+ Addedesroute@0.9.1(transitive)
- Removedesroute@0.8.3(transitive)
Updatedesroute@^0.9.0