Open twelvelabs opened 8 months ago
Thanks for reporting! We'll take a look at this.
Same here.
node: v21.2.0
npm: 10.2.4
yarn: 1.22.19
To reproduce.
FROM node:alpine3.18
ENV REDOCLY_TELEMETRY off
ENV NODE_OPTIONS --trace-deprecation
RUN npm install -g npm@10.2.4
RUN npm install -g @redocly/cli
WORKDIR /api
COPY spec.yaml /api
RUN redocly lint spec.yaml
The issue comes from AJV:
┬ @redocly/openapi-core@1.6.0 -> ./packages/core
└─┬ @redocly/ajv@8.11.0
└─┬ uri-js@4.4.1
└── punycode@2.1.1
We need to update our fork to the upstream version I think.
Update: problem also exists in Node 22 (current version)
Describe the bug
I'm getting a node depreciation warning whenever I run redocly on node v21. Looks like it's coming from
whatwg-url
. They appear to have fixed it in v13.0.0.To Reproduce
Expected behavior
No depreciation warning 😄.
Redocly Version(s)
1.4.1
Node.js
Version(s)v21.1.0