@contrast/protect 1.64.0 → 1.64.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -27,7 +27,7 @@ module.exports = function(core) {
27
27
  require('./install/http')(core);
28
28
 
29
29
  // common libraries instrumentation
30
- require('./install/body-parser1')(core);
30
+ require('./install/body-parser')(core);
31
31
  require('./install/cookie-parser1')(core);
32
32
  require('./install/formidable1')(core);
33
33
  require('./install/koa-body5')(core);
@@ -62,7 +62,7 @@ module.exports = (core) => {
62
62
 
63
63
  // Patch body parser - `body-parser` used by `express` framework
64
64
  function install() {
65
- depHooks.resolve({ name: 'body-parser', version: '<2' }, (bodyParser) => {
65
+ depHooks.resolve({ name: 'body-parser', version: '<3' }, (bodyParser) => {
66
66
  const origBodyParser = bodyParser;
67
67
 
68
68
  const { json: origJson, raw: origRaw, text: origText, urlencoded: origUrlencoded } = bodyParser;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contrast/protect",
3
- "version": "1.64.0",
3
+ "version": "1.64.2",
4
4
  "description": "Contrast service providing framework-agnostic Protect support",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "Contrast Security <nodejs@contrastsecurity.com> (https://www.contrastsecurity.com)",
@@ -21,16 +21,16 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@contrast/agent-lib": "^9.1.0",
24
- "@contrast/common": "1.34.0",
25
- "@contrast/config": "1.49.0",
26
- "@contrast/core": "1.54.0",
27
- "@contrast/dep-hooks": "1.23.0",
28
- "@contrast/esm-hooks": "2.28.0",
29
- "@contrast/instrumentation": "1.33.0",
30
- "@contrast/logger": "1.27.0",
31
- "@contrast/patcher": "1.26.0",
32
- "@contrast/rewriter": "1.30.0",
33
- "@contrast/scopes": "1.24.0",
24
+ "@contrast/common": "1.34.2",
25
+ "@contrast/config": "1.49.2",
26
+ "@contrast/core": "1.54.2",
27
+ "@contrast/dep-hooks": "1.23.2",
28
+ "@contrast/esm-hooks": "2.28.2",
29
+ "@contrast/instrumentation": "1.33.2",
30
+ "@contrast/logger": "1.27.2",
31
+ "@contrast/patcher": "1.26.2",
32
+ "@contrast/rewriter": "1.30.2",
33
+ "@contrast/scopes": "1.24.2",
34
34
  "async-hook-domain": "^4.0.1",
35
35
  "ipaddr.js": "^2.0.1",
36
36
  "on-finished": "^2.4.1",