-
-
Notifications
You must be signed in to change notification settings - Fork 51
Closed
Description
Disclaimer: I am not sure this is actually a glob-stream issue, but it seems to be the only moving part.
What we did:
We are using i18next parser and recently updated dependencies.
In the process, glob-stream got updated from 8.0.0 to 8.0.1.
This broke i18next-parser.
Manually reverting back to 8.0.0 in the lock file fixed the issue.
original dependency chain: i18next-parser@8.12.0
-> vinyl-fs@4.0.0
-> glob-stream@8.0.0
updated dependency chain: i18next-parser@8.13.0
-> vinyl-fs@4.0.0
-> glob-stream@8.0.1
What were you expecting to happen?
Updating glob-stream from 8.0.0 to 8.0.1 should not be breaking.
What actually happened?
We got a RangeError: Maximum call stack size exceeded
.
Terminal output / screenshots
> i18next
i18next Parser
--------------
Input:
Output: public/locales/$LOCALE/$NAMESPACE.json
/my-project/node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js:94
return (testString, ri = false) => {
^
RangeError: Maximum call stack size exceeded
at /my-project/node_modules/.pnpm/anymatch@3.1.3/node_modules/anymatch/index.js:94:12
at EventEmitter.onPath (/my-project/node_modules/.pnpm/glob-stream@8.0.1/node_modules/glob-stream/index.js:270:20)
at EventEmitter.emit (node:events:518:28)
at processDirents (/my-project/node_modules/.pnpm/glob-stream@8.0.1/node_modules/glob-stream/index.js:88:10)
at next (/my-project/node_modules/.pnpm/now-and-later@3.0.0/node_modules/now-and-later/lib/mapSeries.js:43:5)
at handler (/my-project/node_modules/.pnpm/now-and-later@3.0.0/node_modules/now-and-later/lib/mapSeries.js:57:9)
at f (/my-project/node_modules/.pnpm/once@1.4.0/node_modules/once/once.js:25:25)
at processDirents (/my-project/node_modules/.pnpm/glob-stream@8.0.1/node_modules/glob-stream/index.js:113:7)
at next (/my-project/node_modules/.pnpm/now-and-later@3.0.0/node_modules/now-and-later/lib/mapSeries.js:43:5)
at handler (/my-project/node_modules/.pnpm/now-and-later@3.0.0/node_modules/now-and-later/lib/mapSeries.js:57:9)
Node.js v20.11.0
Please provide the following information:
- OS & version [e.g. MacOS Catalina 10.15.4]: MacOS Sonoma 14.2.1
- node version (run
node -v
): 20.11.0 - npm version (run
npm -v
): pnpm v8.15.4 - gulp version (run
gulp -v
): n/a
ceisele-r, svilen-ivanov, abutkeev, sanderkranz, pioug and 3 more
Metadata
Metadata
Assignees
Labels
No labels