From 4d927769640a08b69cf5be7252e528d531d91ab1 Mon Sep 17 00:00:00 2001 From: Oren Leiman Date: Wed, 24 Jul 2024 12:32:56 -0700 Subject: [PATCH] DNM: Hack avsc dependency to point to oleiman fork w/ SlowBuffer 'fix' Signed-off-by: Oren Leiman --- .../js/schema_registry_example/package-lock.json | 5 ++--- src/transform-sdk/js/schema_registry_example/package.json | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/transform-sdk/js/schema_registry_example/package-lock.json b/src/transform-sdk/js/schema_registry_example/package-lock.json index f48f2dfa8dea2..22265d0760e82 100644 --- a/src/transform-sdk/js/schema_registry_example/package-lock.json +++ b/src/transform-sdk/js/schema_registry_example/package-lock.json @@ -8,7 +8,7 @@ "dependencies": { "@redpanda-data/transform-sdk": "file:../module", "@redpanda-data/transform-sdk-sr": "file:../sr-module", - "avsc": "^5.7.7" + "avsc": "github:oleiman/avsc#v5.x-redpanda" }, "devDependencies": { "esbuild": "0.20.x", @@ -416,8 +416,7 @@ }, "node_modules/avsc": { "version": "5.7.7", - "resolved": "https://registry.npmjs.org/avsc/-/avsc-5.7.7.tgz", - "integrity": "sha512-9cYNccliXZDByFsFliVwk5GvTq058Fj513CiR4E60ndDwmuXzTJEp/Bp8FyuRmGyYupLjHLs+JA9/CBoVS4/NQ==", + "resolved": "git+ssh://git@github.com/oleiman/avsc.git#0598b6a671e1761fdc0ef42f5e219215bfe9d45b", "engines": { "node": ">=0.11" } diff --git a/src/transform-sdk/js/schema_registry_example/package.json b/src/transform-sdk/js/schema_registry_example/package.json index e109f712d3178..a651691648451 100644 --- a/src/transform-sdk/js/schema_registry_example/package.json +++ b/src/transform-sdk/js/schema_registry_example/package.json @@ -8,7 +8,7 @@ "dependencies": { "@redpanda-data/transform-sdk": "file:../module", "@redpanda-data/transform-sdk-sr": "file:../sr-module", - "avsc": "^5.7.7" + "avsc": "github:oleiman/avsc#v5.x-redpanda" }, "devDependencies": { "esbuild": "0.20.x",