Skip to content

Commit 5e21d95

Browse files
committed
Update sb3fix to 0.4.0
1 parent 070d24d commit 5e21d95

File tree

3 files changed

+19
-17
lines changed

3 files changed

+19
-17
lines changed

lib/validate.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ module.exports = function (isSprite, input, callback) {
4444
// eslint-disable-next-line global-require
4545
var sb3fix = require('@turbowarp/sb3fix');
4646

47-
var fixed = sb3fix.fixJSON(input);
47+
var fixed = sb3fix.fixJSON(input, {
48+
platform: 'turbowarp'
49+
});
4850
validate(isSprite, fixed, function (err2, result2) {
4951
if (err2) {
5052
// Original validation error will be most useful

package-lock.json

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"dependencies": {
2323
"@turbowarp/json": "^0.1.1",
2424
"@turbowarp/jszip": "^3.11.0",
25-
"@turbowarp/sb3fix": "^0.3.0",
25+
"@turbowarp/sb3fix": "^0.4.0",
2626
"ajv": "6.3.0",
2727
"pify": "4.0.1"
2828
},

0 commit comments

Comments
 (0)