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

babel-gettext-extractor

Package Overview
Dependencies
Maintainers
4
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 3.0.0 to 4.0.0

7

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

@@ -29,8 +29,7 @@ "main": "index.js",

"dependencies": {
"babel-core": "^6.0.0",
"@babel/core": "^7.0.0",
"gettext-parser": "^1.1.2"
},
"devDependencies": {
"babel": "^6.0.0",
"babel-preset-react": "^6.5.0",
"@babel/preset-react": "^7.0.0",
"eslint": "^3.19.0",

@@ -37,0 +36,0 @@ "eslint-config-airbnb": "14.1.0",

@@ -9,3 +9,3 @@ [![Build Status](https://travis-ci.org/mozilla/babel-gettext-extractor.svg?branch=master)](https://travis-ci.org/mozilla/babel-gettext-extractor)

Supports babel 6.
Supports babel 7.

@@ -12,0 +12,0 @@ Install

var assert = require('assert');
var babel = require('babel-core');
var babel = require('@babel/core');

@@ -148,3 +148,3 @@ var fs = require('fs');

var result = babel.transform('let jsx = <h1>{_t("title")}</h1>', {
presets: ['react'],
presets: ['@babel/react'],
plugins: [

@@ -151,0 +151,0 @@ [plugin, {

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