Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarning on punycode and util.isArray #99

Open
MatsAndT opened this issue Jul 23, 2024 · 0 comments
Open

DeprecationWarning on punycode and util.isArray #99

MatsAndT opened this issue Jul 23, 2024 · 0 comments

Comments

@MatsAndT
Copy link

MatsAndT commented Jul 23, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant