Skip to content

Commit

Permalink
Update packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikos Vasileiou committed Jan 10, 2024
1 parent 3790a75 commit b9d0748
Show file tree
Hide file tree
Showing 20 changed files with 212 additions and 192 deletions.
26 changes: 13 additions & 13 deletions packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,33 +42,33 @@
"@angular/router": "~14.3.0",
"@transifex/native": "^6.0.2",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
"tslib": "^2.6.2",
"zone.js": "^0.11.8"
},
"devDependencies": {
"@angular-devkit/architect": "^0.1402.11",
"@angular-devkit/build-angular": "^14.2.11",
"@angular-devkit/build-angular": "^14.2.13",
"@angular-eslint/builder": "^14.4.0",
"@angular-eslint/eslint-plugin": "^14.4.0",
"@angular-eslint/eslint-plugin-template": "^14.4.0",
"@angular-eslint/schematics": "14.4.0",
"@angular-eslint/template-parser": "^14.4.0",
"@angular/cli": "^14.2.11",
"@angular/cli": "^14.2.13",
"@angular/compiler-cli": "^14.3.0",
"@types/jasmine": "~4.0.0",
"@types/node": "^16.18.23",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"eslint": "^8.23.0",
"eslint-config-airbnb-typescript": "^16.0.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.25.3",
"@types/node": "^16.18.70",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-typescript": "^16.2.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-rxjs": "^5.0.3",
"eslint-plugin-rxjs-angular": "^2.0.0",
"eslint-plugin-rxjs-angular": "^2.0.1",
"eslint-plugin-tsdoc": "^0.2.17",
"eslint-plugin-unicorn": "^46.0.0",
"eslint-plugin-unicorn": "^46.0.1",
"jasmine-core": "~4.3.0",
"jasmine-spec-reporter": "^7.0.0",
"karma": "~6.4.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"no-plusplus": "off",
"no-underscore-dangle": "off"
},
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
Expand Down
24 changes: 12 additions & 12 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,23 @@
"publish-npm": "npm publish"
},
"dependencies": {
"core-js": "^3.22.4"
"core-js": "^3.35.0"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/core": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@babel/cli": "^7.23.4",
"@babel/core": "^7.23.7",
"@babel/eslint-parser": "^7.23.3",
"@babel/preset-env": "^7.23.8",
"@transifex/jsonapi": "^6.0.2",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.2.5",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.26.0",
"webpack": "^5.72.0",
"webpack-cli": "^4.8.0"
"babel-loader": "^9.1.3",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"publishConfig": {
"access": "public"
Expand Down
30 changes: 15 additions & 15 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,32 @@
"access": "public"
},
"dependencies": {
"@babel/parser": "^7.20.3",
"@babel/traverse": "^7.20.1",
"@colors/colors": "^1.5.0",
"@oclif/core": "^1.20.4",
"@babel/parser": "^7.23.6",
"@babel/traverse": "^7.23.7",
"@colors/colors": "^1.6.0",
"@oclif/core": "^1.26.2",
"@transifex/native": "^6.0.2",
"@vue/compiler-sfc": "^3.2.45",
"@vue/compiler-sfc": "^3.4.7",
"angular-html-parser": "^1.8.0",
"axios": "^1.1.3",
"ejs": "^3.1.8",
"glob": "^8.0.3",
"axios": "^1.6.5",
"ejs": "^3.1.9",
"glob": "^8.1.0",
"lodash": "^4.17.21",
"pug": "^3.0.2"
},
"devDependencies": {
"@oclif/dev-cli": "^1.26.10",
"@oclif/test": "^2.2.12",
"chai": "^4.3.7",
"eslint": "^8.28.0",
"@oclif/test": "^2.5.6",
"chai": "^4.4.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"mocha": "^10.1.0",
"nock": "^13.2.9",
"eslint-plugin-import": "^2.29.1",
"mocha": "^10.2.0",
"nock": "^13.4.0",
"nyc": "^15.1.0"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"files": [
"/bin",
Expand Down
31 changes: 15 additions & 16 deletions packages/dom/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,24 @@
"url": "https://github.com/transifex/transifex-javascript/issues"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/plugin-transform-runtime": "^7.19.6",
"@babel/preset-env": "^7.20.2",
"@babel/runtime": "^7.20.1",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.3.0",
"chai": "^4.3.7",
"eslint": "^7.28.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.23.4",
"glob": "^8.0.1",
"@babel/core": "^7.23.7",
"@babel/plugin-transform-runtime": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"@babel/runtime": "^7.23.8",
"babel-loader": "^9.1.3",
"chai": "^5.0.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1",
"glob": "^8.1.0",
"linkedom": "0.14.18",
"mocha": "^10.1.0",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"source-map-support": "^0.5.19",
"webpack": "^5.75.0",
"webpack-cli": "^4.9.2"
"source-map-support": "^0.5.21",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
}
}
3 changes: 2 additions & 1 deletion packages/dom/src/operations.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ export function SET_FRAGMENT({ item, text, document }) {
}
// add it to element
(item.snodeBefore || item.snodeAfter).parentNode.insertBefore(
frag, item.snodeAfter,
frag,
item.snodeAfter,
);
}

Expand Down
8 changes: 4 additions & 4 deletions packages/express/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@
"url": "https://github.com/transifex/transifex-javascript/issues"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"devDependencies": {
"@transifex/native": "^6.0.2",
"eslint": "^8.10.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.25.4",
"jest": "^28.0.3"
"eslint-plugin-import": "^2.29.1",
"jest": "^29.7.0"
},
"dependencies": {
"type-is": "^1.6.18"
Expand Down
34 changes: 17 additions & 17 deletions packages/i18next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,26 +32,26 @@
"url": "https://github.com/transifex/transifex-javascript/issues"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"devDependencies": {
"@babel/core": "^7.17.10",
"@babel/plugin-transform-runtime": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"@babel/runtime": "^7.17.8",
"babel-loader": "^8.1.0",
"chai": "^4.3.4",
"eslint": "^7.28.0",
"eslint-config-airbnb-base": "^14.2.0",
"eslint-plugin-import": "^2.23.4",
"glob": "^8.0.1",
"i18next": "^21.6.16",
"mocha": "^10.0.0",
"nock": "^13.2.4",
"@babel/core": "^7.23.7",
"@babel/plugin-transform-runtime": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"@babel/runtime": "^7.23.8",
"babel-loader": "^9.1.3",
"chai": "^5.0.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1",
"glob": "^8.1.0",
"i18next": "^23.7.16",
"mocha": "^10.2.0",
"nock": "^13.4.0",
"nyc": "^15.1.0",
"source-map-support": "^0.5.19",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2"
"source-map-support": "^0.5.21",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@transifex/native": "^6.0.2"
Expand Down
6 changes: 4 additions & 2 deletions packages/i18next/src/TransifexI18next.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ export default class TransifexI18next {

read(language, namespace, callback) {
this.tx.fetchTranslations(language).then(() => {
callback(null,
this._convertPlurals(this.tx.cache.getTranslations(language)));
callback(
null,
this._convertPlurals(this.tx.cache.getTranslations(language)),
);
}).catch((err) => {
callback(err, null);
});
Expand Down
2 changes: 1 addition & 1 deletion packages/jsonapi/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"no-plusplus": "off",
"no-underscore-dangle": "off"
},
"parser": "babel-eslint",
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
Expand Down
30 changes: 15 additions & 15 deletions packages/jsonapi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,25 +27,25 @@
"url": "https://github.com/transifex/transifex-javascript/issues"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"devDependencies": {
"@babel/cli": "^7.17.10",
"@babel/preset-env": "^7.17.10",
"babel-eslint": "^10.1.0",
"babel-jest": "^28.0.3",
"babel-loader": "^8.2.5",
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.26.0",
"jest": "^28.0.3",
"webpack": "^5.72.0",
"webpack-cli": "^4.8.0"
"@babel/cli": "^7.23.4",
"@babel/eslint-parser": "^7.23.3",
"@babel/preset-env": "^7.23.8",
"babel-jest": "^29.7.0",
"babel-loader": "^9.1.3",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1",
"jest": "^29.7.0",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"axios": "^0.27.2",
"core-js": "^3.22.4",
"axios": "^1.6.5",
"core-js": "^3.35.0",
"lodash": "^4.17.21",
"regenerator-runtime": "^0.13.9"
"regenerator-runtime": "^0.14.1"
}
}
4 changes: 3 additions & 1 deletion packages/jsonapi/src/resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@ export default class Resource {
)
) {
this.related[relationshipName] = Collection.fromData(
this.constructor.API, resources, url,
this.constructor.API,
resources,
url,
);
}
}
Expand Down
21 changes: 10 additions & 11 deletions packages/native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,19 @@
"url": "https://github.com/transifex/transifex-javascript/issues"
},
"engines": {
"node": ">=14.0.0"
"node": ">=16.0.0"
},
"browserslist": "> 0.5%, last 2 versions, Firefox ESR, not dead",
"devDependencies": {
"@babel/core": "^7.23.5",
"@babel/plugin-transform-runtime": "^7.23.4",
"@babel/preset-env": "^7.23.5",
"@babel/runtime": "^7.23.5",
"babel-eslint": "^10.1.0",
"babel-loader": "^8.3.0",
"chai": "^4.3.10",
"eslint": "^7.28.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.29.0",
"@babel/core": "^7.23.7",
"@babel/plugin-transform-runtime": "^7.23.7",
"@babel/preset-env": "^7.23.8",
"@babel/runtime": "^7.23.8",
"babel-loader": "^9.1.3",
"chai": "^5.0.0",
"eslint": "^8.56.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"nock": "^13.4.0",
Expand Down
8 changes: 6 additions & 2 deletions packages/native/src/TxNative.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,12 @@ export default class TxNative {
if (!isString(translation)) translation = `${translation}`;
return translation;
} catch (err) {
return this.errorPolicy.handle(err,
`${sourceString}`, locale, params);
return this.errorPolicy.handle(
err,
`${sourceString}`,
locale,
params,
);
}
}

Expand Down
Loading

0 comments on commit b9d0748

Please sign in to comment.