Skip to content

Commit

Permalink
Fix all security issues
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunner committed Jun 24, 2020
1 parent 0db38c5 commit 5bcc9db
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ script:
- '! (npm run typecheck|grep gmf)'
- '! (npm run typecheck|grep test)'
- '! (npm run typecheck|grep examples)'
- npm run doc
- npm run doc > /dev/null
- npm run build-api

deploy:
Expand Down
10 changes: 6 additions & 4 deletions buildtools/webpack.api.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@ module.exports = (env, argv) => {
]
},
plugins: [
new CopyWebpackPlugin([{
from: './api/src/api.css',
to: dest
}])
new CopyWebpackPlugin({
patterns: [{
from: './api/src/api.css',
to: dest
}]
})
]
};
};
6 changes: 3 additions & 3 deletions buildtools/webpack.ngeoexamples.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ for (const filename of ls('examples/*.html')) {
}

// move data folder
plugins.push(new CopyWebpackPlugin(
[
plugins.push(new CopyWebpackPlugin({
patterns: [
{
from: 'examples/data/*',
to: 'data',
flatten: true
},
]
));
}));

module.exports = {
entry: entry,
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"co": "4.6.0",
"commander": "2.20.0",
"console-control-strings": "1.1.0",
"copy-webpack-plugin": "5.0.3",
"copy-webpack-plugin": "6.0.2",
"corejs-typeahead": "1.2.1",
"css-loader": "2.1.1",
"d3": "5.9.2",
Expand All @@ -95,7 +95,7 @@
"jquery-ui": "1.12.1",
"jquery-ui-touch-punch": "0.2.3",
"jsts": "2.0.4",
"karma": "4.1.0",
"karma": "5.1.0",
"karma-chrome-launcher": "2.2.0",
"karma-jasmine": "2.0.1",
"karma-sourcemap-loader": "0.3.7",
Expand All @@ -120,12 +120,12 @@
"svgo": "1.2.2",
"svgo-loader": "2.2.0",
"terser": "3.17.0",
"terser-webpack-plugin": "1.2.3",
"terser-webpack-plugin": "3.0.6",
"ts-node": "8.1.0",
"tsconfig-paths": "3.8.0",
"typedoc": "0.14.2",
"typescript": "3.5.1",
"webpack": "4.30.0",
"webpack": "4.37.0",
"webpack-cli": "3.3.11",
"webpack-dev-server": "3.11.0",
"webpack-merge": "4.2.1"
Expand Down

0 comments on commit 5bcc9db

Please sign in to comment.