misode / upgrader

https://misode.github.io/upgrader/
MIT License
20 stars 2 forks source link

Error: Invalid version range: 1.19 > 1.17.1 #29

Closed UlianovKazah closed 2 years ago

UlianovKazah commented 2 years ago

An error occurred while upgrading a data pack. Data Pack:

Error: Invalid version range: 1.19 > 1.17.1
    at Object.b (src/Pack.ts:224:9)
    at (https://misode.github.io/upgrader/assets/index.bc64b549.js:20:1688) (src/components/PackCard.tsx:68:15)
    at Object.__ (src/components/PackCard.tsx:75:37)
    at Tt (../../node_modules/preact/hooks/dist/hooks.module.js:1:2256)
    at Array.forEach (<anonymous>)
    at (https://misode.github.io/upgrader/assets/index.bc64b549.js:1:10951) (../../node_modules/preact/hooks/dist/hooks.module.js:1:1319)
    at Array.forEach (<anonymous>)
    at yn (../../node_modules/preact/hooks/dist/hooks.module.js:1:1255)
misode commented 2 years ago

The error is as expected. You can't downgrade a data pack

TheeMrCheeky commented 1 year ago

The error is as expected. You can't downgrade a data pack

is it just impossible to downgrade one or can you make it so you can?? (new to datapacks started making them recently your stuff helps ALOT)

misode commented 1 year ago

Usually new versions add features which enable things that weren't possible before, so only a small subset of downgrade paths would be possible. Because the use case is so small I'm going going to spend the time developing those.