Comparing version 0.4.1 to 0.4.2
{ | ||
"name": "mlly", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "Missing ECMAScript module utils for Node.js", | ||
@@ -5,0 +5,0 @@ "repository": "unjs/mlly", |
@@ -170,3 +170,3 @@ # mlly | ||
hasESMSyntax('export default foo = 123') // true | ||
hasCJSSyntax('export default foo = 123') // false | ||
``` | ||
@@ -184,3 +184,3 @@ | ||
// { hasESM: true, hasCJS: true, isMixed: true } | ||
hasESMSyntax('export default require("lodash")') | ||
detectSyntax('export default require("lodash")') | ||
``` | ||
@@ -187,0 +187,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
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
519675
16676
20