@transifex/native 3.2.0 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -2
- package/dist/browser.native.js +2 -8
- package/dist/browser.native.js.LICENSE.txt +6 -0
- package/dist/browser.native.js.map +1 -1
- package/dist/node.native.js +2 -8
- package/dist/node.native.js.LICENSE.txt +20 -0
- package/dist/node.native.js.map +1 -1
- package/package.json +18 -16
- package/webpack.browser.js +0 -16
- package/webpack.node.js +1 -18
package/package.json
CHANGED
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@transifex/native",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "Transifex Native
|
|
3
|
+
"version": "4.0.0",
|
|
4
|
+
"description": "i18n framework using Transifex Native",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"transifex",
|
|
7
7
|
"i18n",
|
|
8
8
|
"l10n",
|
|
9
|
-
"localization"
|
|
9
|
+
"localization",
|
|
10
|
+
"internationalization",
|
|
11
|
+
"globalization",
|
|
12
|
+
"translation"
|
|
10
13
|
],
|
|
11
14
|
"author": "Transifex",
|
|
12
15
|
"homepage": "https://github.com/transifex/transifex-javascript/tree/master/packages/native",
|
|
@@ -28,31 +31,30 @@
|
|
|
28
31
|
"url": "https://github.com/transifex/transifex-javascript/issues"
|
|
29
32
|
},
|
|
30
33
|
"engines": {
|
|
31
|
-
"node": ">=
|
|
34
|
+
"node": ">=14.0.0"
|
|
32
35
|
},
|
|
33
36
|
"devDependencies": {
|
|
34
|
-
"@babel/core": "^7.17.
|
|
35
|
-
"@babel/plugin-transform-runtime": "^7.
|
|
36
|
-
"@babel/preset-env": "^7.
|
|
37
|
-
"@babel/runtime": "^7.17.
|
|
37
|
+
"@babel/core": "^7.17.10",
|
|
38
|
+
"@babel/plugin-transform-runtime": "^7.17.10",
|
|
39
|
+
"@babel/preset-env": "^7.17.10",
|
|
40
|
+
"@babel/runtime": "^7.17.9",
|
|
38
41
|
"babel-eslint": "^10.1.0",
|
|
39
|
-
"babel-loader": "^8.
|
|
42
|
+
"babel-loader": "^8.2.5",
|
|
40
43
|
"chai": "^4.3.4",
|
|
41
44
|
"eslint": "^7.28.0",
|
|
42
45
|
"eslint-config-airbnb-base": "^14.2.0",
|
|
43
|
-
"eslint-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"mocha": "^9.1.3",
|
|
46
|
+
"eslint-plugin-import": "^2.26.0",
|
|
47
|
+
"glob": "^8.0.1",
|
|
48
|
+
"mocha": "^10.0.0",
|
|
47
49
|
"nock": "^13.1.0",
|
|
48
50
|
"nyc": "^15.1.0",
|
|
49
51
|
"source-map-support": "^0.5.19",
|
|
50
|
-
"webpack": "^
|
|
51
|
-
"webpack-cli": "^
|
|
52
|
+
"webpack": "^5.72.0",
|
|
53
|
+
"webpack-cli": "^4.9.2"
|
|
52
54
|
},
|
|
53
55
|
"dependencies": {
|
|
54
56
|
"@messageformat/core": "^3.0.0",
|
|
55
|
-
"axios": "^0.
|
|
57
|
+
"axios": "^0.27.2",
|
|
56
58
|
"md5": "^2.3.0"
|
|
57
59
|
}
|
|
58
60
|
}
|
package/webpack.browser.js
CHANGED
|
@@ -21,22 +21,6 @@ module.exports = {
|
|
|
21
21
|
],
|
|
22
22
|
module: {
|
|
23
23
|
rules: [
|
|
24
|
-
{
|
|
25
|
-
test: /\.(js|jsx)$/,
|
|
26
|
-
enforce: 'pre',
|
|
27
|
-
use: [
|
|
28
|
-
{
|
|
29
|
-
options: {
|
|
30
|
-
cache: true,
|
|
31
|
-
configFile: '.eslintrc.json',
|
|
32
|
-
formatter: 'eslint-formatter-pretty',
|
|
33
|
-
emitWarning: true,
|
|
34
|
-
failOnError: true,
|
|
35
|
-
},
|
|
36
|
-
loader: 'eslint-loader',
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
},
|
|
40
24
|
{
|
|
41
25
|
test: /\.(js|jsx)$/,
|
|
42
26
|
exclude: /(node_modules)/,
|
package/webpack.node.js
CHANGED
|
@@ -20,23 +20,6 @@ module.exports = {
|
|
|
20
20
|
}),
|
|
21
21
|
],
|
|
22
22
|
module: {
|
|
23
|
-
rules: [
|
|
24
|
-
{
|
|
25
|
-
test: /\.(js|jsx)$/,
|
|
26
|
-
enforce: 'pre',
|
|
27
|
-
use: [
|
|
28
|
-
{
|
|
29
|
-
options: {
|
|
30
|
-
cache: true,
|
|
31
|
-
configFile: '.eslintrc.json',
|
|
32
|
-
formatter: 'eslint-formatter-pretty',
|
|
33
|
-
emitWarning: true,
|
|
34
|
-
failOnError: true,
|
|
35
|
-
},
|
|
36
|
-
loader: 'eslint-loader',
|
|
37
|
-
},
|
|
38
|
-
],
|
|
39
|
-
},
|
|
40
|
-
],
|
|
23
|
+
rules: [],
|
|
41
24
|
},
|
|
42
25
|
};
|