New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@lit-labs/eleventy-plugin-lit

Package Overview
Dependencies
Maintainers
9
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lit-labs/eleventy-plugin-lit - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

10

index.js

@@ -9,3 +9,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -75,3 +79,3 @@ if (k2 === undefined) k2 = k;

eleventyConfig.addTransform('render-lit', async (content, outputPath) => {
if (!outputPath.endsWith('.html')) {
if (outputPath && !outputPath.endsWith('.html')) {
return content;

@@ -150,3 +154,3 @@ }

eleventyConfig.addTransform('render-lit', async (content, outputPath) => {
if (!outputPath.endsWith('.html')) {
if (outputPath && !outputPath.endsWith('.html')) {
return content;

@@ -153,0 +157,0 @@ }

{
"name": "@lit-labs/eleventy-plugin-lit",
"version": "0.2.1",
"version": "0.2.2",
"description": "Eleventy plugin for rendering Lit components.",

@@ -32,11 +32,62 @@ "author": "Google LLC",

"scripts": {
"build": "npm run clean && npm run build:ts",
"build:ts": "tsc --build",
"build:ts:watch": "tsc --build --watch",
"build:demo": "cd demo && NODE_OPTIONS=--experimental-vm-modules eleventy",
"build:demo:watch": "cd demo && NODE_OPTIONS=--experimental-vm-modules eleventy --watch",
"clean": "rimraf \"index.{js,js.map,d.ts,d.ts.map}\" \"test/**/*.{js,js.map,d.ts,d.ts.map}\" \"worker/**/*.{js,js.map,d.ts,d.ts.map}\" demo/_site *.tsbuildinfo",
"serve:demo": "wds --watch --node-resolve --open demo/_site/test",
"test": "uvu test/ \".*-test.js$\""
"build": "wireit",
"build:ts": "wireit",
"build:demo": "wireit",
"serve:demo": "wireit",
"test": "wireit"
},
"wireit": {
"build": {
"dependencies": [
"build:ts",
"../ssr:build",
"../../lit:build"
]
},
"build:ts": {
"command": "tsc --build --pretty",
"dependencies": [
"../ssr:build:ts",
"../../lit:build:ts:types"
],
"files": [
"src",
"tsconfig.json"
],
"output": [
"index.{js,d.ts}",
"test",
"worker",
"*.tsbuildinfo",
"!test/__temp",
"!test/package.json",
"!worker/package.json"
],
"clean": "if-file-deleted"
},
"build:demo": {
"command": "cd demo && NODE_OPTIONS=--experimental-vm-modules eleventy",
"dependencies": [
"build"
],
"files": [
"demo"
]
},
"serve:demo": {
"command": "wds --watch --node-resolve --open demo/_site/test",
"dependencies": [
"build:demo"
],
"files": []
},
"test": {
"command": "uvu test/ \".*-test.js$\"",
"dependencies": [
"build"
],
"files": [],
"output": []
}
},
"dependencies": {

@@ -43,0 +94,0 @@ "@lit-labs/ssr": "^2.0.1",

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