babel-plugin-export-metadata
Advanced tools
Comparing version 2.0.0-rc.54 to 2.0.0-rc.56
{ | ||
"name": "babel-plugin-export-metadata", | ||
"version": "2.0.0-rc.54", | ||
"version": "2.0.0-rc.56", | ||
"description": "Add file metadata for function declarations", | ||
@@ -41,3 +41,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "2f12854a9e10677684ccef40cb14381a7d23dc7e" | ||
"gitHead": "4faf77a35f03e12a42d3b1f9491bfbf43881da05" | ||
} |
@@ -6,3 +6,3 @@ const path = require('path') | ||
const buildFileMeta = template(` | ||
if (typeof ID !== 'undefined' && ID && ID === Object(ID) && Object.isExtensible(ID)) { | ||
if (typeof ID !== 'undefined' && ID && ID === Object(ID) && Object.isExtensible(ID) && !ID.hasOwnProperty('__filemeta')) { | ||
Object.defineProperty(ID, '__filemeta', { | ||
@@ -9,0 +9,0 @@ configurable: true, |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
10579
0