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

convert-root-import

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

convert-root-import - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"name": "convert-root-import",
"version": "1.0.2",
"version": "1.0.3",
"description": "Convert paths used in babel-plugin-root-import to relative ones",

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

@@ -10,4 +10,5 @@ # `convert-root-import`

```
convert-root-import -o some-file.js`
convert-root-import -o some-file.js
```
See `convert-root-import --help` for more information.

@@ -19,5 +20,8 @@

# change JSX files
find src/client -name '*.jsx' -exec convert-root-import -o {} \;`
find src/client -name '*.jsx' -exec convert-root-import -o {} \;
```
## Installation
`npm install -g convert-root-import`
## Caveats

@@ -24,0 +28,0 @@ This is a simple tool that doesn't build an AST, and only works line-wise. As such, it does not handle multi-line

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