New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

posthtml-ast-is-empty

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posthtml-ast-is-empty - npm Package Compare versions

Comparing version 1.0.0 to 1.1.0

2

package.json
{
"name": "posthtml-ast-is-empty",
"version": "1.0.0",
"version": "1.1.0",
"description": "Find out, is nested array/object/string tree is empty",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -37,2 +37,32 @@ # posthtml-ast-is-empty

These are empty things, for example:
```js
{
a: ''
}
```
or
```js
{
a: ['']
b: {c: {d: ''}}
}
```
or
```js
[
{
a: ['']
b: {c: {d: ''}}
},
'',
['', '', '']
]
```
Here's how we judge if things _are empty_:

@@ -39,0 +69,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