Skip to content

Commit

Permalink
2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lukastaegert committed Mar 29, 2020
1 parent d6376f4 commit 9fa326f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "rollup",
"version": "2.2.0",
"version": "2.3.0",
"description": "Next-generation ES module bundler",
"main": "dist/rollup.js",
"module": "dist/es/rollup.js",
Expand Down
6 changes: 1 addition & 5 deletions test/cli/samples/watch/clearScreen/_config.js
Expand Up @@ -2,7 +2,6 @@ const assert = require('assert');

const CLEAR_SCREEN = '\u001bc';
const UNDERLINE = '\u001b[4m';
const NO_UNDERLINE = '\u001b[24m';

module.exports = {
description: 'clears the screen before bundling',
Expand All @@ -14,9 +13,6 @@ module.exports = {
}
},
stderr(stderr) {
assert.strictEqual(
stderr.slice(0, 25),
`${CLEAR_SCREEN}${UNDERLINE}rollup v2.2.0${NO_UNDERLINE}\n`
);
assert.strictEqual(stderr.slice(0, 12), `${CLEAR_SCREEN}${UNDERLINE}rollup`);
},
};
3 changes: 1 addition & 2 deletions test/cli/samples/watch/no-clearScreen/_config.js
@@ -1,7 +1,6 @@
const assert = require('assert');

const UNDERLINE = '\u001b[4m';
const NO_UNDERLINE = '\u001b[24m';

module.exports = {
description: 'allows disabling clearing the screen',
Expand All @@ -13,6 +12,6 @@ module.exports = {
}
},
stderr(stderr) {
assert.strictEqual(stderr.slice(0, 23), `${UNDERLINE}rollup v2.2.0${NO_UNDERLINE}\n`);
assert.strictEqual(stderr.slice(0, 10), `${UNDERLINE}rollup`);
},
};

0 comments on commit 9fa326f

Please sign in to comment.