Skip to content

Commit 1d6711d

Browse files
committed
chore: upgrade javascript dependencies
1 parent e8d1f79 commit 1d6711d

File tree

10 files changed

+5182
-4351
lines changed

10 files changed

+5182
-4351
lines changed

.npmrc

-2
This file was deleted.

.nvmrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v22.13.0
1+
v22.14.0

.tool-versions

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
nodejs 22.13.0
2-
pnpm 9.15.4
1+
nodejs 22.14.0
2+
pnpm 10.7.0
33
rust 1.78.0
44
python 3.12.4

Dockerfile.node

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:22.13.0-slim@sha256:f5a0871ab03b035c58bdb3007c3d177b001c2145c18e81817b71624dcf7d8bff as builder-base
1+
FROM node:22.14.0-slim@sha256:bac8ff0b5302b06924a5e288fb4ceecef9c8bb0bb92515985d2efdc3a2447052 as builder-base
22
WORKDIR /usr/src/pyth
33
ENV PNPM_HOME="/pnpm"
44
ENV PATH="$PNPM_HOME:$PATH"
@@ -8,7 +8,7 @@ COPY ./ .
88
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
99

1010

11-
FROM node:22.13.0-alpine3.21@sha256:f2dc6eea95f787e25f173ba9904c9d0647ab2506178c7b5b7c5a3d02bc4af145 as runner-base
11+
FROM node:22.14.0-alpine3.21@sha256:9bef0ef1e268f60627da9ba7d7605e8831d5b56ad07487d24d1aa386336d1944 as runner-base
1212
WORKDIR /srv
1313
ENV NODE_ENV production
1414
RUN addgroup --system --gid 1001 pyth && adduser --system --uid 1001 pyth -g pyth && chown pyth:pyth .
@@ -19,7 +19,7 @@ FROM builder-base AS builder
1919
ARG package
2020
ENV CI true
2121
RUN pnpm turbo build --filter $package
22-
RUN pnpm deploy --filter $package --prod /srv/$package
22+
RUN pnpm deploy --legacy --filter $package --prod /srv/$package
2323

2424

2525
FROM runner-base AS runner

apps/api-reference/src/browser-logger.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import { IS_PRODUCTION_BUILD } from "./isomorphic-config";
66
let LOGGER: Logger | undefined;
77

88
export const getLogger = (): Logger => {
9-
if (LOGGER === undefined) {
10-
LOGGER = pino({ browser: { disabled: IS_PRODUCTION_BUILD } });
11-
}
9+
LOGGER ??= pino({ browser: { disabled: IS_PRODUCTION_BUILD } });
1210
return LOGGER;
1311
};

apps/insights/src/components/PriceFeed/chart.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,7 @@ const useChartElem = (symbol: string, feedId: string) => {
141141

142142
useEffect(() => {
143143
if (current && chartRef.current) {
144-
if (!earliestDateRef.current) {
145-
earliestDateRef.current = current.timestamp;
146-
}
144+
earliestDateRef.current ??= current.timestamp;
147145
const { price, confidence } = current.aggregate;
148146
const time = getLocalTimestamp(
149147
new Date(Number(current.timestamp * 1000n)),

flake.lock

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+3-11
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"name": "@pythnetwork/pyth-crosschain",
33
"private": true,
4-
"packageManager": "pnpm@9.15.4",
4+
"packageManager": "pnpm@10.7.0",
55
"engines": {
6-
"node": "^22.11.0",
7-
"pnpm": "^9.15.3"
6+
"node": "^22.14.0",
7+
"pnpm": "^10.7.0"
88
},
99
"scripts": {
1010
"fix:format": "prettier --write .",
@@ -19,13 +19,5 @@
1919
"prettier": "catalog:",
2020
"prettier-plugin-solidity": "catalog:",
2121
"turbo": "^2.4.4"
22-
},
23-
"pnpm": {
24-
"overrides": {
25-
"@solana/[email protected]>rpc-websockets": "7.11.0"
26-
},
27-
"patchedDependencies": {
28-
29-
}
3022
}
3123
}

0 commit comments

Comments
 (0)