mdast-util-phrasing
Advanced tools
Comparing version 1.0.2 to 1.0.3
14
index.js
'use strict' | ||
var is = require('unist-util-is') | ||
var convert = require('unist-util-is/convert') | ||
module.exports = isPhrasing | ||
var phrasing = [ | ||
var isPhrasing = convert([ | ||
'break', | ||
@@ -20,7 +18,5 @@ 'delete', | ||
'text' | ||
] | ||
]) | ||
// Check if a node is a phrasing element. | ||
function isPhrasing(node) { | ||
return is(phrasing, node) | ||
} | ||
isPhrasing.displayName = 'isPhrasing' | ||
module.exports = isPhrasing |
{ | ||
"name": "mdast-util-phrasing", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Check if a node is a phrasing element", | ||
@@ -26,3 +26,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"unist-util-is": "^2.1.1" | ||
"unist-util-is": "^3.0.0" | ||
}, | ||
@@ -29,0 +29,0 @@ "devDependencies": { |
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
5706
18
+ Addedunist-util-is@3.0.0(transitive)
- Removedunist-util-is@2.1.3(transitive)
Updatedunist-util-is@^3.0.0