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

html-template-tag

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

html-template-tag - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

LICENSE

2

dist/index.d.ts

@@ -1,2 +0,2 @@

declare function htmlTemplateTag(literals: TemplateStringsArray, ...substs: string[]): string;
declare function htmlTemplateTag(literals: TemplateStringsArray, ...substs: Array<string | string[]>): string;
export default htmlTemplateTag;

@@ -1,1 +0,1 @@

import r from"html-es6cape";function e(e){for(var t=[],a=1;a<arguments.length;a++)t[a-1]=arguments[a];return e.raw.reduce((function(a,n,i){var o=t[i-1];return Array.isArray(o)?o=o.join(""):e.raw[i-1]&&e.raw[i-1].endsWith("$")?a=a.slice(0,-1):o=r(o),a+o+n}))}export default e;
import r from"html-es6cape";function e(e){for(var a=[],t=1;t<arguments.length;t++)a[t-1]=arguments[t];return e.raw.reduce((function(t,n,i){var o=a[i-1];return Array.isArray(o)?o=o.join(""):e.raw[i-1]&&e.raw[i-1].endsWith("$")?t=t.slice(0,-1):o=r(o),t+o+n}))}export{e as default};
{
"name": "html-template-tag",
"version": "4.0.0",
"version": "4.0.1",
"description": "ES6 Tagged Template for compiling HTML template strings.",

@@ -15,11 +15,11 @@ "main": "dist/index.cjs.js",

"prepare": "husky install",
"type:check": "tsc --noEmit",
"type:check": "tsc src/*.ts --noEmit",
"format": "prettier --write --ignore-unknown {src,test}/*",
"format:check": "prettier --check {src,test}/*",
"test": "jest",
"test": "vitest run --coverage",
"pre-commit": "lint-staged",
"prebuild": "rimraf dist && mkdir dist",
"build": "npm run build:types && npm run build:lib",
"build:types": "tsc --declaration --emitDeclarationOnly --outDir dist",
"build:types": "tsc src/*.ts --declaration --emitDeclarationOnly --outDir dist",
"build:lib": "rollup -c",
"build:cjs": "tsc --module commonjs --target es5 --outDir dist/cjs",
"postversion": "git push && git push --tags"

@@ -46,10 +46,8 @@ },

"devDependencies": {
"@babel/core": "^7.13.10",
"@babel/preset-env": "^7.13.10",
"@babel/preset-typescript": "^7.13.0",
"@rollup/plugin-typescript": "^8.2.0",
"@types/jest": "^26.0.20",
"babel-jest": "^26.6.3",
"husky": "^5.1.3",
"jest": "^26.6.3",
"c8": "^7.11.0",
"eslint": "^8.13.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^7.0.2",
"lint-staged": "^12.3.7",
"prettier": "^2.2.1",

@@ -60,3 +58,5 @@ "rimraf": "^3.0.2",

"tslib": "^2.1.0",
"typescript": "^4.2.3"
"typescript": "^4.2.3",
"vite": "^2.9.1",
"vitest": "^0.9.3"
},

@@ -63,0 +63,0 @@ "dependencies": {

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