Skip to content

Commit f1cc729

Browse files
committed
remove axios, fix bad import
1 parent bcfc732 commit f1cc729

File tree

3 files changed

+2
-15
lines changed

3 files changed

+2
-15
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
"@rollup/plugin-node-resolve": "^9.0.0",
2828
"@rollup/plugin-url": "^5.0.1",
2929
"@rollup/plugin-yaml": "^3.0.0",
30-
"axios": "^0.21.0",
3130
"babel-preset-env": "^1.7.0",
3231
"babel-preset-latest": "^6.24.1",
3332
"chalk": "^4.1.0",

src/animatedJava.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import './util/minecraft/items'
1717
import './util/minecraft/entities'
1818
import { intl } from './util/intl'
1919
import { CustomError } from './util/customError'
20-
import * as nbt from './util/SNBT2'
20+
import * as nbt from './util/SNBT'
2121

2222
const errorMessages = [
2323
'Uh oh!',
@@ -80,7 +80,7 @@ const ANIMATED_JAVA = {
8080
registerExportFunc(name: string, exportFunc: () => void) {
8181
store.getStore('exporters').set(name, exportFunc)
8282
},
83-
parse: nbt.parse,
83+
SNBT: nbt.SNBT,
8484
settings,
8585
store: store,
8686
format: modelFormat,

yarn.lock

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1562,13 +1562,6 @@ argparse@^2.0.1:
15621562
resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38"
15631563
integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==
15641564

1565-
axios@^0.21.0:
1566-
version "0.21.4"
1567-
resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575"
1568-
integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==
1569-
dependencies:
1570-
follow-redirects "^1.14.0"
1571-
15721565
babel-code-frame@^6.26.0:
15731566
version "6.26.0"
15741567
resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b"
@@ -2438,11 +2431,6 @@ firebase@^9.6.1:
24382431
"@firebase/storage-compat" "0.1.8"
24392432
"@firebase/util" "1.4.2"
24402433

2441-
follow-redirects@^1.14.0:
2442-
version "1.14.4"
2443-
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.4.tgz#838fdf48a8bbdd79e52ee51fb1c94e3ed98b9379"
2444-
integrity sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g==
2445-
24462434
fs-extra@8.1.0:
24472435
version "8.1.0"
24482436
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-8.1.0.tgz#49d43c45a88cd9677668cb7be1b46efdb8d2e1c0"

0 commit comments

Comments
 (0)