@podium/proxy
Advanced tools
Comparing version 5.0.0-next.4 to 5.0.0-next.5
321
CHANGELOG.md
@@ -0,1 +1,59 @@ | ||
# [5.0.0-next.5](https://github.com/podium-lib/proxy/compare/v5.0.0-next.4...v5.0.0-next.5) (2021-05-04) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.0.4 ([9fdbee6](https://github.com/podium-lib/proxy/commit/9fdbee6657ce48af72ddbb1987ea8af6340b2164)) | ||
* **deps:** update dependency @podium/schemas to v4.0.5 ([8a966c0](https://github.com/podium-lib/proxy/commit/8a966c006c61422ac1b5ebaf970c2a67da228bdf)) | ||
* **deps:** update dependency @podium/schemas to v4.0.7 ([f6bb236](https://github.com/podium-lib/proxy/commit/f6bb236a759be3fda16b524c4f5bb514aad5014c)) | ||
* **deps:** update dependency @podium/schemas to v4.1.0 ([6c6aa2d](https://github.com/podium-lib/proxy/commit/6c6aa2d1a56910702529fd167a1f44ad57f259e8)) | ||
* **deps:** update dependency @podium/schemas to v4.1.1 ([6ba8a0c](https://github.com/podium-lib/proxy/commit/6ba8a0c4797593f8870505f9ea01c60e710cb89c)) | ||
* **deps:** update dependency @podium/schemas to v4.1.10 ([6f58fa8](https://github.com/podium-lib/proxy/commit/6f58fa8eb2c4aeb8b80b6e18affe5c3210bcfd63)) | ||
* **deps:** update dependency @podium/schemas to v4.1.11 ([8687e5d](https://github.com/podium-lib/proxy/commit/8687e5d1921b2d147626c1710ab92eb090e9142a)) | ||
* **deps:** update dependency @podium/schemas to v4.1.13 ([de65bce](https://github.com/podium-lib/proxy/commit/de65bce0020b6ad55bfc49f21912ed2891207039)) | ||
* **deps:** update dependency @podium/schemas to v4.1.14 ([0e38d44](https://github.com/podium-lib/proxy/commit/0e38d443c6c0a19c76a0ae9cf0df1de6e4350392)) | ||
* **deps:** update dependency @podium/schemas to v4.1.15 ([8331469](https://github.com/podium-lib/proxy/commit/833146915644f03a88cbcc96a385946cd6870d8b)) | ||
* **deps:** update dependency @podium/schemas to v4.1.16 ([585081e](https://github.com/podium-lib/proxy/commit/585081ec91e3bf7cc46cfeade68dfe57ae147a36)) | ||
* **deps:** update dependency @podium/schemas to v4.1.2 ([2f5c969](https://github.com/podium-lib/proxy/commit/2f5c96995e49aa593ecf7488ca844e741b3a6175)) | ||
* **deps:** update dependency @podium/schemas to v4.1.3 ([a2aa932](https://github.com/podium-lib/proxy/commit/a2aa93221cefa5cc50398cae828e03ce0bec2695)) | ||
* **deps:** update dependency @podium/schemas to v4.1.4 ([0f7e994](https://github.com/podium-lib/proxy/commit/0f7e9949030a5099f35674d05258fa36e7c0d3c9)) | ||
* **deps:** update dependency @podium/schemas to v4.1.5 ([ddfac03](https://github.com/podium-lib/proxy/commit/ddfac0336dab6683bb1ca9066e603ddc1657d9da)) | ||
* **deps:** update dependency @podium/schemas to v4.1.6 ([0da405a](https://github.com/podium-lib/proxy/commit/0da405af2ca82d6bcb2e0da7397a5967bdce8cdb)) | ||
* **deps:** update dependency @podium/schemas to v4.1.7 ([027450f](https://github.com/podium-lib/proxy/commit/027450f6d468956abf9b50373c1559f66b3b9fb9)) | ||
* **deps:** update dependency @podium/schemas to v4.1.8 ([40cd206](https://github.com/podium-lib/proxy/commit/40cd206630c46e4a718d27953e512c91e63ddb0c)) | ||
* **deps:** update dependency @podium/utils to v4.3.1 ([8a3e4b1](https://github.com/podium-lib/proxy/commit/8a3e4b10c9decd240b852e96db0d5a3aaf98c074)) | ||
* **deps:** update dependency @podium/utils to v4.3.3 ([36b3755](https://github.com/podium-lib/proxy/commit/36b37557365e4121da2661f3398066d55e5b98d2)) | ||
* **deps:** update dependency @podium/utils to v4.4.0 ([f245bcc](https://github.com/podium-lib/proxy/commit/f245bcc44df394584759760f52191d7c00d7f65c)) | ||
* **deps:** update dependency @podium/utils to v4.4.1 ([896e27d](https://github.com/podium-lib/proxy/commit/896e27d069725502832bacf081d552bff26ea9f2)) | ||
* **deps:** update dependency @podium/utils to v4.4.10 ([7198ad0](https://github.com/podium-lib/proxy/commit/7198ad0dcb026e1af19bf35a64508e9e086fbfd7)) | ||
* **deps:** update dependency @podium/utils to v4.4.11 ([5766099](https://github.com/podium-lib/proxy/commit/5766099fe0be264768c862a0e259c311fdaebda1)) | ||
* **deps:** update dependency @podium/utils to v4.4.13 ([d8d6f5d](https://github.com/podium-lib/proxy/commit/d8d6f5defbadcd6e0a450f2487db17daf6469776)) | ||
* **deps:** update dependency @podium/utils to v4.4.15 ([316ea8e](https://github.com/podium-lib/proxy/commit/316ea8e6d21fa1e7d2a625afa5ef03b7940365ea)) | ||
* **deps:** update dependency @podium/utils to v4.4.16 ([7a18be1](https://github.com/podium-lib/proxy/commit/7a18be16e4d803ef6ccd21981df5b2bf2256ab59)) | ||
* **deps:** update dependency @podium/utils to v4.4.17 ([92b90b6](https://github.com/podium-lib/proxy/commit/92b90b69966ec7116ad6ce7a1b54fde02380cc03)) | ||
* Update @podium/schema to version 4.1.9 to fix ajv error ([#134](https://github.com/podium-lib/proxy/issues/134)) ([ed5c5c7](https://github.com/podium-lib/proxy/commit/ed5c5c737a88ce1425988da9df6e152c48e84474)) | ||
* **deps:** update dependency @podium/utils to v4.4.2 ([ffb3cea](https://github.com/podium-lib/proxy/commit/ffb3cea6701bc870cfee894cc0b1e5fcdd1670e0)) | ||
* **deps:** update dependency @podium/utils to v4.4.3 ([bde55ee](https://github.com/podium-lib/proxy/commit/bde55ee6d3c8d05c64ca6e6cc60fe0cc8bb9345d)) | ||
* **deps:** update dependency @podium/utils to v4.4.4 ([53babc1](https://github.com/podium-lib/proxy/commit/53babc155fda975566237ac76bc8263743c5e58b)) | ||
* **deps:** update dependency @podium/utils to v4.4.5 ([d259631](https://github.com/podium-lib/proxy/commit/d259631d9f93011d863bfa28dfc269044898e702)) | ||
* **deps:** update dependency @podium/utils to v4.4.6 ([10078cc](https://github.com/podium-lib/proxy/commit/10078cc6144d26d258001e613b3a0ed79bd9a07a)) | ||
* **deps:** update dependency @podium/utils to v4.4.7 ([c126767](https://github.com/podium-lib/proxy/commit/c1267675bbd0cf7d5bfd154cbfda3b9be79068e3)) | ||
* **deps:** update dependency @podium/utils to v4.4.8 ([239b995](https://github.com/podium-lib/proxy/commit/239b995bc194b12488fbd7ddb3598b27041dad2c)) | ||
* **deps:** update dependency @podium/utils to v4.4.9 ([789614e](https://github.com/podium-lib/proxy/commit/789614ee102969dbfb74c63a23fd88ffe6472f00)) | ||
* **deps:** update dependency path-to-regexp to v6.2.0 ([b47db02](https://github.com/podium-lib/proxy/commit/b47db02fb7ba35fbf71cb46f37b5731f7a2c052d)) | ||
### Features | ||
* Convert to ESM ([#150](https://github.com/podium-lib/proxy/issues/150)) ([9f3c2d3](https://github.com/podium-lib/proxy/commit/9f3c2d3e3474889b73706f4e1cf5d571ed2a42ee)) | ||
### BREAKING CHANGES | ||
* Convert from CommonJS to ESM | ||
* feat: Convert to ESM | ||
Co-authored-by: Trygve Lie <trygve.lie@finn.no> | ||
# [5.0.0-next.4](https://github.com/podium-lib/proxy/compare/v5.0.0-next.3...v5.0.0-next.4) (2020-07-29) | ||
@@ -16,2 +74,3 @@ | ||
# [5.0.0-next.3](https://github.com/podium-lib/proxy/compare/v5.0.0-next.2...v5.0.0-next.3) (2020-07-15) | ||
## [4.2.39](https://github.com/podium-lib/proxy/compare/v4.2.38...v4.2.39) (2021-04-27) | ||
@@ -21,9 +80,86 @@ | ||
* **deps:** update dependency @podium/utils to v4.4.17 ([92b90b6](https://github.com/podium-lib/proxy/commit/92b90b69966ec7116ad6ce7a1b54fde02380cc03)) | ||
## [4.2.38](https://github.com/podium-lib/proxy/compare/v4.2.37...v4.2.38) (2021-04-27) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.16 ([585081e](https://github.com/podium-lib/proxy/commit/585081ec91e3bf7cc46cfeade68dfe57ae147a36)) | ||
## [4.2.37](https://github.com/podium-lib/proxy/compare/v4.2.36...v4.2.37) (2021-04-11) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.4.16 ([7a18be1](https://github.com/podium-lib/proxy/commit/7a18be16e4d803ef6ccd21981df5b2bf2256ab59)) | ||
## [4.2.36](https://github.com/podium-lib/proxy/compare/v4.2.35...v4.2.36) (2021-04-11) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.15 ([8331469](https://github.com/podium-lib/proxy/commit/833146915644f03a88cbcc96a385946cd6870d8b)) | ||
## [4.2.35](https://github.com/podium-lib/proxy/compare/v4.2.34...v4.2.35) (2021-04-02) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.4.15 ([316ea8e](https://github.com/podium-lib/proxy/commit/316ea8e6d21fa1e7d2a625afa5ef03b7940365ea)) | ||
## [4.2.34](https://github.com/podium-lib/proxy/compare/v4.2.33...v4.2.34) (2021-04-02) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.14 ([0e38d44](https://github.com/podium-lib/proxy/commit/0e38d443c6c0a19c76a0ae9cf0df1de6e4350392)) | ||
## [4.2.33](https://github.com/podium-lib/proxy/compare/v4.2.32...v4.2.33) (2021-04-02) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.13 ([de65bce](https://github.com/podium-lib/proxy/commit/de65bce0020b6ad55bfc49f21912ed2891207039)) | ||
## [4.2.32](https://github.com/podium-lib/proxy/compare/v4.2.31...v4.2.32) (2021-04-01) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.4.13 ([d8d6f5d](https://github.com/podium-lib/proxy/commit/d8d6f5defbadcd6e0a450f2487db17daf6469776)) | ||
## [4.2.31](https://github.com/podium-lib/proxy/compare/v4.2.30...v4.2.31) (2021-04-01) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.11 ([8687e5d](https://github.com/podium-lib/proxy/commit/8687e5d1921b2d147626c1710ab92eb090e9142a)) | ||
## [4.2.30](https://github.com/podium-lib/proxy/compare/v4.2.29...v4.2.30) (2021-03-31) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.10 ([6f58fa8](https://github.com/podium-lib/proxy/commit/6f58fa8eb2c4aeb8b80b6e18affe5c3210bcfd63)) | ||
## [4.2.29](https://github.com/podium-lib/proxy/compare/v4.2.28...v4.2.29) (2021-03-30) | ||
### Bug Fixes | ||
<<<<<<< HEAD | ||
* Use v5 versions of @podium/utils and @podium/schema ([a37ca1f](https://github.com/podium-lib/proxy/commit/a37ca1f151e7e334856b5fb09e5dfe122724280b)) | ||
# [5.0.0-next.2](https://github.com/podium-lib/proxy/compare/v5.0.0-next.1...v5.0.0-next.2) (2020-07-13) | ||
======= | ||
* Update @podium/schema to version 4.1.9 to fix ajv error ([#134](https://github.com/podium-lib/proxy/issues/134)) ([ed5c5c7](https://github.com/podium-lib/proxy/commit/ed5c5c737a88ce1425988da9df6e152c48e84474)) | ||
## [4.2.28](https://github.com/podium-lib/proxy/compare/v4.2.27...v4.2.28) (2021-03-27) | ||
>>>>>>> origin | ||
### Bug Fixes | ||
<<<<<<< HEAD | ||
* Update @podium/utils to version 5.0.0-next.1 ([29da2c9](https://github.com/podium-lib/proxy/commit/29da2c9da76f35a772eb5e8ed874b660bf99186e)) | ||
@@ -42,3 +178,188 @@ | ||
* Only support node 12 and 14. | ||
======= | ||
* **deps:** update dependency @podium/utils to v4.4.11 ([5766099](https://github.com/podium-lib/proxy/commit/5766099fe0be264768c862a0e259c311fdaebda1)) | ||
## [4.2.27](https://github.com/podium-lib/proxy/compare/v4.2.26...v4.2.27) (2021-03-27) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.8 ([40cd206](https://github.com/podium-lib/proxy/commit/40cd206630c46e4a718d27953e512c91e63ddb0c)) | ||
## [4.2.26](https://github.com/podium-lib/proxy/compare/v4.2.25...v4.2.26) (2021-03-26) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.4.10 ([7198ad0](https://github.com/podium-lib/proxy/commit/7198ad0dcb026e1af19bf35a64508e9e086fbfd7)) | ||
## [4.2.25](https://github.com/podium-lib/proxy/compare/v4.2.24...v4.2.25) (2021-03-26) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.7 ([027450f](https://github.com/podium-lib/proxy/commit/027450f6d468956abf9b50373c1559f66b3b9fb9)) | ||
## [4.2.24](https://github.com/podium-lib/proxy/compare/v4.2.23...v4.2.24) (2021-03-20) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.4.9 ([789614e](https://github.com/podium-lib/proxy/commit/789614ee102969dbfb74c63a23fd88ffe6472f00)) | ||
## [4.2.23](https://github.com/podium-lib/proxy/compare/v4.2.22...v4.2.23) (2021-03-20) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.6 ([0da405a](https://github.com/podium-lib/proxy/commit/0da405af2ca82d6bcb2e0da7397a5967bdce8cdb)) | ||
## [4.2.22](https://github.com/podium-lib/proxy/compare/v4.2.21...v4.2.22) (2021-03-08) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.4.8 ([239b995](https://github.com/podium-lib/proxy/commit/239b995bc194b12488fbd7ddb3598b27041dad2c)) | ||
## [4.2.21](https://github.com/podium-lib/proxy/compare/v4.2.20...v4.2.21) (2021-03-08) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.5 ([ddfac03](https://github.com/podium-lib/proxy/commit/ddfac0336dab6683bb1ca9066e603ddc1657d9da)) | ||
## [4.2.20](https://github.com/podium-lib/proxy/compare/v4.2.19...v4.2.20) (2021-03-07) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.4.7 ([c126767](https://github.com/podium-lib/proxy/commit/c1267675bbd0cf7d5bfd154cbfda3b9be79068e3)) | ||
## [4.2.19](https://github.com/podium-lib/proxy/compare/v4.2.18...v4.2.19) (2021-03-07) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.4 ([0f7e994](https://github.com/podium-lib/proxy/commit/0f7e9949030a5099f35674d05258fa36e7c0d3c9)) | ||
## [4.2.18](https://github.com/podium-lib/proxy/compare/v4.2.17...v4.2.18) (2021-02-17) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.4.6 ([10078cc](https://github.com/podium-lib/proxy/commit/10078cc6144d26d258001e613b3a0ed79bd9a07a)) | ||
## [4.2.17](https://github.com/podium-lib/proxy/compare/v4.2.16...v4.2.17) (2021-02-17) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.3 ([a2aa932](https://github.com/podium-lib/proxy/commit/a2aa93221cefa5cc50398cae828e03ce0bec2695)) | ||
## [4.2.16](https://github.com/podium-lib/proxy/compare/v4.2.15...v4.2.16) (2021-02-11) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.4.5 ([d259631](https://github.com/podium-lib/proxy/commit/d259631d9f93011d863bfa28dfc269044898e702)) | ||
## [4.2.15](https://github.com/podium-lib/proxy/compare/v4.2.14...v4.2.15) (2021-02-11) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.2 ([2f5c969](https://github.com/podium-lib/proxy/commit/2f5c96995e49aa593ecf7488ca844e741b3a6175)) | ||
## [4.2.14](https://github.com/podium-lib/proxy/compare/v4.2.13...v4.2.14) (2021-02-02) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.4.4 ([53babc1](https://github.com/podium-lib/proxy/commit/53babc155fda975566237ac76bc8263743c5e58b)) | ||
## [4.2.13](https://github.com/podium-lib/proxy/compare/v4.2.12...v4.2.13) (2021-02-01) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.1 ([6ba8a0c](https://github.com/podium-lib/proxy/commit/6ba8a0c4797593f8870505f9ea01c60e710cb89c)) | ||
## [4.2.12](https://github.com/podium-lib/proxy/compare/v4.2.11...v4.2.12) (2021-01-22) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.4.3 ([bde55ee](https://github.com/podium-lib/proxy/commit/bde55ee6d3c8d05c64ca6e6cc60fe0cc8bb9345d)) | ||
## [4.2.11](https://github.com/podium-lib/proxy/compare/v4.2.10...v4.2.11) (2021-01-22) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.1.0 ([6c6aa2d](https://github.com/podium-lib/proxy/commit/6c6aa2d1a56910702529fd167a1f44ad57f259e8)) | ||
## [4.2.10](https://github.com/podium-lib/proxy/compare/v4.2.9...v4.2.10) (2021-01-21) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.4.2 ([ffb3cea](https://github.com/podium-lib/proxy/commit/ffb3cea6701bc870cfee894cc0b1e5fcdd1670e0)) | ||
## [4.2.9](https://github.com/podium-lib/proxy/compare/v4.2.8...v4.2.9) (2021-01-21) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.0.7 ([f6bb236](https://github.com/podium-lib/proxy/commit/f6bb236a759be3fda16b524c4f5bb514aad5014c)) | ||
## [4.2.8](https://github.com/podium-lib/proxy/compare/v4.2.7...v4.2.8) (2020-10-29) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.4.1 ([896e27d](https://github.com/podium-lib/proxy/commit/896e27d069725502832bacf081d552bff26ea9f2)) | ||
## [4.2.7](https://github.com/podium-lib/proxy/compare/v4.2.6...v4.2.7) (2020-10-12) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.4.0 ([f245bcc](https://github.com/podium-lib/proxy/commit/f245bcc44df394584759760f52191d7c00d7f65c)) | ||
## [4.2.6](https://github.com/podium-lib/proxy/compare/v4.2.5...v4.2.6) (2020-10-10) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.3.3 ([36b3755](https://github.com/podium-lib/proxy/commit/36b37557365e4121da2661f3398066d55e5b98d2)) | ||
## [4.2.5](https://github.com/podium-lib/proxy/compare/v4.2.4...v4.2.5) (2020-10-10) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.0.5 ([8a966c0](https://github.com/podium-lib/proxy/commit/8a966c006c61422ac1b5ebaf970c2a67da228bdf)) | ||
## [4.2.4](https://github.com/podium-lib/proxy/compare/v4.2.3...v4.2.4) (2020-09-29) | ||
### Bug Fixes | ||
* **deps:** update dependency path-to-regexp to v6.2.0 ([b47db02](https://github.com/podium-lib/proxy/commit/b47db02fb7ba35fbf71cb46f37b5731f7a2c052d)) | ||
## [4.2.3](https://github.com/podium-lib/proxy/compare/v4.2.2...v4.2.3) (2020-09-13) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/utils to v4.3.1 ([8a3e4b1](https://github.com/podium-lib/proxy/commit/8a3e4b10c9decd240b852e96db0d5a3aaf98c074)) | ||
## [4.2.2](https://github.com/podium-lib/proxy/compare/v4.2.1...v4.2.2) (2020-09-13) | ||
### Bug Fixes | ||
* **deps:** update dependency @podium/schemas to v4.0.4 ([9fdbee6](https://github.com/podium-lib/proxy/commit/9fdbee6657ce48af72ddbb1987ea8af6340b2164)) | ||
>>>>>>> origin | ||
# Changelog | ||
@@ -45,0 +366,0 @@ |
@@ -1,13 +0,11 @@ | ||
'use strict'; | ||
import { pathToRegexp } from 'path-to-regexp'; | ||
import Metrics from '@metrics/client'; | ||
import { URL } from 'url'; | ||
import abslog from 'abslog'; | ||
import * as schemas from '@podium/schemas'; | ||
import * as utils from '@podium/utils'; | ||
import Cache from 'ttl-mem-cache'; | ||
import Proxy from 'http-proxy'; | ||
const { pathToRegexp } = require('path-to-regexp'); | ||
const { validate } = require('@podium/schemas'); | ||
const Metrics = require('@metrics/client'); | ||
const { URL } = require('url'); | ||
const abslog = require('abslog'); | ||
const utils = require('@podium/utils'); | ||
const Cache = require('ttl-mem-cache'); | ||
const Proxy = require('http-proxy'); | ||
const PodiumProxy = class PodiumProxy { | ||
export default class PodiumProxy { | ||
#pathname; | ||
@@ -112,2 +110,6 @@ #prefix; | ||
get registry() { | ||
return this.#registry; | ||
} | ||
register(manifest = {}) { | ||
@@ -117,3 +119,3 @@ // Do a stringify to hande that a @podium/podlet instance is passed in. | ||
if (validate.manifest(obj).error) | ||
if (schemas.manifest(obj).error) | ||
throw new Error( | ||
@@ -268,3 +270,1 @@ 'The value for the required argument "manifest" is not defined or not valid.', | ||
}; | ||
module.exports = PodiumProxy; |
{ | ||
"name": "@podium/proxy", | ||
"version": "5.0.0-next.4", | ||
"version": "5.0.0-next.5", | ||
"description": "Transparent http proxy. Dynamically mounts proxy targets on an existing HTTP server instance.", | ||
"type": "module", | ||
"license": "MIT", | ||
@@ -27,37 +28,45 @@ "keywords": [ | ||
"LICENSE", | ||
"dist", | ||
"lib" | ||
], | ||
"main": "./lib/proxy.js", | ||
"main": "./dist/proxy.js", | ||
"exports": { | ||
"require": "./dist/proxy.js", | ||
"import": "./lib/proxy.js" | ||
}, | ||
"scripts": { | ||
"lint": "eslint .", | ||
"lint:fix": "eslint --fix .", | ||
"test": "tap --no-esm --no-cov --no-ts --no-jsx tests/*.js" | ||
"test": "tap --no-check-coverage", | ||
"prepare": "npm run -s build", | ||
"build": "rollup -c" | ||
}, | ||
"dependencies": { | ||
"@metrics/client": "2.5.0", | ||
"@podium/schemas": "5.0.0-next.1", | ||
"@podium/utils": "5.0.0-next.2", | ||
"@podium/schemas": "5.0.0-next.4", | ||
"@podium/utils": "5.0.0-next.6", | ||
"abslog": "2.4.0", | ||
"http-proxy": "1.18.1", | ||
"path-to-regexp": "6.1.0", | ||
"path-to-regexp": "6.2.0", | ||
"ttl-mem-cache": "4.1.0" | ||
}, | ||
"devDependencies": { | ||
"@podium/test-utils": "2.3.0", | ||
"@semantic-release/changelog": "5.0.1", | ||
"@semantic-release/commit-analyzer": "8.0.1", | ||
"@semantic-release/git": "9.0.0", | ||
"@semantic-release/github": "7.0.7", | ||
"@semantic-release/npm": "7.0.5", | ||
"@semantic-release/release-notes-generator": "9.0.1", | ||
"semantic-release": "17.1.1", | ||
"@podium/test-utils": "2.2.0", | ||
"eslint": "7.5.0", | ||
"eslint-config-airbnb-base": "14.2.0", | ||
"eslint-config-prettier": "6.11.0", | ||
"eslint-plugin-import": "2.22.0", | ||
"eslint-plugin-prettier": "3.1.4", | ||
"@semantic-release/github": "7.2.1", | ||
"@semantic-release/npm": "7.1.1", | ||
"@semantic-release/release-notes-generator": "9.0.2", | ||
"babel-eslint": "10.1.0", | ||
"prettier": "2.0.5", | ||
"tap": "14.10.7" | ||
"eslint": "7.25.0", | ||
"eslint-config-airbnb-base": "14.2.1", | ||
"eslint-config-prettier": "8.3.0", | ||
"eslint-plugin-import": "2.22.1", | ||
"eslint-plugin-prettier": "3.4.0", | ||
"prettier": "2.2.1", | ||
"rollup": "2.46.0", | ||
"semantic-release": "17.4.2", | ||
"tap": "15.0.6" | ||
} | ||
} |
50674
7
498
Yes
17
1013
2
+ Added@podium/schemas@5.0.0-next.4(transitive)
+ Added@podium/utils@5.0.0-next.6(transitive)
+ Addedajv@8.1.0(transitive)
+ Addedajv-formats@2.0.2(transitive)
+ Addedcamelcase@6.2.0(transitive)
+ Addedjson-schema-traverse@1.0.0(transitive)
+ Addedpath-to-regexp@6.2.0(transitive)
+ Addedrequire-from-string@2.0.2(transitive)
- Removed@podium/schemas@5.0.0-next.1(transitive)
- Removed@podium/utils@5.0.0-next.2(transitive)
- Removedajv@6.12.3(transitive)
- Removedcamelcase@6.0.0(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedpath-to-regexp@6.1.0(transitive)
Updated@podium/schemas@5.0.0-next.4
Updated@podium/utils@5.0.0-next.6
Updatedpath-to-regexp@6.2.0