From b17dda39bf64d7a179bf6805b434c746c9779142 Mon Sep 17 00:00:00 2001 From: alex baldwin Date: Mon, 19 Feb 2024 17:36:37 -0500 Subject: [PATCH] use cubeghost/tumblr.js, node 18 https://github.com/webpack/webpack/issues/14532 --- .github/workflows/node.js.yml | 2 +- package.json | 10 +++++----- yarn.lock | 5 ++--- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 4fdf935..4101683 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [18.x] # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ steps: diff --git a/package.json b/package.json index aef9977..1d9a4bd 100644 --- a/package.json +++ b/package.json @@ -12,14 +12,14 @@ "scripts": { "watch": "npm-run-all --parallel watch:*", "watch:server": "nodemon --watch src ./src/index.js", - "watch:client": "webpack --watch", - "build": "webpack", + "watch:client": "NODE_OPTIONS=--openssl-legacy-provider webpack --watch", + "build": "NODE_OPTIONS=--openssl-legacy-provider webpack", "start": "node src/index.js", "test": "mocha \"./src/**/tests/*.js\"", "watch:test": "mocha --watch --recursive \"./src/**/tests/*.js\"" }, "engines": { - "node": "16.x" + "node": "18.x" }, "dependencies": { "@babel/runtime": "^7.7.4", @@ -43,7 +43,7 @@ "redis": "^2.8.0", "sass": "^1.38.0", "stringify": "^5.1.0", - "tumblr.js": "4.0.1", + "tumblr.js": "https://codeload.github.com/cubeghost/tumblr.js/legacy.tar.gz/refs/heads/main", "winston": "^3.2.1" }, "devDependencies": { @@ -100,4 +100,4 @@ "eslintConfig": { "extends": "./eslint.js" } -} +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index a4cd97d..bea445c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7561,10 +7561,9 @@ tty-browserify@0.0.0: resolved "https://registry.yarnpkg.com/tty-browserify/-/tty-browserify-0.0.0.tgz#a157ba402da24e9bf957f9aa69d524eed42901a6" integrity sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY= -tumblr.js@4.0.1: +"tumblr.js@https://codeload.github.com/cubeghost/tumblr.js/legacy.tar.gz/refs/heads/main": version "4.0.1" - resolved "https://registry.yarnpkg.com/tumblr.js/-/tumblr.js-4.0.1.tgz#ea4cfc5aa8fe9558862ee89cbd6b2520aaa8b60a" - integrity sha512-DwVJxSw9nj8NAPh0Sqp0PeT/sFXB728iIxJHMKWAoxNZnuzp3Kcyq3EM6F+R3F8ZPO8dUBq2JXIpNWC53O9hcQ== + resolved "https://codeload.github.com/cubeghost/tumblr.js/legacy.tar.gz/refs/heads/main#1f76ba24e2881885fa6ee0bd7875e1caecaa9faf" dependencies: "@types/node" ">=16" "@types/oauth" "^0.9.1"