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

ha-template

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ha-template - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

17

package.json
{
"name": "ha-template",
"version": "1.0.1",
"description": "A tiny (only 4K) lit component for rendering templates in Home Assistant custom cards",
"version": "1.0.2",
"description": "A tiny (<2kB) lit component for rendering templates in Home Assistant custom cards",
"main": "dist/index.js",

@@ -9,2 +9,3 @@ "scripts": {

"build": "rollup -c",
"size": "size-limit",
"lint": "eslint *.js --ignore-path .gitignore",

@@ -36,2 +37,3 @@ "lint:fix": "eslint --fix src",

"@semantic-release/git": "^10.0.1",
"@size-limit/preset-small-lib": "^7.0.8",
"eslint": "^8.13.0",

@@ -46,3 +48,4 @@ "eslint-config-prettier": "^8.5.0",

"rollup-plugin-terser": "^7.0.2",
"semantic-release": "^19.0.2"
"semantic-release": "^19.0.2",
"size-limit": "^7.0.8"
},

@@ -72,3 +75,9 @@ "husky": {

]
}
},
"size-limit": [
{
"path": "dist/index.js",
"limit": "2kB"
}
]
}

@@ -10,3 +10,3 @@ [![SWUbanner](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner-direct-single.svg)](https://stand-with-ukraine.pp.ua/)

> A tiny (only 4K) lit component for rendering templates in [Home Assistant][home-assistant] custom cards
> A tiny (<2kB) lit component for rendering templates in [Home Assistant][home-assistant] custom cards

@@ -13,0 +13,0 @@ `ha-template` is a tiny Lit component that conveniently handles rendering templates in [Home Assistant][home-assistant] custom cards. It subscribes to template updates, automatically rerenders them along with the template value and displays a fallback value if template is not available.

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