@lit-labs/ssr-client
Advanced tools
Comparing version 1.0.1 to 1.1.0
@@ -39,3 +39,3 @@ /** | ||
* <slot></slot> | ||
* <button>Like></button> | ||
* <button>Like</button> | ||
* <h1>Hello World</h1> | ||
@@ -101,3 +101,3 @@ * <p>This is a story about greeting the earth.</p> | ||
*/ | ||
export declare const renderLight: () => import("lit/directive.js").DirectiveResult<typeof RenderLightDirective>; | ||
export declare const renderLight: () => import("lit-html/directive").DirectiveResult<typeof RenderLightDirective>; | ||
export declare const isRenderLightDirective: (value: unknown) => boolean; | ||
@@ -104,0 +104,0 @@ /** |
@@ -43,3 +43,3 @@ /** | ||
* <slot></slot> | ||
* <button>Like></button> | ||
* <button>Like</button> | ||
* <h1>Hello World</h1> | ||
@@ -46,0 +46,0 @@ * <p>This is a story about greeting the earth.</p> |
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
export {}; | ||
export * from './lib/hydrate-lit-html.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,7 @@ | ||
export {}; | ||
/** | ||
* @license | ||
* Copyright 2017 Google LLC | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/ | ||
export * from './lib/hydrate-lit-html.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -39,3 +39,3 @@ /** | ||
* <slot></slot> | ||
* <button>Like></button> | ||
* <button>Like</button> | ||
* <h1>Hello World</h1> | ||
@@ -101,3 +101,3 @@ * <p>This is a story about greeting the earth.</p> | ||
*/ | ||
export declare const renderLight: () => import("lit/directive.js").DirectiveResult<typeof RenderLightDirective>; | ||
export declare const renderLight: () => import("lit-html/directive").DirectiveResult<typeof RenderLightDirective>; | ||
export declare const isRenderLightDirective: (value: unknown) => boolean; | ||
@@ -104,0 +104,0 @@ /** |
@@ -6,3 +6,3 @@ import{directive as e,Directive as r}from"lit/directive.js";import{getDirectiveClass as t}from"lit/directive-helpers.js"; | ||
* SPDX-License-Identifier: BSD-3-Clause | ||
*/class i extends r{render(){}update(e){const r=e.parentNode;if("function"==typeof r.renderLight)return r.renderLight()}}i.o=!0;const o=e(i),n=e=>{var r;return null===(r=t(e))||void 0===r?void 0:r.o};export{n as isRenderLightDirective,o as renderLight}; | ||
*/class i extends r{render(){}update(e){const r=e.parentNode;if("function"==typeof r.renderLight)return r.renderLight()}}i.t=!0;const o=e(i),n=e=>{var r;return null===(r=t(e))||void 0===r?void 0:r.t};export{n as isRenderLightDirective,o as renderLight}; | ||
//# sourceMappingURL=render-light.js.map |
@@ -6,3 +6,3 @@ /** | ||
*/ | ||
export {}; | ||
export * from './lib/hydrate-lit-html.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,2 @@ | ||
export{digestForTemplateResult,hydrate}from"./lib/hydrate-lit-html.js"; | ||
//# sourceMappingURL=index.js.map |
108
package.json
{ | ||
"name": "@lit-labs/ssr-client", | ||
"version": "1.0.1", | ||
"version": "1.1.0", | ||
"description": "Client package for @lit-labs/ssr.", | ||
@@ -21,6 +21,21 @@ "license": "BSD-3-Clause", | ||
".": { | ||
"types": "./development/index.d.ts", | ||
"node": { | ||
"development": "./node/development/index.js", | ||
"default": "./node/index.js" | ||
}, | ||
"development": "./development/index.js", | ||
"default": "./index.js" | ||
}, | ||
"./lit-element-hydrate-support.js": { | ||
"types": "./development/lit-element-hydrate-support.d.ts", | ||
"node": { | ||
"development": "./node/development/lit-element-hydrate-support.js", | ||
"default": "./node/lit-element-hydrate-support.js" | ||
}, | ||
"development": "./development/lit-element-hydrate-support.js", | ||
"default": "./lit-element-hydrate-support.js" | ||
}, | ||
"./directives/render-light.js": { | ||
"types": "./development/directives/render-light.d.ts", | ||
"development": "./development/directives/render-light.js", | ||
@@ -34,24 +49,87 @@ "default": "./directives/render-light.js" | ||
"/directives/", | ||
"/index.{d.ts,d.ts.map,js,js.map}" | ||
"/lib/", | ||
"/index.{d.ts,d.ts.map,js,js.map}", | ||
"/lit-element-hydrate-support.{d.ts,d.ts.map,js,js.map}" | ||
], | ||
"scripts": { | ||
"build": "npm run clean && npm run build:ts && rollup -c", | ||
"build:watch": "rollup -c --watch", | ||
"build:ts": "tsc --build && treemirror development . '**/*.d.ts{,.map}'", | ||
"build:ts:watch": "tsc --build --watch", | ||
"clean": "rm -rf {index}.{js,js.map,d.ts} directives/ development/ test/ *.tsbuildinfo", | ||
"dev": "scripts/dev.sh", | ||
"checksize": "rollup -c --environment=CHECKSIZE", | ||
"regen-package-lock": "rm -rf node_modules package-lock.json; npm install" | ||
"build": "wireit", | ||
"build:ts": "wireit", | ||
"build:ts:types": "wireit", | ||
"build:rollup": "wireit", | ||
"checksize": "wireit" | ||
}, | ||
"wireit": { | ||
"build": { | ||
"dependencies": [ | ||
"build:ts", | ||
"build:ts:types", | ||
"build:rollup", | ||
"../../lit:build" | ||
] | ||
}, | ||
"build:ts": { | ||
"command": "tsc --build --pretty", | ||
"clean": "if-file-deleted", | ||
"dependencies": [ | ||
"../../lit:build:ts:types" | ||
], | ||
"files": [ | ||
"src/**/*.ts", | ||
"tsconfig.json" | ||
], | ||
"output": [ | ||
"development", | ||
"tsconfig.tsbuildinfo" | ||
] | ||
}, | ||
"build:ts:types": { | ||
"command": "treemirror development . \"**/*.d.ts{,.map}\"", | ||
"dependencies": [ | ||
"../../internal-scripts:build", | ||
"build:ts" | ||
], | ||
"files": [], | ||
"output": [ | ||
"*.d.ts{,.map}", | ||
"directives/*.d.ts{,.map}", | ||
"lib/*.d.ts{,.map}" | ||
] | ||
}, | ||
"build:rollup": { | ||
"command": "rollup -c", | ||
"dependencies": [ | ||
"build:ts" | ||
], | ||
"files": [ | ||
"rollup.config.js", | ||
"../../../rollup-common.js" | ||
], | ||
"output": [ | ||
"index.js{,.map}", | ||
"lit-element-hydrate-support.js{,.map}", | ||
"directives/*.js{,.map}", | ||
"lib/*.js{,.map}", | ||
"node/" | ||
] | ||
}, | ||
"checksize": { | ||
"command": "rollup -c --environment=CHECKSIZE", | ||
"dependencies": [ | ||
"build:ts" | ||
], | ||
"files": [ | ||
"rollup.config.js", | ||
"../../../rollup-common.js" | ||
], | ||
"output": [] | ||
} | ||
}, | ||
"author": "Google LLC", | ||
"devDependencies": { | ||
"rollup": "^2.28.2", | ||
"typescript": "^4.3.5", | ||
"internal-scripts": "^1.0.0" | ||
"@lit-internal/scripts": "^1.0.0" | ||
}, | ||
"dependencies": { | ||
"@lit/reactive-element": "^1.0.0", | ||
"lit": "^2.0.0", | ||
"lit-html": "^2.0.0", | ||
"@lit/reactive-element": "^1.0.0" | ||
"lit-html": "^2.0.0" | ||
}, | ||
@@ -58,0 +136,0 @@ "publishConfig": { |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
117783
1
35
893
2