Browse Source

update lws-rewrite and lws - fixes remote rewrites in HTTP2 mode and adds middleware plugin validation

master
Lloyd Brookes 6 years ago
parent
commit
e3bcdbba38
  1. 293
      package-lock.json
  2. 4
      package.json
  3. 4
      test/fixture/middleware/index.js

293
package-lock.json

@ -508,40 +508,54 @@
"typical": "^2.6.1" "typical": "^2.6.1"
} }
}, },
"typical": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz",
"integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0=",
"reduce-flatten": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-1.0.1.tgz",
"integrity": "sha1-JYx479FT3fk8tWEjf2EYTzaW4yc=",
"dev": true "dev": true
}
}
}, },
"command-line-usage": {
"version": "5.0.5",
"resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-5.0.5.tgz",
"integrity": "sha512-d8NrGylA5oCXSbGoKz05FkehDAzSmIm4K03S5VDh4d5lZAtTWfc3D1RuETtuQCn8129nYfJfDdF7P/lwcz1BlA==",
"table-layout": {
"version": "0.4.5",
"resolved": "https://registry.npmjs.org/table-layout/-/table-layout-0.4.5.tgz",
"integrity": "sha512-zTvf0mcggrGeTe/2jJ6ECkJHAQPIYEwDoqsiqBjI24mvRmQbInK5jq33fyypaCBxX08hMkfmdOqj6haT33EqWw==",
"dev": true,
"requires": { "requires": {
"array-back": "^2.0.0", "array-back": "^2.0.0",
"chalk": "^2.4.1",
"table-layout": "^0.4.3",
"typical": "^2.6.1"
},
"dependencies": {
"array-back": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz",
"integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==",
"requires": {
"typical": "^2.6.1"
"deep-extend": "~0.6.0",
"lodash.padend": "^4.6.1",
"typical": "^2.6.1",
"wordwrapjs": "^3.0.0"
} }
}, },
"typical": { "typical": {
"version": "2.6.1", "version": "2.6.1",
"resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz", "resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz",
"integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0="
"integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0=",
"dev": true
},
"wordwrapjs": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-3.0.0.tgz",
"integrity": "sha512-mO8XtqyPvykVCsrwj5MlOVWvSnCdT+C+QVbm6blradR7JExAhbkZ7hZ9A+9NUtwzSqrlUo9a67ws0EiILrvRpw==",
"dev": true,
"requires": {
"reduce-flatten": "^1.0.1",
"typical": "^2.6.1"
}
} }
} }
}, },
"command-line-usage": {
"version": "6.0.0-1",
"resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-6.0.0-1.tgz",
"integrity": "sha512-11kTt9NCBrCTnrtDZ1m5FlT/ofnvsP6ILLK5EWZwklpeKMX2zzWVk6KNXe6rcHChaf8IP6F95AJPHQElkD1N9g==",
"requires": {
"array-back": "^3.1.0",
"chalk": "^2.4.2",
"table-layout": "^1.0.0",
"typical": "^5.1.0"
}
},
"commander": { "commander": {
"version": "2.20.0", "version": "2.20.0",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.0.tgz",
@ -1050,9 +1064,9 @@
"dev": true "dev": true
}, },
"graceful-fs": { "graceful-fs": {
"version": "4.1.15",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz",
"integrity": "sha512-6uHUhOPEBgQ24HM+r6b/QwWfZq+yiFcipKFrOFiBEnWdy5sdzYoi+pJeQaPI5qOLRFqWmAXUPQNsielzdLoecA==",
"version": "4.2.0",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.0.tgz",
"integrity": "sha512-jpSvDPV4Cq/bgtpndIWbI5hmYxhQGHPC4d4cqBPb4DLniCfhJokdXhwhaDuLBGLQdvvRum/UiX6ECVIPvDXqdg==",
"dev": true "dev": true
}, },
"growl": { "growl": {
@ -1117,12 +1131,12 @@
} }
}, },
"http-errors": { "http-errors": {
"version": "1.7.2",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz",
"integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==",
"version": "1.7.3",
"resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.3.tgz",
"integrity": "sha512-ZTTX0MWrsQ2ZAhA1cejAwDLycFsd7I7nVtnkT3Ol0aqodaKW+0CTZDQ1uBv5whptCnc8e8HeRRJxRs0kmm/Qfw==",
"requires": { "requires": {
"depd": "~1.1.2", "depd": "~1.1.2",
"inherits": "2.0.3",
"inherits": "2.0.4",
"setprototypeof": "1.1.1", "setprototypeof": "1.1.1",
"statuses": ">= 1.5.0 < 2", "statuses": ">= 1.5.0 < 2",
"toidentifier": "1.0.0" "toidentifier": "1.0.0"
@ -1168,9 +1182,9 @@
} }
}, },
"inherits": { "inherits": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
}, },
"invert-kv": { "invert-kv": {
"version": "2.0.0", "version": "2.0.0",
@ -1258,9 +1272,9 @@
}, },
"dependencies": { "dependencies": {
"semver": { "semver": {
"version": "6.1.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.1.1.tgz",
"integrity": "sha512-rWYq2e5iYW+fFe/oPPtYJxYgjBm8sC4rmoGdUOgBB7VnwKt6HrL793l2voH1UlsyYZpJ4g0wfjnTEO1s1NP2eQ==",
"version": "6.1.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-6.1.2.tgz",
"integrity": "sha512-z4PqiCpomGtWj8633oeAdXm1Kn1W++3T8epkZYnwiVgIYIJ0QHszhInYSJTYxebByQH7KVCEAn8R9duzZW2PhQ==",
"dev": true "dev": true
} }
} }
@ -1808,15 +1822,15 @@
} }
}, },
"lws": { "lws": {
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/lws/-/lws-2.0.1.tgz",
"integrity": "sha512-9aXsOibjPeHxb9xfPws5beM2YAyRW4QWj9rORBKOe/W9Pca67Ftx8zPSyUsgLTo7QUFi6hFK/J+xCYnvzGMzzw==",
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/lws/-/lws-2.0.2.tgz",
"integrity": "sha512-yUpAwEQDkxRuSuv20XxthelHO2DhS2cYgoyCftgr21L78yFgHio+spmC89vO0iaaAKrruQz2OiezoWeUgCk2gw==",
"requires": { "requires": {
"ansi-escape-sequences": "^4.1.0", "ansi-escape-sequences": "^4.1.0",
"array-back": "^3.1.0", "array-back": "^3.1.0",
"byte-size": "^5.0.1", "byte-size": "^5.0.1",
"command-line-args": "^5.1.1", "command-line-args": "^5.1.1",
"command-line-usage": "^5.0.5",
"command-line-usage": "^6.0.0-1",
"create-mixin": "^2.0.1", "create-mixin": "^2.0.1",
"koa": "^2.7.0", "koa": "^2.7.0",
"load-module": "^2.0.1", "load-module": "^2.0.1",
@ -1824,7 +1838,7 @@
"node-version-matches": "^1.0.1", "node-version-matches": "^1.0.1",
"open": "^6.3.0", "open": "^6.3.0",
"reduce-flatten": "^2.0.0", "reduce-flatten": "^2.0.0",
"typical": "^5.0.0",
"typical": "^5.1.0",
"walk-back": "^3.0.1" "walk-back": "^3.0.1"
} }
}, },
@ -1925,9 +1939,9 @@
} }
}, },
"lws-rewrite": { "lws-rewrite": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/lws-rewrite/-/lws-rewrite-2.0.4.tgz",
"integrity": "sha512-724c5tiQjxKhJEDBIsnf36Bonvkqm2JPTD2ixzLuh9ebYDTuy/fgz8ACA9Y6Iu7Hz/eKudp0TExLcT015Zp4bA==",
"version": "2.0.5",
"resolved": "https://registry.npmjs.org/lws-rewrite/-/lws-rewrite-2.0.5.tgz",
"integrity": "sha512-VbD86rd4reocdMBWV6mrRkwR7BRG2Xi4sDyFbehH7p1aIopG4o8WwDk9dtICc9is6FIWBw3ChYZ3Hz8vZjCoog==",
"requires": { "requires": {
"array-back": "^3.1.0", "array-back": "^3.1.0",
"koa-rewrite-75lb": "^3.0.1", "koa-rewrite-75lb": "^3.0.1",
@ -2450,9 +2464,9 @@
} }
}, },
"process-nextick-args": { "process-nextick-args": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
"integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw=="
"version": "2.0.1",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz",
"integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="
}, },
"pseudomap": { "pseudomap": {
"version": "1.0.2", "version": "1.0.2",
@ -2461,9 +2475,9 @@
"dev": true "dev": true
}, },
"psl": { "psl": {
"version": "1.1.32",
"resolved": "https://registry.npmjs.org/psl/-/psl-1.1.32.tgz",
"integrity": "sha512-MHACAkHpihU/REGGPLj4sEfc/XKW2bheigvHO1dUqjaKigMp1C8+WLQYRGgeKFMsw5PMfegZcaN8IDXK/cD0+g=="
"version": "1.1.33",
"resolved": "https://registry.npmjs.org/psl/-/psl-1.1.33.tgz",
"integrity": "sha512-LTDP2uSrsc7XCb5lO7A8BI1qYxRe/8EqlRvMeEl6rsnYAqDOl8xHR+8lSAIVfrNaSAlTPTNOCgNjWcoUL3AZsw=="
}, },
"pump": { "pump": {
"version": "3.0.0", "version": "3.0.0",
@ -2492,12 +2506,12 @@
"dev": true "dev": true
}, },
"raw-body": { "raw-body": {
"version": "2.4.0",
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz",
"integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==",
"version": "2.4.1",
"resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.1.tgz",
"integrity": "sha512-9WmIKF6mkvA0SLmA2Knm9+qj89e+j1zqgyn8aXGd7+nAduPoqgI9lO57SAZNn/Byzo5P7JhXTyg9PzaJbH73bA==",
"requires": { "requires": {
"bytes": "3.1.0", "bytes": "3.1.0",
"http-errors": "1.7.2",
"http-errors": "1.7.3",
"iconv-lite": "0.4.24", "iconv-lite": "0.4.24",
"unpipe": "1.0.0" "unpipe": "1.0.0"
} }
@ -2685,9 +2699,9 @@
} }
}, },
"resolve": { "resolve": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.11.0.tgz",
"integrity": "sha512-WL2pBDjqT6pGUNSUzMw00o4T7If+z4H2x3Gz893WoUQ5KW8Vr9txp00ykiP16VBaZF5+j/OcXJHZ9+PCvdiDKw==",
"version": "1.11.1",
"resolved": "https://registry.npmjs.org/resolve/-/resolve-1.11.1.tgz",
"integrity": "sha512-vIpgF6wfuJOZI7KKKSP+HmiKggadPQAdsp5HiC1mvqnfp0gF1vdwgBWZIdrVft9pgqoMFQN+R7BSWZiBxx+BBw==",
"dev": true, "dev": true,
"requires": { "requires": {
"path-parse": "^1.0.6" "path-parse": "^1.0.6"
@ -2719,6 +2733,11 @@
"statuses": ">= 1.4.0 < 2" "statuses": ">= 1.4.0 < 2"
} }
}, },
"inherits": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
},
"setprototypeof": { "setprototypeof": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz",
@ -2783,6 +2802,11 @@
"statuses": ">= 1.4.0 < 2" "statuses": ">= 1.4.0 < 2"
} }
}, },
"inherits": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
},
"setprototypeof": { "setprototypeof": {
"version": "1.1.0", "version": "1.1.0",
"resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz",
@ -2967,6 +2991,47 @@
"lodash.throttle": "^4.1.1", "lodash.throttle": "^4.1.1",
"stream-via": "^1.0.4", "stream-via": "^1.0.4",
"table-layout": "~0.4.4" "table-layout": "~0.4.4"
},
"dependencies": {
"array-back": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz",
"integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==",
"requires": {
"typical": "^2.6.1"
}
},
"reduce-flatten": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-1.0.1.tgz",
"integrity": "sha1-JYx479FT3fk8tWEjf2EYTzaW4yc="
},
"table-layout": {
"version": "0.4.5",
"resolved": "https://registry.npmjs.org/table-layout/-/table-layout-0.4.5.tgz",
"integrity": "sha512-zTvf0mcggrGeTe/2jJ6ECkJHAQPIYEwDoqsiqBjI24mvRmQbInK5jq33fyypaCBxX08hMkfmdOqj6haT33EqWw==",
"requires": {
"array-back": "^2.0.0",
"deep-extend": "~0.6.0",
"lodash.padend": "^4.6.1",
"typical": "^2.6.1",
"wordwrapjs": "^3.0.0"
}
},
"typical": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz",
"integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0="
},
"wordwrapjs": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-3.0.0.tgz",
"integrity": "sha512-mO8XtqyPvykVCsrwj5MlOVWvSnCdT+C+QVbm6blradR7JExAhbkZ7hZ9A+9NUtwzSqrlUo9a67ws0EiILrvRpw==",
"requires": {
"reduce-flatten": "^1.0.1",
"typical": "^2.6.1"
}
}
} }
}, },
"stream-slice": { "stream-slice": {
@ -3043,30 +3108,14 @@
} }
}, },
"table-layout": { "table-layout": {
"version": "0.4.4",
"resolved": "https://registry.npmjs.org/table-layout/-/table-layout-0.4.4.tgz",
"integrity": "sha512-uNaR3SRMJwfdp9OUr36eyEi6LLsbcTqTO/hfTsNviKsNeyMBPICJCC7QXRF3+07bAP6FRwA8rczJPBqXDc0CkQ==",
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/table-layout/-/table-layout-1.0.0.tgz",
"integrity": "sha512-o8V8u943KXX9gLNK/Ss1n6Nn4YhpyY/RRnp3hKv/zTA+SXYiQnzJQlR8CZQf1RqYqgkiWMJ54Mv+Vq9Kfzxz1A==",
"requires": { "requires": {
"array-back": "^2.0.0",
"array-back": "^3.1.0",
"deep-extend": "~0.6.0", "deep-extend": "~0.6.0",
"lodash.padend": "^4.6.1",
"typical": "^2.6.1",
"wordwrapjs": "^3.0.0"
},
"dependencies": {
"array-back": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz",
"integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==",
"requires": {
"typical": "^2.6.1"
}
},
"typical": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz",
"integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0="
}
"typical": "^5.0.0",
"wordwrapjs": "^4.0.0"
} }
}, },
"taffydb": { "taffydb": {
@ -3129,6 +3178,66 @@
"test-object-model": "^0.4.3", "test-object-model": "^0.4.3",
"test-runner-core": "^0.6.0-17", "test-runner-core": "^0.6.0-17",
"walk-back": "^3.0.1" "walk-back": "^3.0.1"
},
"dependencies": {
"array-back": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/array-back/-/array-back-2.0.0.tgz",
"integrity": "sha512-eJv4pLLufP3g5kcZry0j6WXpIbzYw9GUB4mVJZno9wfwiBxbizTnHCw3VJb07cBihbFX48Y7oSrW9y+gt4glyw==",
"dev": true,
"requires": {
"typical": "^2.6.1"
}
},
"command-line-usage": {
"version": "5.0.5",
"resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-5.0.5.tgz",
"integrity": "sha512-d8NrGylA5oCXSbGoKz05FkehDAzSmIm4K03S5VDh4d5lZAtTWfc3D1RuETtuQCn8129nYfJfDdF7P/lwcz1BlA==",
"dev": true,
"requires": {
"array-back": "^2.0.0",
"chalk": "^2.4.1",
"table-layout": "^0.4.3",
"typical": "^2.6.1"
}
},
"table-layout": {
"version": "0.4.5",
"resolved": "https://registry.npmjs.org/table-layout/-/table-layout-0.4.5.tgz",
"integrity": "sha512-zTvf0mcggrGeTe/2jJ6ECkJHAQPIYEwDoqsiqBjI24mvRmQbInK5jq33fyypaCBxX08hMkfmdOqj6haT33EqWw==",
"dev": true,
"requires": {
"array-back": "^2.0.0",
"deep-extend": "~0.6.0",
"lodash.padend": "^4.6.1",
"typical": "^2.6.1",
"wordwrapjs": "^3.0.0"
}
},
"typical": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz",
"integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0=",
"dev": true
},
"wordwrapjs": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-3.0.0.tgz",
"integrity": "sha512-mO8XtqyPvykVCsrwj5MlOVWvSnCdT+C+QVbm6blradR7JExAhbkZ7hZ9A+9NUtwzSqrlUo9a67ws0EiILrvRpw==",
"dev": true,
"requires": {
"reduce-flatten": "^1.0.1",
"typical": "^2.6.1"
},
"dependencies": {
"reduce-flatten": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-1.0.1.tgz",
"integrity": "sha1-JYx479FT3fk8tWEjf2EYTzaW4yc=",
"dev": true
}
}
}
} }
}, },
"test-runner-core": { "test-runner-core": {
@ -3244,9 +3353,9 @@
} }
}, },
"typical": { "typical": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/typical/-/typical-5.0.0.tgz",
"integrity": "sha512-EiYNG3wi45n7ZvDJaU/ekW8OiAJ0EfYNq8tQJUMVok5k8+g7mj54pFWOXFsstmQoVHfy4CjzgNgJtGUAVR8kFQ=="
"version": "5.1.0",
"resolved": "https://registry.npmjs.org/typical/-/typical-5.1.0.tgz",
"integrity": "sha512-t5Ik8UAwBal1P1XzuVE4dc+RYQZicLUGJdvqr/vdqsED7SQECgsGBylldSsfWZL7RQjxT3xhQcKHWhLaVSR6YQ=="
}, },
"uc.micro": { "uc.micro": {
"version": "1.0.6", "version": "1.0.6",
@ -3346,24 +3455,12 @@
"dev": true "dev": true
}, },
"wordwrapjs": { "wordwrapjs": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-3.0.0.tgz",
"integrity": "sha512-mO8XtqyPvykVCsrwj5MlOVWvSnCdT+C+QVbm6blradR7JExAhbkZ7hZ9A+9NUtwzSqrlUo9a67ws0EiILrvRpw==",
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-4.0.0.tgz",
"integrity": "sha512-Svqw723a3R34KvsMgpjFBYCgNOSdcW3mQFK4wIfhGQhtaFVOJmdYoXgi63ne3dTlWgatVcUc7t4HtQ/+bUVIzQ==",
"requires": { "requires": {
"reduce-flatten": "^1.0.1",
"typical": "^2.6.1"
},
"dependencies": {
"reduce-flatten": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/reduce-flatten/-/reduce-flatten-1.0.1.tgz",
"integrity": "sha1-JYx479FT3fk8tWEjf2EYTzaW4yc="
},
"typical": {
"version": "2.6.1",
"resolved": "https://registry.npmjs.org/typical/-/typical-2.6.1.tgz",
"integrity": "sha1-XAgOXWYcu+OCWdLnCjxyU+hziB0="
}
"reduce-flatten": "^2.0.0",
"typical": "^5.0.0"
} }
}, },
"wrap-ansi": { "wrap-ansi": {

4
package.json

@ -39,7 +39,7 @@
"index.js" "index.js"
], ],
"dependencies": { "dependencies": {
"lws": "^2.0.1",
"lws": "^2.0.2",
"lws-basic-auth": "^1.0.3", "lws-basic-auth": "^1.0.3",
"lws-blacklist": "^2.0.2", "lws-blacklist": "^2.0.2",
"lws-body-parser": "^1.0.2", "lws-body-parser": "^1.0.2",
@ -52,7 +52,7 @@
"lws-mime": "^1.0.1", "lws-mime": "^1.0.1",
"lws-range": "^2.0.1", "lws-range": "^2.0.1",
"lws-request-monitor": "^1.0.4", "lws-request-monitor": "^1.0.4",
"lws-rewrite": "^2.0.4",
"lws-rewrite": "^2.0.5",
"lws-spa": "^2.0.1", "lws-spa": "^2.0.1",
"lws-static": "^1.1.3", "lws-static": "^1.1.3",
"node-version-matches": "^1.0.1" "node-version-matches": "^1.0.1"

4
test/fixture/middleware/index.js

@ -1,3 +1,5 @@
class TestMiddleware {}
class TestMiddleware {
middleware () {}
}
module.exports = TestMiddleware module.exports = TestMiddleware
Loading…
Cancel
Save