Socket
Socket
Sign inDemoInstall

@skyscanner/babel-plugin-skyscanner-i18n

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

@skyscanner/babel-plugin-skyscanner-i18n - npm Package Compare versions

Comparing version 0.3.0 to 1.0.0

.husky/pre-commit

7

.eslintrc.json
{
"parser": "babel-eslint",
"extends": [
"skyscanner-with-prettier"
"@skyscanner/skyscanner"
],

@@ -9,3 +9,8 @@ "env": {

"node": true
},
"settings": {
"react": {
"version": "16.4"
}
}
}

5

index.js

@@ -70,3 +70,4 @@ /* eslint-disable no-console */

...previous,
[`${leftDelimiter}${current.key.name}${rightDelimiter}`]: current.value,
[`${leftDelimiter}${current.key.name}${rightDelimiter}`]:
current.value,
}),

@@ -78,3 +79,3 @@ {},

.split(pattern)
.filter(component => component !== '')
.filter((component) => component !== '')
.reduce((previous, current, i) => {

@@ -81,0 +82,0 @@ let previousNode = previous;

{
"name": "@skyscanner/babel-plugin-skyscanner-i18n",
"version": "0.3.0",
"version": "1.0.0",
"description": "A Babel transform plugin to replace strings with their translations.",

@@ -14,4 +14,4 @@ "license": "MIT",

"engines": {
"node": "^12.10.0",
"npm": "^6.10.3"
"node": "^16.14.2",
"npm": "^8.5.5"
},

@@ -27,26 +27,12 @@ "keywords": [

"publish": "npm_config_registry=https://registry.npmjs.org/ npx np",
"test": "jest"
"test": "jest",
"prepare": "husky install"
},
"devDependencies": {
"@babel/core": "^7.7.7",
"babel-eslint": "^10.0.3",
"babel-jest": "^24.9.0",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^17.1.1",
"eslint-config-skyscanner": "^4.1.0",
"eslint-config-skyscanner-with-prettier": "^0.8.0",
"eslint-plugin-backpack": "^0.2.3",
"eslint-plugin-es": "^2.0.0",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-no-only-tests": "^2.4.0",
"husky": "^3.1.0",
"jest": "^24.9.0"
},
"husky": {
"hooks": {
"pre-commit": "npm test",
"pre-push": "npm test"
}
"@babel/core": "^7.17.8",
"@skyscanner/eslint-config-skyscanner": "^12.0.0",
"babel-jest": "^27.5.1",
"husky": "^7.0.0",
"jest": "^27.5.1"
}
}

Sorry, the diff of this file is not supported yet

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