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

@allthings/react-intl-extract-messages

Package Overview
Dependencies
Maintainers
8
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@allthings/react-intl-extract-messages - npm Package Compare versions

Comparing version 0.1.1 to 0.2.0

test/test-project/tmp/components/App.jsx

14

index.js

@@ -33,2 +33,3 @@ const childProcess = require('child_process')

`--module esnext`,
`--jsx preserve`,
`--sourceMap false`,

@@ -38,7 +39,14 @@ '--declaration false',

// needs a spawned shell, so execFileSync doesn't work here
childProcess.execSync(`${typescriptBinary} ${args}`)
try {
// needs a spawned shell, so execFileSync doesn't work here
childProcess.execSync(`${typescriptBinary} ${args}`)
} catch (e) {
tmpDir.removeCallback()
throw new Error(e.stdout.toString())
}
const files = glob.sync(path.join(tmpDir.name, '**/*.js'))
const files = glob.sync(path.join(tmpDir.name, '**/*.@(js|jsx)'))
const babelCompileOptions = {
presets: ['@babel/preset-react'],
plugins: [

@@ -45,0 +53,0 @@ require('@babel/plugin-syntax-dynamic-import'),

{
"name": "@allthings/react-intl-extract-messages",
"version": "0.1.1",
"version": "0.2.0",
"bin": "cli.js",

@@ -14,2 +14,3 @@ "main": "index.js",

"@babel/plugin-syntax-dynamic-import": "7.0.0",
"@babel/preset-react": "7.0.0",
"babel-plugin-react-intl": "3.0.1",

@@ -23,2 +24,5 @@ "glob": "7.1.3",

},
"scripts": {
"postversion": "git push origin master --follow-tags && npm publish"
},
"prettier": {

@@ -25,0 +29,0 @@ "semi": false,

Sorry, the diff of this file is not supported yet

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