@podium/proxy
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -0,1 +1,8 @@ | ||
## [5.0.1](https://github.com/podium-lib/proxy/compare/v5.0.0...v5.0.1) (2023-12-06) | ||
### Bug Fixes | ||
* export default now that package is esm ([e7224be](https://github.com/podium-lib/proxy/commit/e7224beb2e71792d69b615e709c79329dfb8299f)) | ||
# [5.0.0](https://github.com/podium-lib/proxy/compare/v4.2.86...v5.0.0) (2023-11-28) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@podium/proxy", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "Transparent http proxy. Dynamically mounts proxy targets on an existing HTTP server instance.", | ||
@@ -47,7 +47,7 @@ "type": "module", | ||
"devDependencies": { | ||
"@babel/eslint-parser": "7.17.0", | ||
"@babel/eslint-parser": "7.23.3", | ||
"@semantic-release/changelog": "6.0.3", | ||
"@semantic-release/commit-analyzer": "11.1.0", | ||
"@semantic-release/git": "10.0.1", | ||
"@semantic-release/github": "9.2.3", | ||
"@semantic-release/github": "9.2.4", | ||
"@semantic-release/npm": "11.0.1", | ||
@@ -54,0 +54,0 @@ "@semantic-release/release-notes-generator": "12.1.0", |
@@ -85,2 +85,2 @@ import MetricsClient from '@metrics/client'; | ||
export = PodiumProxy; | ||
export default PodiumProxy; |
@@ -26,5 +26,5 @@ # @podium/proxy v5 | ||
```js | ||
const { HttpIncoming } = require('@podium/utils'); | ||
const Proxy = require('@podium/proxy'); | ||
const http = require('http'); | ||
import { HttpIncoming } from '@podium/utils'; | ||
import Proxy from '@podium/proxy'; | ||
import http from 'http'; | ||
@@ -68,3 +68,3 @@ // Set up proxy | ||
```js | ||
const Proxy = require('@podium/proxy'); | ||
import Proxy from '@podium/proxy'; | ||
const proxy = new Proxy(options); | ||
@@ -96,3 +96,3 @@ ``` | ||
```js | ||
const Proxy = require('@podium/proxy'); | ||
import Proxy from '@podium/proxy'; | ||
@@ -139,5 +139,5 @@ // Set up proxy | ||
```js | ||
const { HttpIncoming } = require('@podium/utils'); | ||
const Proxy = require('@podium/proxy'); | ||
const http = require('http'); | ||
import { HttpIncoming } from '@podium/utils'; | ||
import Proxy from '@podium/proxy'; | ||
import http from 'http'; | ||
@@ -204,5 +204,5 @@ const proxy = new Proxy(); | ||
```js | ||
const { HttpIncoming } = require('@podium/utils'); | ||
const Proxy = require('@podium/proxy'); | ||
const http = require('http'); | ||
import { HttpIncoming } from '@podium/utils'; | ||
import Proxy from '@podium/proxy'; | ||
import http from 'http'; | ||
@@ -236,5 +236,5 @@ const proxy = new Proxy(); | ||
```js | ||
const { HttpIncoming } = require('@podium/utils'); | ||
const Proxy = require('@podium/proxy'); | ||
const http = require('http'); | ||
import { HttpIncoming } from '@podium/utils'; | ||
import Proxy from '@podium/proxy'; | ||
import http from 'http'; | ||
@@ -270,5 +270,5 @@ const proxy = new Proxy({ | ||
```js | ||
const { HttpIncoming } = require('@podium/utils'); | ||
const Proxy = require('@podium/proxy'); | ||
const http = require('http'); | ||
import { HttpIncoming } from '@podium/utils'; | ||
import Proxy from '@podium/proxy'; | ||
import http from 'http'; | ||
@@ -304,5 +304,5 @@ const proxy = new Proxy(); | ||
```js | ||
const { HttpIncoming } = require('@podium/utils'); | ||
const Proxy = require('@podium/proxy'); | ||
const http = require('http'); | ||
import { HttpIncoming } from '@podium/utils'; | ||
import Proxy from '@podium/proxy'; | ||
import http from 'http'; | ||
@@ -309,0 +309,0 @@ const proxy = new Proxy(); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
64552