pocketbase-typegen
pocketbase-typegen copied to clipboard
DeprecationWarning on punycode and util.isArray
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