hast-to-hyperscript
Advanced tools
Comparing version 10.0.2 to 10.0.3
@@ -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 @@ |
{ | ||
"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 @@ }, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
16738
445
Updatedstyle-to-object@^0.4.1