Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump packages #1538

Merged
merged 1 commit into from
Aug 4, 2022
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
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,22 +34,22 @@
"prettier-project": "prettier --write './packages/**/{bin,src,__tests__}/**/*.js'"
},
"devDependencies": {
"@babel/cli": "7.16.8",
"@babel/core": "7.18.9",
"@babel/preset-env": "7.18.9",
"@babel/cli": "7.18.10",
"@babel/core": "7.18.10",
"@babel/preset-env": "7.18.10",
"babel-core": "6.26.3",
"babel-jest": "28.1.3",
"babel-preset-env": "1.7.0",
"codecov": "3.8.3",
"eslint": "8.21.0",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-prettier": "4.0.0",
"husky": "7.0.4",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-prettier": "4.2.1",
"husky": "8.0.1",
"jest": "27.4.5",
"lerna": "4.0.0",
"lint-staged": "12.1.4",
"node-notifier": "10.0.0",
"prettier": "2.5.1",
"lerna": "5.3.0",
"lint-staged": "13.0.3",
"node-notifier": "10.0.1",
"prettier": "2.7.1",
"rimraf": "3.0.2"
},
"lint-staged": {
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-minify/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
"dependencies": {
"@node-minify/utils": "^6.3.0",
"babel-core": "6.26.3",
"babel-preset-minify": "0.5.1"
"babel-preset-minify": "0.5.2"
}
}
4 changes: 2 additions & 2 deletions packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
"@node-minify/core": "^6.3.0",
"@node-minify/utils": "^6.3.0",
"chalk": "4.1.2",
"commander": "8.3.0",
"commander": "9.4.0",
"ora": "5.4.1",
"update-notifier": "5.1.0"
"update-notifier": "6.0.2"
}
}
39 changes: 0 additions & 39 deletions packages/core/__tests__/core.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,42 +82,6 @@ describe('Package: core', () => {
});

describe('Create errors', () => {
test('should catch an error if gcc with bad options', () => {
const options = {};
options.minify = {
compressor: gcc,
input: filesJS.oneFile,
output: filesJS.fileJSOut,
options: {
fake: true
},
callback: () => {}
};
const spy = jest.spyOn(options.minify, 'callback');

return minify(options.minify).catch(err => {
expect(spy).toHaveBeenCalled();
return expect(err.toString()).toMatch('"--fake" is not a valid option');
});
});

test('should catch an error if gcc with bad options and sync', () => {
const options = {};
options.minify = {
compressor: gcc,
input: filesJS.oneFile,
output: filesJS.fileJSOut,
sync: true,
options: {
fake: true
}
};

return minify(options.minify).catch(err => {
return expect(err.toString()).toMatch('"--fake" is not a valid option');
});
});

test('should catch an error if yui with bad options', () => {
const options = {};
options.minify = {
Expand All @@ -129,12 +93,10 @@ describe('Package: core', () => {
fake: true
}
};

return minify(options.minify).catch(err => {
return expect(err.toString()).toMatch('Error');
});
});

test('should catch an error if yui with bad options and sync', () => {
const options = {};
options.minify = {
Expand All @@ -147,7 +109,6 @@ describe('Package: core', () => {
fake: true
}
};

return minify(options.minify).catch(err => {
return expect(err.toString()).toMatch('Error');
});
Expand Down
2 changes: 1 addition & 1 deletion packages/csso/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@
},
"dependencies": {
"@node-minify/utils": "^6.3.0",
"csso": "5.0.2"
"csso": "5.0.4"
}
}
Loading