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

@kitajs/ts-html-plugin

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kitajs/ts-html-plugin - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

11

dist/errors.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UnusedSafe = exports.ComponentXss = exports.DoubleEscape = exports.Xss = void 0;
function urlDocs(error) {
return `https://html.kitajs.org/packages/ts-html-plugin#${error}`;
}
exports.Xss = {
code: '0 K601',
message: 'Usage of xss-prone content without `safe` attribute. https://kitajs.github.io/ts-html-plugin#k601'
message: `Usage of xss-prone content without \`safe\` attribute. ${urlDocs('k601')}`
};
exports.DoubleEscape = {
code: '0 K602',
message: 'Double escaping detected. Please remove the `safe` attribute. https://kitajs.github.io/ts-html-plugin#k602'
message: `Double escaping detected. Please remove the \`safe\` attribute. ${urlDocs('k602')}`
};
exports.ComponentXss = {
code: '0 K603',
message: 'Xss-prone content inside a Component, wrap it into a Html.escapeHtml() call. https://kitajs.github.io/ts-html-plugin#k603'
message: `Xss-prone content inside a Component, wrap it into a Html.escapeHtml() call. ${urlDocs('k603')}`
};
exports.UnusedSafe = {
code: '0 K604',
message: 'Unused safe attribute. https://kitajs.github.io/ts-html-plugin#k604'
message: `Unused safe attribute. ${urlDocs('k604')}`
};
//# sourceMappingURL=errors.js.map
{
"name": "@kitajs/ts-html-plugin",
"version": "4.1.0",
"version": "4.1.1",
"homepage": "https://github.com/kitajs/html/tree/master/packages/ts-html-plugin#readme",

@@ -24,3 +24,3 @@ "bugs": "https://github.com/kitajs/html/issues",

"chalk": "^4.1.2",
"tslib": "^2.7.0",
"tslib": "^2.8.1",
"yargs": "^17.7.2"

@@ -30,4 +30,4 @@ },

"@swc-node/register": "^1.10.9",
"@swc/helpers": "^0.5.13",
"@types/node": "^22.5.5",
"@swc/helpers": "^0.5.15",
"@types/node": "^22.9.0",
"@types/yargs": "^17.0.33",

@@ -38,3 +38,3 @@ "fast-defer": "^1.1.8",

"peerDependencies": {
"@kitajs/html": "^4.2.2",
"@kitajs/html": "^4.2.5",
"typescript": "^5.6.2"

@@ -41,0 +41,0 @@ },

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

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