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

babel-gettext-extractor

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-gettext-extractor - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json
{
"name": "babel-gettext-extractor",
"version": "1.0.0",
"version": "1.0.1",
"description": " Extract gettext string with babel",

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

@@ -1,2 +0,2 @@

# babel-gettext-plugin
# babel-gettext-extractor

@@ -13,3 +13,3 @@ Extract gettext string with babel support syntax JSX, ES6, ... It is based on

babel.transform(code, { plugins:["babel-gettext-plugin"]});
babel.transform(code, { plugins:["babel-gettext-extractor"]});
```

@@ -21,3 +21,3 @@

```
babel --plugins babel-gettext-plugin code.js
babel --plugins babel-gettext-extractor code.js
```

@@ -34,3 +34,4 @@

functionNames: <Object>,
fileName: <String>
fileName: <String>,
baseDirectory: <String>
}

@@ -63,2 +64,11 @@ }

### fileName ###
The filename where the end result is placed.
### baseDirectory ###
If provided, then file names are chopped off in relation to this base path
if filenames start with that path.
License

@@ -65,0 +75,0 @@ =======

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