Socket
Socket
Sign inDemoInstall

ast-module-types

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ast-module-types - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

2

index.js

@@ -26,3 +26,3 @@ // Whether or not the node represents an AMD define() call

// at which it still has at least 3 parents
return types.isRequire(node) && node.parent.parent.parent.type === 'Program';
return this.isRequire(node) && node.parent.parent.parent.type === 'Program';
};

@@ -29,0 +29,0 @@

{
"name": "ast-module-types",
"version": "1.1.0",
"version": "1.1.1",
"description": "Collection of useful helper functions when trying to determine module type (CommonJS or AMD) properties of an AST node.",

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

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