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

@atlassian/i18n-properties-loader

Package Overview
Dependencies
Maintainers
19
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlassian/i18n-properties-loader - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

index.js

10

package.json
{
"name": "@atlassian/i18n-properties-loader",
"version": "0.1.0",
"version": "0.2.0",
"description": "A Webpack loader for i18n *.properties files that can be used in Atlassian Server products",

@@ -29,3 +29,9 @@ "main": "index.js",

"homepage": "https://bitbucket.org/atlassianlabs/fe-server#readme",
"gitHead": "1557fc778ab593f8dfe7b1a9f1b82e662b61ae4d"
"dependencies": {
"loader-utils": "^1.2.3",
"lodash.debounce": "^4.0.8",
"properties-reader": "0.0.16",
"schema-utils": "^1.0.0"
},
"gitHead": "150c7c87f2fd76675d022f871e2395122fb5133c"
}

54

README.md
# @atlassian/i18n-properties-loader
A Webpack loader for i18n *.properties files that can be used in Atlassian Server products
A Webpack loader for i18n `*.properties` files that can be used in Atlassian Server products
## Install
```sh
npm install @atlassian/i18n-properties-loader --save-dev
```
## Usage
```js
// webpack.config.js
const i18nFiles = [
'foo/i18n/my-translation-file.properties',
'foo/bar/i18n/my-other-translation-file.properties',
'bar/i18n/some-translation-file.properties',
];
module.exports = {
module: {
rules: [
{
test: /\.jsx?$/,
include: ["src"],
use: [
{
loader: '@atlassian/i18n-properties-loader',
options: {
i18nFiles
},
},
{
loader: 'babel-loader'
}
]
}
]
}
}
```
## Options
- `i18nFiles` list of paths to your `*.properties` files (required)
- `disabled` disables the loader; can we used to disabled in production bundle (optional, default `false`)
## Links
- [https://www.npmjs.com/package/@atlassian/i18n-properties-loader](https://www.npmjs.com/package/@atlassian/i18n-properties-loader)
- [https://www.npmjs.com/package/@atlassian/wrm-react-i18n](https://www.npmjs.com/package/@atlassian/wrm-react-i18n)
- [https://www.npmjs.com/package/atlassian-webresource-webpack-plugin](https://www.npmjs.com/package/atlassian-webresource-webpack-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