Skip to content

Commit

Permalink
Upgrade glob to 10.2.2 (support Node >= 16)
Browse files Browse the repository at this point in the history
Upgrade the `glob` dependency to its latest version which does not rely anymore on the transitive dependency `inflight`. This is interesting because `inflight` contains a [memory-leak issue](isaacs/inflight-DEPRECATED-DO-NOT-USE#5) which is raised by Security scanners like Checkmarx.

ALso, glob@9 introduced Typescript support, so there is no need for the `@types/glob` package anymore.

As a consequence, the minimum Node version required is 16 because support for older versions was dropped by glob@9.
  • Loading branch information
Clémence Mousset committed Apr 26, 2023
1 parent daf7b83 commit 95aaaf4
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 296 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
This is a fork of a great library by Biesbjerg.
(But the original Beisbjerg's library is unfortunately no longer being developed)
(But the original Biesbjerg's library is unfortunately no longer being developed)

This library adds compatibility for **Angular 13** and **Angular 14**...

Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"@types/chai": "^4.3.3",
"@types/flat": "^5.0.2",
"@types/gettext-parser": "4.0.1",
"@types/glob": "^8.0.0",
"@types/mocha": "^9.1.1",
"@types/node": "^16",
"braces": "^3.0.2",
Expand All @@ -43,7 +42,7 @@
"colorette": "^2.0.16",
"flat": "^5.0.2",
"gettext-parser": "^4.2.0",
"glob": "^7.2.0",
"glob": "^10.2.2",
"path": "^0.12.7",
"terminal-link": "^3.0.0",
"yargs": "^17.5.1"
Expand Down Expand Up @@ -87,7 +86,7 @@
},
"homepage": "https://github.com/bartholomej/ngx-translate-extract",
"engines": {
"node": ">=14"
"node": ">=16"
},
"config": {},
"publishConfig": {
Expand Down
Loading

0 comments on commit 95aaaf4

Please sign in to comment.