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 10.0.2 to 10.0.3

6

lib/index.js

@@ -57,9 +57,5 @@ /**

import {stringify as commas} from 'comma-separated-tokens'
// @ts-expect-error: typed incorrectly
import styleToObject from 'style-to-object'
import {webNamespaces} from 'web-namespaces'
/** @type {(value: string, replacer: ((key: string, value: string) => void)) => void} */
const style = styleToObject
const own = {}.hasOwnProperty

@@ -368,3 +364,3 @@

try {
style(value, (name, value) => {
styleToObject(value, (name, value) => {
if (name.slice(0, 4) === '-ms-') name = 'ms-' + name.slice(4)

@@ -371,0 +367,0 @@

4

package.json
{
"name": "hast-to-hyperscript",
"version": "10.0.2",
"version": "10.0.3",
"description": "Legacy hast utility to transform to something else",

@@ -34,3 +34,3 @@ "license": "MIT",

"space-separated-tokens": "^2.0.0",
"style-to-object": "^0.4.0",
"style-to-object": "^0.4.1",
"web-namespaces": "^2.0.0"

@@ -37,0 +37,0 @@ },

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