Socket
Socket
Sign inDemoInstall

ast-types

Package Overview
Dependencies
Maintainers
1
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ast-types - npm Package Compare versions

Comparing version 0.2.22 to 0.2.23

8

lib/types.js

@@ -307,9 +307,3 @@ var assert = require("assert");

var child = field.getValue(value);
var result = type.check(child, deep);
if (result) {
// If the default function returned something suitable, go
// ahead and fill it in to promote general good hygiene.
value[name] = child;
}
return result;
return type.check(child, deep);
}

@@ -316,0 +310,0 @@

2

package.json

@@ -21,3 +21,3 @@ {

],
"version": "0.2.22",
"version": "0.2.23",
"homepage": "http://github.com/benjamn/ast-types",

@@ -24,0 +24,0 @@ "repository": {

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