From 62950ff9e9b7863ea0840710d6c3732a325501d7 Mon Sep 17 00:00:00 2001 From: Matt Rothenberg Date: Thu, 14 Sep 2023 11:01:41 +0100 Subject: [PATCH] fix: bump replicate lib version (#71) --- package-lock.json | 20 ++++++++++++++------ package.json | 4 ++-- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5628a97..3e063d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,6 +7,7 @@ "": { "name": "scribble-diffusion", "version": "1.0.0", + "hasInstallScript": true, "dependencies": { "@prisma/client": "^4.10.1", "@vercel/analytics": "^0.1.10", @@ -21,7 +22,7 @@ "react-sketch-canvas": "^6.2.0", "react-spinners": "^0.13.8", "react-tooltip": "^5.13.0", - "replicate": "github:replicate/replicate-javascript#deployments", + "replicate": "^0.18.0", "upload-js-full": "^1.22.0" }, "devDependencies": { @@ -3559,9 +3560,15 @@ } }, "node_modules/replicate": { - "version": "0.12.1", - "resolved": "git+ssh://git@github.com/replicate/replicate-javascript.git#632321066a37ef00413bda29b004e02ade31197d", - "license": "Apache-2.0" + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/replicate/-/replicate-0.18.0.tgz", + "integrity": "sha512-b1SabhR4XFXqWbM4551tmc7hL+x+dnzka9YA6lcbzbyGDPHKELRdgRc6nn9jxK1VyTg70O39mCIo0e15DVZELw==", + "engines": { + "git": ">=2.11.0", + "node": ">=18.0.0", + "npm": ">=7.19.0", + "yarn": ">=1.7.0" + } }, "node_modules/resolve": { "version": "1.22.2", @@ -6794,8 +6801,9 @@ "dev": true }, "replicate": { - "version": "git+ssh://git@github.com/replicate/replicate-javascript.git#632321066a37ef00413bda29b004e02ade31197d", - "from": "replicate@github:replicate/replicate-javascript#deployments" + "version": "0.18.0", + "resolved": "https://registry.npmjs.org/replicate/-/replicate-0.18.0.tgz", + "integrity": "sha512-b1SabhR4XFXqWbM4551tmc7hL+x+dnzka9YA6lcbzbyGDPHKELRdgRc6nn9jxK1VyTg70O39mCIo0e15DVZELw==" }, "resolve": { "version": "1.22.2", diff --git a/package.json b/package.json index 24837b0..a433e82 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "react-sketch-canvas": "^6.2.0", "react-spinners": "^0.13.8", "react-tooltip": "^5.13.0", - "replicate": "github:replicate/replicate-javascript#deployments", + "replicate": "^0.18.0", "upload-js-full": "^1.22.0" }, "devDependencies": { @@ -44,4 +44,4 @@ "tailwindcss": "^3.1.8", "tailwindcss-animate": "^1.0.5" } -} \ No newline at end of file +}