- New
writeSync
method - same options aswrite
(#16) - User-supplied content is correctly used in
sourcesContent
withloadSync
(#16)
- Handle segments of length 1 (normal segments have a length of 4 or 5) (#10)
- Fix
excludeContent
CLI option (#12) - Fix
sources
array on Windows (#11)
- Handle URLs that look a bit like data URIs
- Use rollup for building, instead of esperanto
- sourceRoot is respected
- sourceMappingURLs are correctly encoded
- Better CSS sourcemap handling (old comments are removed, new comments are block-style)
- Handle CSS sourcemap comments
- Fix build definition to prevent ES6-only features appearing in dist files
- Hook up to Travis CI
- Update tests to not use gobble (since latest gobble uses sorcery by default)
- Allow user to supply content and sourcemaps, if available (#8)
- Remove all existing sourceMappingURL comments
- Allow
base
to be specified onchain.write()
, i.e.chain.write({ base: somethingOtherThanDest })
- Internal refactor
- Handle sourceMappingURLs with spaces (#6)
- Encode URLs when writing sourceMappingURL comments
- Better handling of inline data URIs
- Ensure trailing newline on
chain.write()
(#4) - Upgrade dependencies
- Cache decodings for better performance
- Add
node.stat()
method for rudimentary profiling
- Significant (>2x) performance improvements (achieved by replacing
forEach
andmap
withfor
/while
loops where appropriate, and avoiding hard-to-transpile destructuring)
- Correct behaviour on Windows (#3)
- Handle browserify-style line mappings
- Re-architect as ES6 modules, add
jsnext:main
field to package.json
absolutePath
option ensuressourceMappingURL
is an absolute path to the resulting.map
file
- CLI now uses
chain.write()
internally
chain.write()
will overwrite the existing file, if no destination is supplied- sorcery will use the
sourcesContent
array, rather than reading additional files, if possible
- Implement
chain.write()
- Various bug fixes
- Redesigned API around
sorcery.load()
- consult the docs - Command line interface
sorcery.resolve()
fulfils withnull
if the target file has no sourcemap
- First release. Here be dragons.