Socket
Socket
Sign inDemoInstall

mdast-util-phrasing

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mdast-util-phrasing - npm Package Compare versions

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": {

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