Skip to content

Commit

Permalink
chore: update dev dependency version with security vulnerability (#1068)
Browse files Browse the repository at this point in the history
* chore: update dev dependencies of squire

* chore: update dev dependencies of code-syntax-highlight plugin

* chore: update dev dependencies of root package
  • Loading branch information
seonim-ryu authored Jul 2, 2020
1 parent dba0438 commit 75e48c3
Show file tree
Hide file tree
Showing 7 changed files with 3,557 additions and 7,385 deletions.
2,342 changes: 785 additions & 1,557 deletions libs/squire/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions libs/squire/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"build": "make build"
},
"devDependencies": {
"mocha": "2.2.5",
"mocha": "^8.0.0",
"uglify-js": "^2.4.15",
"unexpected": "8.2.0"
"unexpected": "^11.14.0"
}
}
2,397 changes: 1,409 additions & 988 deletions package-lock.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plugins/code-syntax-highlight/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ function setConfig(defaultConfig, server) {
module.exports = function(config) {
const defaultConfig = {
basePath: './',
frameworks: ['jasmine-ajax', 'jasmine-jquery', 'jasmine'],
frameworks: ['jasmine-ajax', 'jasmine'],
files: ['test/index.js'],
preprocessors: {
'test/index.js': ['webpack', 'sourcemap']
Expand Down
6,192 changes: 1,358 additions & 4,834 deletions plugins/code-syntax-highlight/package-lock.json

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion plugins/code-syntax-highlight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
"karma-coverage-istanbul-reporter": "^2.1.1",
"karma-jasmine": "^3.1.0",
"karma-jasmine-ajax": "^0.1.13",
"karma-jasmine-jquery": "^0.1.1",
"karma-sourcemap-loader": "^0.3.7",
"karma-webdriver-launcher": "github:nhn/karma-webdriver-launcher#v1.2.0",
"karma-webpack": "^4.0.2",
Expand Down
4 changes: 2 additions & 2 deletions plugins/code-syntax-highlight/test/plugin.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe('codeSyntaxHighlightPlugin', () => {
expect(container.querySelectorAll('pre code').length).toBe(1);
expect(container.querySelectorAll('pre code span').length).toBe(2);
expect(container.querySelector('pre code').getAttribute('data-language')).toBe('javascript');
expect(container.querySelector('pre code').className).toBe('lang-javascript');
expect(container.querySelector('pre').classList[0]).toBe('lang-javascript');
});

it('render codeblock element in viewer', () => {
Expand All @@ -73,7 +73,7 @@ describe('codeSyntaxHighlightPlugin', () => {
expect(container.querySelectorAll('pre code').length).toBe(1);
expect(container.querySelectorAll('pre code span').length).toBe(2);
expect(container.querySelector('pre code').getAttribute('data-language')).toBe('javascript');
expect(container.querySelector('pre code').className).toBe('lang-javascript');
expect(container.querySelector('pre').classList[0]).toBe('lang-javascript');
});

it('render code in wysiwyg', () => {
Expand Down

0 comments on commit 75e48c3

Please sign in to comment.