pocketbase-typegen icon indicating copy to clipboard operation
pocketbase-typegen copied to clipboard

DeprecationWarning on punycode and util.isArray

Open MatsAndT opened this issue 7 months ago • 0 comments

Describe the bug DeprecationWarning when I run npx pocketbase-typegen --env -o src/lib/types/pocketbase-types.ts, the script stops/frezz. But the pocketbase-types.ts is updated with the new changes. Log:

% npx pocketbase-typegen --env -o src/lib/types/pocketbase-types_.ts
(node:31280) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
(node:31280) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.

Versions pocketbase-typegen version: 1.2.1 pocketbase version: 0.22.17 - 0.22.12

MatsAndT avatar Jul 23 '24 21:07 MatsAndT