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

@astrojs/lit

Package Overview
Dependencies
Maintainers
4
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@astrojs/lit - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

6

CHANGELOG.md
# @astrojs/lit
## 0.1.4
### Patch Changes
- [#3484](https://github.com/withastro/astro/pull/3484) [`55820fa7`](https://github.com/withastro/astro/commit/55820fa784d6d4f66a45092321a47c8ce9de5546) Thanks [@matthewp](https://github.com/matthewp)! - Wait for DOMCOntentLoaded to polyfill in Lit
## 0.1.3

@@ -4,0 +10,0 @@

4

client-shim.js

@@ -5,3 +5,5 @@ async function polyfill() {

);
hydrateShadowRoots(document.body);
window.addEventListener('DOMContentLoaded', () => hydrateShadowRoots(document.body), {
once: true,
});
}

@@ -8,0 +10,0 @@

@@ -80,3 +80,3 @@ /** @license Copyright 2020 Google LLC (BSD-3-Clause) */

let { hydrateShadowRoots: t } = await Promise.resolve().then(() => (S(), v));
t(document.body);
window.addEventListener('DOMContentLoaded', () => t(document.body), { once: true });
}

@@ -83,0 +83,0 @@ var x = new DOMParser()

{
"name": "@astrojs/lit",
"version": "0.1.3",
"version": "0.1.4",
"description": "Use Lit components within Astro",

@@ -29,8 +29,8 @@ "type": "module",

"dependencies": {
"@lit-labs/ssr": "^2.1.0"
"@lit-labs/ssr": "^2.2.0"
},
"devDependencies": {
"astro": "1.0.0-beta.29",
"astro-scripts": "0.0.3",
"cheerio": "^1.0.0-rc.10"
"astro": "1.0.0-beta.38",
"astro-scripts": "0.0.4",
"cheerio": "^1.0.0-rc.11"
},

@@ -37,0 +37,0 @@ "peerDependencies": {

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