@gasket/plugin-https-proxy 0.0.0-canary-20251028184342 → 0.0.0-canary-20260205165418
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.
- package/cjs/create.cjs +7 -4
- package/cjs/index.cjs +2 -4
- package/lib/create.js +2 -4
- package/lib/index.js +2 -4
- package/package.json +8 -8
package/cjs/create.cjs
CHANGED
|
@@ -7,10 +7,13 @@ Object.defineProperty(exports, /** @type {import('@gasket/core').HookHandler<'cr
|
|
|
7
7
|
return create;
|
|
8
8
|
}
|
|
9
9
|
});
|
|
10
|
-
const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
const _packagejson = /*#__PURE__*/ _interop_require_default(require("../package.json"));
|
|
11
|
+
function _interop_require_default(obj) {
|
|
12
|
+
return obj && obj.__esModule ? obj : {
|
|
13
|
+
default: obj
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
const { name, version } = _packagejson.default;
|
|
14
17
|
function create(gasket, { pkg, gasketConfig }) {
|
|
15
18
|
gasketConfig.addPlugin('pluginHttpsProxy', name);
|
|
16
19
|
pkg.add('dependencies', {
|
package/cjs/index.cjs
CHANGED
|
@@ -11,15 +11,13 @@ Object.defineProperty(exports, /** @type {import('@gasket/core').Plugin} */ "def
|
|
|
11
11
|
});
|
|
12
12
|
const _create = /*#__PURE__*/ _interop_require_default(require("./create.cjs"));
|
|
13
13
|
const _actions = require("./actions.cjs");
|
|
14
|
-
const
|
|
14
|
+
const _packagejson = /*#__PURE__*/ _interop_require_default(require("../package.json"));
|
|
15
15
|
function _interop_require_default(obj) {
|
|
16
16
|
return obj && obj.__esModule ? obj : {
|
|
17
17
|
default: obj
|
|
18
18
|
};
|
|
19
19
|
}
|
|
20
|
-
const
|
|
21
|
-
const pkgJson = require1('../package.json');
|
|
22
|
-
const { name, version, description } = pkgJson;
|
|
20
|
+
const { name, version, description } = _packagejson.default;
|
|
23
21
|
const _default = {
|
|
24
22
|
name,
|
|
25
23
|
version,
|
package/lib/create.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
const
|
|
3
|
-
const pkgJson = require('../package.json');
|
|
4
|
-
const { name, version } = pkgJson;
|
|
1
|
+
import packageJson from '../package.json' with { type: 'json' };
|
|
2
|
+
const { name, version } = packageJson;
|
|
5
3
|
|
|
6
4
|
/** @type {import('@gasket/core').HookHandler<'create'>} */
|
|
7
5
|
export default function create(gasket, { pkg, gasketConfig }) {
|
package/lib/index.js
CHANGED
|
@@ -3,10 +3,8 @@
|
|
|
3
3
|
|
|
4
4
|
import create from './create.js';
|
|
5
5
|
import { actions } from './actions.js';
|
|
6
|
-
import
|
|
7
|
-
const
|
|
8
|
-
const pkgJson = require('../package.json');
|
|
9
|
-
const { name, version, description } = pkgJson;
|
|
6
|
+
import packageJson from '../package.json' with { type: 'json' };
|
|
7
|
+
const { name, version, description } = packageJson;
|
|
10
8
|
|
|
11
9
|
/** @type {import('@gasket/core').Plugin} */
|
|
12
10
|
export default {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gasket/plugin-https-proxy",
|
|
3
|
-
"version": "0.0.0-canary-
|
|
3
|
+
"version": "0.0.0-canary-20260205165418",
|
|
4
4
|
"description": "Adds support for running an https proxy",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"http-proxy": "^1.18.1"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"
|
|
40
|
-
"@gasket/
|
|
41
|
-
"@gasket/
|
|
42
|
-
"@gasket/plugin-logger": "0.0.0-canary-
|
|
43
|
-
"@gasket/plugin-metadata": "0.0.0-canary-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
39
|
+
"vitest": "^3.2.0",
|
|
40
|
+
"@gasket/plugin-https": "^0.0.0-canary-20260205165418",
|
|
41
|
+
"@gasket/cjs": "^0.0.0-canary-20260205165418",
|
|
42
|
+
"@gasket/plugin-logger": "^0.0.0-canary-20260205165418",
|
|
43
|
+
"@gasket/plugin-metadata": "^0.0.0-canary-20260205165418",
|
|
44
|
+
"@gasket/core": "^0.0.0-canary-20260205165418",
|
|
45
|
+
"create-gasket-app": "^0.0.0-canary-20260205165418"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "gasket-cjs ./lib",
|