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

hast-to-hyperscript

Package Overview
Dependencies
Maintainers
2
Versions
29
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hast-to-hyperscript - npm Package Compare versions

Comparing version 8.1.0 to 8.1.1

2

index.js

@@ -157,3 +157,3 @@ 'use strict'

// Ignore nully and `NaN` values.
// Ignore nullish and `NaN` values.
// Ignore `false` and falsey known booleans for hyperlike DSLs.

@@ -160,0 +160,0 @@ if (

{
"name": "hast-to-hyperscript",
"version": "8.1.0",
"version": "8.1.1",
"description": "hast utility to transform to something else (react, vue, etc) through a hyperscript DSL",

@@ -25,5 +25,5 @@ "license": "MIT",

"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",

@@ -40,3 +40,3 @@ "contributors": [

"comma-separated-tokens": "^1.0.0",
"property-information": "^5.0.0",
"property-information": "^5.3.0",
"space-separated-tokens": "^1.0.0",

@@ -57,3 +57,3 @@ "style-to-object": "^0.3.0",

"remark-preset-wooorm": "^7.0.0",
"tape": "^4.0.0",
"tape": "^5.0.0",
"tinyify": "^2.0.0",

@@ -65,3 +65,3 @@ "unist-builder": "^2.0.0",

"vue-server-renderer": "^2.0.0",
"xo": "^0.29.0"
"xo": "^0.30.0"
},

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

"rules": {
"unicorn/no-fn-reference-in-iterator": "off",
"unicorn/prefer-type-error": "off",

@@ -97,0 +98,0 @@ "guard-for-in": "off",

@@ -12,3 +12,3 @@ # hast-to-hyperscript

[**hast**][hast] utility to transform a [*tree*][tree] to something else through
a [hyperscript][] DSL.
a [hyperscript][] interface.

@@ -45,3 +45,3 @@ ## Install

// Transform (`hyperscript` needs `outerHTML` to stringify):
// Transform (`hyperscript` needs `outerHTML` to serialize):
var doc = toH(h, tree).outerHTML

@@ -63,3 +63,3 @@

Transform a [**hast**][hast] [*tree*][tree] to something else through a
[hyperscript][] DSL.
[hyperscript][] interface.

@@ -73,3 +73,3 @@ ###### Parameters

— Prefix to use as a prefix for keys passed in `attrs` to `h()`,
this behaviour is turned off by passing `false`, turned on by passing
this behavior is turned off by passing `false`, turned on by passing
a `string`.

@@ -151,3 +151,3 @@ By default, `h-` is used as a prefix if the given `h` is detected as being

* [`hastscript`][hastscript]
— Hyperscript compatible DSL for creating nodes
— Hyperscript compatible interface for creating nodes
* [`hast-util-sanitize`][sanitize]

@@ -154,0 +154,0 @@ — Sanitize nodes

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