New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-plugin-tiny-import

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-tiny-import - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

7

lib/plugins/tiny-import.js

@@ -71,4 +71,7 @@ /**

return moduleName.replace(/\/*$/, '/')
+ moduleMapper.trim().replace(/^\/*(.*)\/*$/, '$1')
+ imported.replace(/^\/*/, '/')
+ (moduleMapper && moduleMapper.trim()
? moduleMapper.trim().replace(/^\/*(.*?)\/*$/, '$1/')
: ''
)
+ imported.replace(/^\/*/, '')
}

@@ -75,0 +78,0 @@ })(moduleMapper)

{
"name": "babel-plugin-tiny-import",
"version": "0.0.4",
"version": "0.0.5",
"description": "split import from wrap package",

@@ -5,0 +5,0 @@ "private": false,

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