Commit 34f9c1b4 authored by Julien Puydt's avatar Julien Puydt

New upstream version 1.4.5

parent 44fc3ef2
# sourcemap-codec changelog
## 1.4.5
* Handle overflow cases ([#78](https://github.com/Rich-Harris/sourcemap-codec/pull/78))
## 1.4.4
* Use Uint32Array, yikes ([#77](https://github.com/Rich-Harris/sourcemap-codec/pull/77))
......
{
"name": "sourcemap-codec",
"version": "1.4.4",
"version": "1.4.5",
"description": "Encode/decode sourcemap mappings",
"main": "dist/sourcemap-codec.umd.js",
"module": "dist/sourcemap-codec.es.js",
......@@ -34,15 +34,15 @@
"devDependencies": {
"codecov.io": "^0.1.6",
"console-group": "^0.3.3",
"eslint": "^5.6.0",
"eslint-plugin-import": "^2.14.0",
"eslint": "^6.0.1",
"eslint-plugin-import": "^2.18.0",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"remap-istanbul": "^0.12.0",
"rollup": "^0.66.0",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-typescript": "^1.0.0",
"typescript": "^3.0.3"
"mocha": "^6.1.4",
"remap-istanbul": "^0.13.0",
"rollup": "^1.16.4",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript": "^1.0.1",
"typescript": "^3.5.2"
},
"files": [
"dist/*.js",
......
......@@ -157,7 +157,10 @@ describe('sourcemap-codec', () => {
describe('decode()', () => {
tests.forEach((test, i) => {
it('decodes sample ' + i, () => {
assert.deepEqual(decode(test.encoded), test.decoded);
const expected = test.decoded.map(line => {
return line.map(segment => new Int32Array(segment));
});
assert.deepEqual(decode(test.encoded), expected);
});
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment