Socket
Socket
Sign inDemoInstall

@thi.ng/hiccup

Package Overview
Dependencies
Maintainers
1
Versions
255
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/hiccup - npm Package Compare versions

Comparing version 2.1.2 to 2.2.0

1

api.d.ts

@@ -14,2 +14,3 @@ export declare const SVG_NS = "http://www.w3.org/2000/svg";

export declare const NO_SPANS: {
button: number;
option: number;

@@ -16,0 +17,0 @@ text: number;

@@ -22,2 +22,3 @@ "use strict";

exports.NO_SPANS = {
button: 1,
option: 1,

@@ -24,0 +25,0 @@ text: 1,

4

package.json
{
"name": "@thi.ng/hiccup",
"version": "2.1.2",
"version": "2.2.0",
"description": "HTML/SVG/XML serialization of nested data structures, iterables & closures",

@@ -32,3 +32,3 @@ "main": "./index.js",

"dependencies": {
"@thi.ng/checks": "^1.5.8",
"@thi.ng/checks": "^1.5.9",
"@thi.ng/errors": "^0.1.7"

@@ -35,0 +35,0 @@ },

@@ -162,2 +162,5 @@ "use strict";

}
if (implements_function_1.implementsFunction(tree, "toHiccup")) {
return _serialize(tree.toHiccup(ctx), ctx, esc, span, keys, path);
}
if (implements_function_1.implementsFunction(tree, "deref")) {

@@ -164,0 +167,0 @@ return _serialize(tree.deref(), ctx, esc, span, keys, path);

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