Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-export-metadata

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-export-metadata - npm Package Compare versions

Comparing version 2.0.0-rc.54 to 2.0.0-rc.56

4

package.json
{
"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,

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