From c6249b1b9b90559a3cdb34e2df5ff131cd275de4 Mon Sep 17 00:00:00 2001 From: xeals Date: Thu, 27 Apr 2023 09:45:47 +1000 Subject: [PATCH] use smogon calc re-publish --- calc.js | 2 +- package-lock.json | 19 +++++++++---------- package.json | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/calc.js b/calc.js index de889d3..3869f80 100644 --- a/calc.js +++ b/calc.js @@ -4,7 +4,7 @@ import calc, { Field, Move, Pokemon, -} from "@smogon/calc"; +} from "@ajhyndman/smogon-calc"; import assert from "assert"; import chev, { Lexer } from "chevrotain"; diff --git a/package-lock.json b/package-lock.json index 4a0715c..0b84844 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,10 +9,18 @@ "version": "1.0.0", "license": "WTFPL", "dependencies": { - "@smogon/calc": "https://gitpkg.now.sh/smogon/damage-calc/calc?master", + "@ajhyndman/smogon-calc": "^0.8.0", "chevrotain": "^10.5.0" } }, + "node_modules/@ajhyndman/smogon-calc": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@ajhyndman/smogon-calc/-/smogon-calc-0.8.0.tgz", + "integrity": "sha512-jx/gY1uSD70skzE0xE7+lUPp7KxKKqj3PcyRLMCejbd9A68PwnBKfbDP3pW5ILX9Dy+9R9m6OkiPCa9K4qi/pQ==", + "dependencies": { + "@types/node": "^18.14.2" + } + }, "node_modules/@chevrotain/cst-dts-gen": { "version": "10.5.0", "resolved": "https://registry.npmjs.org/@chevrotain/cst-dts-gen/-/cst-dts-gen-10.5.0.tgz", @@ -42,15 +50,6 @@ "resolved": "https://registry.npmjs.org/@chevrotain/utils/-/utils-10.5.0.tgz", "integrity": "sha512-hBzuU5+JjB2cqNZyszkDHZgOSrUUT8V3dhgRl8Q9Gp6dAj/H5+KILGjbhDpc3Iy9qmqlm/akuOI2ut9VUtzJxQ==" }, - "node_modules/@smogon/calc": { - "version": "0.7.0", - "resolved": "https://gitpkg.now.sh/smogon/damage-calc/calc?master", - "integrity": "sha512-+t+olmnpyxGkdtXVxf/6mNMRqr+/ufKtddRZV29pM0Sd2wzbvasB0Q3I8G2yAz6aC8Zovx4fDZ/isidmDX4eDA==", - "license": "MIT", - "dependencies": { - "@types/node": "^18.14.2" - } - }, "node_modules/@types/node": { "version": "18.16.1", "resolved": "https://registry.npmjs.org/@types/node/-/node-18.16.1.tgz", diff --git a/package.json b/package.json index 705699f..c7cefef 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ "author": "", "license": "WTFPL", "dependencies": { - "@smogon/calc": "https://gitpkg.now.sh/smogon/damage-calc/calc?master", + "@ajhyndman/smogon-calc": "^0.8.0", "chevrotain": "^10.5.0" } }