Commit graph

9 commits

Author SHA1 Message Date
Karishma Chadha
da7c3d12c1 refactor(unzip): remove support for gzip files
remove gzip dependency and support for gzip files as that was an unused code path

BREAKING CHANGE: Gzipped files are no longer supported as input to the parser.
2019-03-15 12:23:40 -04:00
chrisgarrity
750e866444 fix(unzip): handle sb2 files zipped with a folder
Uses a pattern to find the sprite or project json in a zipped folder or flat list of files.

Added tests for
* loading a sprite or project with a nested folder
* loading a file without a json

Fixes 
2019-02-07 11:24:33 +01:00
Karishma Chadha
b0d1e46cd8 test(tests): fix up tests to accommodate new apis 2018-05-02 23:46:26 -04:00
Karishma Chadha
36b90ce8c6 test($test): Add tests for new gzip support. 2018-04-05 13:34:56 -04:00
Andrew Sliwinski
0fe264a05b refactor: Merge changes from upstream and resolve issues with interface and test coverage
Merges in changes from upstream and resolves issues with both the removal of the analysis library as
well as issues with lint rules and integration tests.
2018-03-24 11:36:17 -04:00
Andrew Sliwinski
f7cb29dff6 refactor: Extricates analysis from the scope of this project
Removes the ./lib/analysis module from the scope of this project along with all related
documentation and test coverage.

BREAKING CHANGE: Module no longer provides a _meta object with returned project object.
2018-03-24 11:19:01 -04:00
Karishma Chadha
f767d6d4cb test($test): Fix up and add to existing tests.
Fixed up existing test coverage to accommodate the recent breaking changes.
2018-03-23 09:38:14 -04:00
Karishma Chadha
7e6cb8327a feat(unpack): Unpacker can now take string as input.
Allow unpacker to properly handle string as input, so that project json string (loaded from
scratch-storage) can be fed into scratch-parser.
2018-02-26 15:42:12 -05:00
Andrew Sliwinski
a0a03ef679 Initial functioning parser 2016-03-18 19:51:40 -04:00