Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ coverage:
status:
project:
default:
target: "80%"
target: "70%"
patch:
enabled: false
40 changes: 20 additions & 20 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,38 +19,38 @@
"watch": "gulp watch"
},
"devDependencies": {
"babel-core": "^6.25.0",
"babel-eslint": "^8.0.0",
"babel-jest": "^21.0.2",
"babel-plugin-transform-es2015-block-scoping": "^6.24.1",
"babel-preset-env": "^1.6.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.3",
"babel-jest": "^22.0.3",
"babel-plugin-transform-es2015-block-scoping": "^6.26.0",
"babel-preset-env": "^1.6.1",
"babel-preset-es2015": "^6.24.1",
"babel-traverse": "^6.25.0",
"babel-traverse": "^6.26.0",
"butternut": "^0.4.6",
"bytes": "^3.0.0",
"chalk": "^2.0.1",
"chalk": "^2.3.0",
"cli-table": "^0.3.1",
"closure-compiler": "^0.2.12",
"codecov": "^2.3.0",
"commander": "^2.11.0",
"eslint": "^4.4.0",
"eslint-plugin-prettier": "^2.3.1",
"fs-readdir-recursive": "^1.0.0",
"google-closure-compiler-js": "^20170910.0.0",
"codecov": "^3.0.0",
"commander": "^2.12.2",
"eslint": "^4.13.1",
"eslint-plugin-prettier": "^2.4.0",
"fs-readdir-recursive": "^1.1.0",
"google-closure-compiler-js": "^20171203.0.0",
"gulp": "github:gulpjs/gulp#4.0",
"gulp-babel": "^7.0.0",
"gulp-newer": "^1.3.0",
"gulp-util": "^3.0.8",
"jest-cli": "^21.1.0",
"lerna": "^2.0.0",
"lerna-changelog": "^0.6.0",
"jest-cli": "^22.0.3",
"lerna": "^2.5.1",
"lerna-changelog": "^0.7.0",
"markdown-table": "^1.1.1",
"minimist": "^1.2.0",
"prettier": "^1.5.3",
"request": "^2.81.0",
"rimraf": "^2.6.1",
"prettier": "^1.9.2",
"request": "^2.83.0",
"rimraf": "^2.6.2",
"through2": "^2.0.3",
"uglify-js": "^3.0.27",
"uglify-js": "^3.2.2",
"util.promisify": "^1.0.0"
},
"engines": {
Expand Down
6 changes: 3 additions & 3 deletions packages/babel-minify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
},
"repository": "https://github.com/babel/minify/tree/master/packages/babel-minify",
"dependencies": {
"babel-core": "^6.24.1",
"babel-core": "^6.26.0",
"babel-preset-minify": "^0.2.0",
"fs-readdir-recursive": "^1.0.0",
"fs-readdir-recursive": "^1.1.0",
"mkdirp": "^0.5.1",
"util.promisify": "^1.0.0",
"yargs-parser": "^7.0.0"
"yargs-parser": "^8.0.0"
}
}
3 changes: 2 additions & 1 deletion packages/babel-plugin-minify-mangle-names/src/charset.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"use strict";

const CHARSET = ("abcdefghijklmnopqrstuvwxyz" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ$_"
const CHARSET = (
"abcdefghijklmnopqrstuvwxyz" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ$_"
).split("");

module.exports = class Charset {
Expand Down
4 changes: 3 additions & 1 deletion packages/babel-plugin-minify-mangle-names/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -481,7 +481,9 @@ module.exports = babel => {
} else {
throw new Error(
`Unexpected Rename Error: ` +
`Trying to replace "${node.name}": from "${oldName}" to "${newName}". ` +
`Trying to replace "${
node.name
}": from "${oldName}" to "${newName}". ` +
`Please report it at ${newIssueUrl}`
);
}
Expand Down
6 changes: 2 additions & 4 deletions packages/babel-plugin-minify-numeric-literals/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,8 @@ module.exports = function() {
dotIndex,
exponential.lastIndexOf("e") - dotIndex
).length;
exponential = (exponential.substr(
0,
exponential.lastIndexOf("e") + 1
) +
exponential = (
exponential.substr(0, exponential.lastIndexOf("e") + 1) +
(lastChar - subLength)
)
.replace(".", "")
Expand Down
16 changes: 7 additions & 9 deletions packages/babel-plugin-minify-type-constructors/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,13 @@ function replaceObject(t, path) {
}
}

function defaults(
{
boolean = true,
number = true,
string = true,
array = true,
object = true
} = {}
) {
function defaults({
boolean = true,
number = true,
string = true,
array = true,
object = true
} = {}) {
return {
boolean,
number,
Expand Down
2 changes: 1 addition & 1 deletion packages/gulp-babel-minify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"main": "lib/index.js",
"repository": "https://github.com/babel/minify/tree/master/packages/gulp-babel-minify",
"dependencies": {
"babel-core": "^6.25.0",
"babel-core": "^6.26.0",
"babel-preset-minify": "^0.2.0",
"gulp-util": "^3.0.8",
"through2": "^2.0.3",
Expand Down
16 changes: 7 additions & 9 deletions scripts/plugin-timing.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,13 @@ const Table = require("cli-table");
const hop = (o, key) => Object.hasOwnProperty.call(o, key);

class Benchmark {
constructor(
{
now = () => process.hrtime(),
diff = start => {
const delta = process.hrtime(start);
return delta[0] * 1e3 + delta[1] / 1e6;
}
} = {}
) {
constructor({
now = () => process.hrtime(),
diff = start => {
const delta = process.hrtime(start);
return delta[0] * 1e3 + delta[1] / 1e6;
}
} = {}) {
this.events = {};
this.visits = {};
this.results = {};
Expand Down
Loading