Skip to content

Commit

Permalink
Merge pull request #1009 from enykeev/update_dependencies
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
arm4b authored Oct 21, 2023
2 parents e409aaa + f67a712 commit 41d7540
Show file tree
Hide file tree
Showing 5 changed files with 2,551 additions and 2,013 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ Changelog
in development
--------------

Changed
~~~~~~~
* Updated various dependencies (security). #1009

Contributed by @enykeev

Fixed
~~~~~
* Fixed CircleCI tests by pinning [email protected]. #1008
Expand Down
2 changes: 0 additions & 2 deletions modules/st2-api/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ export class API {
'Authorization': `Basic ${toBase64(`${username}:${password}`)}`,
'content-type': 'application/json',
},
// You need to define data field for axios to set content-type header
data: null,
});

if (res.status !== 201) {
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,8 @@
"ignore-styles": "5.0.1",
"insert-css": "2.0.0",
"zombie": "5.0.8"
},
"resolutions": {
"open": "^8.4.0"
}
}
6 changes: 3 additions & 3 deletions tasks/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ gulp.task('serve', () => {
https: true,
proxies: [{
source: '/api',
target: `https://${st2host}/api`,
target: `${process.env.ST2_PROTOCOL || 'https'}://${st2host}/api`,
options,
}, {
source: '/auth',
target: `https://${st2host}/auth`,
target: `${process.env.ST2_PROTOCOL || 'https'}://${st2host}/auth`,
options,
}, {
source: '/stream',
target: `https://${st2host}/stream`,
target: `${process.env.ST2_PROTOCOL || 'https'}://${st2host}/stream`,
options,
}],
}));
Expand Down
Loading

0 comments on commit 41d7540

Please sign in to comment.