@verdaccio/node-api 9.0.0-next-9.7 → 9.0.0-next-9.8
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/build/server.js +4 -4
- package/build/server.js.map +1 -1
- package/build/server.mjs +2 -2
- package/build/server.mjs.map +1 -1
- package/package.json +6 -5
package/build/server.js
CHANGED
|
@@ -2,7 +2,7 @@ const require_runtime = require("./_virtual/_rolldown/runtime.js");
|
|
|
2
2
|
const require_experiments = require("./experiments.js");
|
|
3
3
|
let debug = require("debug");
|
|
4
4
|
debug = require_runtime.__toESM(debug);
|
|
5
|
-
let
|
|
5
|
+
let lodash_es = require("lodash-es");
|
|
6
6
|
let node_constants = require("node:constants");
|
|
7
7
|
node_constants = require_runtime.__toESM(node_constants);
|
|
8
8
|
let node_fs = require("node:fs");
|
|
@@ -39,13 +39,13 @@ function createServerFactory(config, addr, app) {
|
|
|
39
39
|
if (!(keyCertConfig.key && keyCertConfig.cert || pfxConfig.pfx)) throw Error("bad format https configuration");
|
|
40
40
|
if (pfxConfig.pfx) {
|
|
41
41
|
const { pfx, passphrase } = pfxConfig;
|
|
42
|
-
httpsOptions = (0,
|
|
42
|
+
httpsOptions = (0, lodash_es.assign)(httpsOptions, {
|
|
43
43
|
pfx: node_fs.default.readFileSync(pfx),
|
|
44
44
|
passphrase: passphrase || ""
|
|
45
45
|
});
|
|
46
46
|
} else {
|
|
47
47
|
const { key, cert, ca } = keyCertConfig;
|
|
48
|
-
httpsOptions = (0,
|
|
48
|
+
httpsOptions = (0, lodash_es.assign)(httpsOptions, {
|
|
49
49
|
key: node_fs.default.readFileSync(key),
|
|
50
50
|
cert: node_fs.default.readFileSync(cert),
|
|
51
51
|
...ca && { ca: node_fs.default.readFileSync(ca) }
|
|
@@ -78,7 +78,7 @@ async function initServer(config, port, version, pkgName) {
|
|
|
78
78
|
require_experiments.displayExperimentsInfoBox(config.flags);
|
|
79
79
|
const serverFactory = createServerFactory(config, addr, await (0, _verdaccio_server.default)(config));
|
|
80
80
|
serverFactory.listen(addr.port || addr.path, addr.host, () => {
|
|
81
|
-
if (
|
|
81
|
+
if (typeof process.send === "function") process.send({ verdaccio_started: true });
|
|
82
82
|
const addressServer = `${addr.path ? node_url.default.format({
|
|
83
83
|
protocol: "unix",
|
|
84
84
|
pathname: addr.path
|
package/build/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","names":[],"sources":["../src/server.ts"],"sourcesContent":["/* eslint-disable */\nimport buildDebug from 'debug';\nimport { assign
|
|
1
|
+
{"version":3,"file":"server.js","names":[],"sources":["../src/server.ts"],"sourcesContent":["/* eslint-disable */\nimport buildDebug from 'debug';\nimport { assign } from 'lodash-es';\nimport constants from 'node:constants';\nimport fs from 'node:fs';\nimport http from 'node:http';\nimport https from 'node:https';\nimport url from 'node:url';\n\nimport { getConfigParsed, getListenAddress } from '@verdaccio/config';\nimport { logger, setup } from '@verdaccio/logger';\nimport expressServer from '@verdaccio/server';\nimport { ConfigYaml, HttpsConfKeyCert, HttpsConfPfx } from '@verdaccio/types';\n\nimport { displayExperimentsInfoBox } from './experiments';\n\nconst debug = buildDebug('verdaccio:node-api');\n\nfunction unlinkAddressPath(addr) {\n if (addr.path && fs.existsSync(addr.path)) {\n fs.unlinkSync(addr.path);\n }\n}\n\n/**\n * Return a native HTTP/HTTPS server instance\n * @param config\n * @param addr\n * @param app\n */\nexport function createServerFactory(config: ConfigYaml, addr, app) {\n let serverFactory;\n if (addr.proto === 'https') {\n debug('https enabled');\n try {\n let httpsOptions = {\n // disable insecure SSLv2 and SSLv3\n secureOptions: constants.SSL_OP_NO_SSLv2 | constants.SSL_OP_NO_SSLv3,\n };\n\n const keyCertConfig = config.https as HttpsConfKeyCert;\n const pfxConfig = config.https as HttpsConfPfx;\n\n // https must either have key and cert or a pfx and (optionally) a passphrase\n if (!((keyCertConfig.key && keyCertConfig.cert) || pfxConfig.pfx)) {\n // logHTTPSError(configPath);\n throw Error('bad format https configuration');\n }\n\n if (pfxConfig.pfx) {\n const { pfx, passphrase } = pfxConfig;\n httpsOptions = assign(httpsOptions, {\n pfx: fs.readFileSync(pfx),\n passphrase: passphrase || '',\n });\n } else {\n const { key, cert, ca } = keyCertConfig;\n httpsOptions = assign(httpsOptions, {\n key: fs.readFileSync(key),\n cert: fs.readFileSync(cert),\n ...(ca && {\n ca: fs.readFileSync(ca),\n }),\n });\n }\n // TODO: enable http2 as feature\n // if (config.server.http2) <-- check if force http2\n serverFactory = https.createServer(httpsOptions, app);\n } catch (err: any) {\n throw new Error(`cannot create https server: ${err.message}`);\n }\n } else {\n // http\n debug('http enabled');\n serverFactory = http.createServer(app);\n }\n\n debug('server created');\n\n if (\n config.server &&\n typeof config.server.keepAliveTimeout !== 'undefined' &&\n // @ts-ignore\n config.server.keepAliveTimeout !== 'null'\n ) {\n // library definition for node is not up to date (doesn't contain recent 8.0 changes)\n serverFactory.keepAliveTimeout = config.server.keepAliveTimeout * 1000;\n }\n // FIXE: I could not find the reason of this code.\n unlinkAddressPath(addr);\n\n return serverFactory;\n}\n\n/**\n * Start the server on the port defined (or the port defined in the config file)\n * @param config\n * @param port\n * @param version\n * @param pkgName\n */\nexport async function initServer(\n config: ConfigYaml,\n port: string | void,\n version: string,\n pkgName: string\n): Promise<void> {\n return new Promise(async (resolve, reject) => {\n const logger = await setup(config?.log as any);\n const addr = getListenAddress(port ?? config?.listen, logger);\n displayExperimentsInfoBox(config.flags);\n\n let app = await expressServer(config);\n const serverFactory = createServerFactory(config, addr, app);\n serverFactory\n .listen(addr.port || addr.path, addr.host, (): void => {\n // send a message for test\n if (typeof process.send === 'function') {\n process.send({\n verdaccio_started: true,\n });\n }\n const addressServer = `${\n addr.path\n ? url.format({\n protocol: 'unix',\n pathname: addr.path,\n })\n : url.format({\n protocol: addr.proto,\n hostname: addr.host,\n port: addr.port,\n pathname: '/',\n })\n }`;\n logger.info({ addressServer }, 'http address: @{addressServer}');\n logger.info({ version }, 'version: @{version}');\n resolve();\n })\n .on('error', function (err): void {\n reject(err);\n process.exitCode = 1;\n });\n function handleShutdownGracefully() {\n logger.info('received shutdown signal - closing server gracefully...');\n serverFactory.close(() => {\n logger.info('server closed.');\n process.exit(0);\n });\n }\n\n for (const signal of ['SIGINT', 'SIGTERM', 'SIGHUP']) {\n // Use once() so that receiving double signals exit the app.\n process.once(signal, handleShutdownGracefully);\n }\n });\n}\n\n/**\n * Exposes a server factory to be instantiated programmatically.\n *\n ```ts\n const app = await runServer(); // default configuration\n const app = await runServer('./config/config.yaml');\n const app = await runServer({ configuration });\n app.listen(4000, (event) => {\n // do something\n });\n ```\n * @param config\n */\nexport async function runServer(config?: string | ConfigYaml): Promise<any> {\n const configurationParsed = getConfigParsed(config);\n await setup(configurationParsed.log as any);\n displayExperimentsInfoBox(configurationParsed.flags);\n const addr = getListenAddress(configurationParsed.listen, logger);\n const app = await expressServer(configurationParsed);\n return createServerFactory(configurationParsed, addr, app);\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAgBA,IAAM,WAAA,GAAA,MAAA,SAAmB,qBAAqB;AAE9C,SAAS,kBAAkB,MAAM;AAC/B,KAAI,KAAK,QAAQ,QAAA,QAAG,WAAW,KAAK,KAAK,CACvC,SAAA,QAAG,WAAW,KAAK,KAAK;;;;;;;;AAU5B,SAAgB,oBAAoB,QAAoB,MAAM,KAAK;CACjE,IAAI;AACJ,KAAI,KAAK,UAAU,SAAS;AAC1B,UAAM,gBAAgB;AACtB,MAAI;GACF,IAAI,eAAe,EAEjB,eAAe,eAAA,QAAU,kBAAkB,eAAA,QAAU,iBACtD;GAED,MAAM,gBAAgB,OAAO;GAC7B,MAAM,YAAY,OAAO;AAGzB,OAAI,EAAG,cAAc,OAAO,cAAc,QAAS,UAAU,KAE3D,OAAM,MAAM,iCAAiC;AAG/C,OAAI,UAAU,KAAK;IACjB,MAAM,EAAE,KAAK,eAAe;AAC5B,oBAAA,GAAA,UAAA,QAAsB,cAAc;KAClC,KAA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ACf,UAAU,KAAK;IACf,MAAM,KAAK;IACX,UAAU;IACX,CAAC;AAER,UAAO,KAAK,EAAE,eAAe,EAAE,iCAAiC;AAChE,UAAO,KAAK,EAAE,SAAS,EAAE,sBAAsB;AAC/C,YAAS;IACT,CACD,GAAG,SAAS,SAAU,KAAW;AAChC,UAAO,IAAI;AACX,WAAQ,WAAW;IACnB;EACJ,SAAS,2BAA2B;AAClC,UAAO,KAAK,0DAA0D;AACtE,iBAAc,YAAY;AACxB,WAAO,KAAK,iBAAiB;AAC7B,YAAQ,KAAK,EAAE;KACf;;AAGJ,OAAK,MAAM,UAAU;GAAC;GAAU;GAAW;GAAS,CAElD,SAAQ,KAAK,QAAQ,yBAAyB;GAEhD;;;;;;;;;;;;;;;AAgBJ,eAAsB,UAAU,QAA4C;CAC1E,MAAM,uBAAA,GAAA,kBAAA,iBAAsC,OAAO;AACnD,QAAA,GAAA,kBAAA,OAAY,oBAAoB,IAAW;AAC3C,qBAAA,0BAA0B,oBAAoB,MAAM;AAGpD,QAAO,oBAAoB,sBAAA,GAAA,kBAAA,kBAFG,oBAAoB,QAAQ,kBAAA,OAAO,EACrD,OAAA,GAAA,kBAAA,SAAoB,oBAAoB,CACM"}
|
package/build/server.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { displayExperimentsInfoBox } from "./experiments.mjs";
|
|
2
2
|
import buildDebug from "debug";
|
|
3
|
-
import { assign
|
|
3
|
+
import { assign } from "lodash-es";
|
|
4
4
|
import constants from "node:constants";
|
|
5
5
|
import fs from "node:fs";
|
|
6
6
|
import http from "node:http";
|
|
@@ -70,7 +70,7 @@ async function initServer(config, port, version, pkgName) {
|
|
|
70
70
|
displayExperimentsInfoBox(config.flags);
|
|
71
71
|
const serverFactory = createServerFactory(config, addr, await expressServer(config));
|
|
72
72
|
serverFactory.listen(addr.port || addr.path, addr.host, () => {
|
|
73
|
-
if (
|
|
73
|
+
if (typeof process.send === "function") process.send({ verdaccio_started: true });
|
|
74
74
|
const addressServer = `${addr.path ? url.format({
|
|
75
75
|
protocol: "unix",
|
|
76
76
|
pathname: addr.path
|
package/build/server.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.mjs","names":[],"sources":["../src/server.ts"],"sourcesContent":["/* eslint-disable */\nimport buildDebug from 'debug';\nimport { assign
|
|
1
|
+
{"version":3,"file":"server.mjs","names":[],"sources":["../src/server.ts"],"sourcesContent":["/* eslint-disable */\nimport buildDebug from 'debug';\nimport { assign } from 'lodash-es';\nimport constants from 'node:constants';\nimport fs from 'node:fs';\nimport http from 'node:http';\nimport https from 'node:https';\nimport url from 'node:url';\n\nimport { getConfigParsed, getListenAddress } from '@verdaccio/config';\nimport { logger, setup } from '@verdaccio/logger';\nimport expressServer from '@verdaccio/server';\nimport { ConfigYaml, HttpsConfKeyCert, HttpsConfPfx } from '@verdaccio/types';\n\nimport { displayExperimentsInfoBox } from './experiments';\n\nconst debug = buildDebug('verdaccio:node-api');\n\nfunction unlinkAddressPath(addr) {\n if (addr.path && fs.existsSync(addr.path)) {\n fs.unlinkSync(addr.path);\n }\n}\n\n/**\n * Return a native HTTP/HTTPS server instance\n * @param config\n * @param addr\n * @param app\n */\nexport function createServerFactory(config: ConfigYaml, addr, app) {\n let serverFactory;\n if (addr.proto === 'https') {\n debug('https enabled');\n try {\n let httpsOptions = {\n // disable insecure SSLv2 and SSLv3\n secureOptions: constants.SSL_OP_NO_SSLv2 | constants.SSL_OP_NO_SSLv3,\n };\n\n const keyCertConfig = config.https as HttpsConfKeyCert;\n const pfxConfig = config.https as HttpsConfPfx;\n\n // https must either have key and cert or a pfx and (optionally) a passphrase\n if (!((keyCertConfig.key && keyCertConfig.cert) || pfxConfig.pfx)) {\n // logHTTPSError(configPath);\n throw Error('bad format https configuration');\n }\n\n if (pfxConfig.pfx) {\n const { pfx, passphrase } = pfxConfig;\n httpsOptions = assign(httpsOptions, {\n pfx: fs.readFileSync(pfx),\n passphrase: passphrase || '',\n });\n } else {\n const { key, cert, ca } = keyCertConfig;\n httpsOptions = assign(httpsOptions, {\n key: fs.readFileSync(key),\n cert: fs.readFileSync(cert),\n ...(ca && {\n ca: fs.readFileSync(ca),\n }),\n });\n }\n // TODO: enable http2 as feature\n // if (config.server.http2) <-- check if force http2\n serverFactory = https.createServer(httpsOptions, app);\n } catch (err: any) {\n throw new Error(`cannot create https server: ${err.message}`);\n }\n } else {\n // http\n debug('http enabled');\n serverFactory = http.createServer(app);\n }\n\n debug('server created');\n\n if (\n config.server &&\n typeof config.server.keepAliveTimeout !== 'undefined' &&\n // @ts-ignore\n config.server.keepAliveTimeout !== 'null'\n ) {\n // library definition for node is not up to date (doesn't contain recent 8.0 changes)\n serverFactory.keepAliveTimeout = config.server.keepAliveTimeout * 1000;\n }\n // FIXE: I could not find the reason of this code.\n unlinkAddressPath(addr);\n\n return serverFactory;\n}\n\n/**\n * Start the server on the port defined (or the port defined in the config file)\n * @param config\n * @param port\n * @param version\n * @param pkgName\n */\nexport async function initServer(\n config: ConfigYaml,\n port: string | void,\n version: string,\n pkgName: string\n): Promise<void> {\n return new Promise(async (resolve, reject) => {\n const logger = await setup(config?.log as any);\n const addr = getListenAddress(port ?? config?.listen, logger);\n displayExperimentsInfoBox(config.flags);\n\n let app = await expressServer(config);\n const serverFactory = createServerFactory(config, addr, app);\n serverFactory\n .listen(addr.port || addr.path, addr.host, (): void => {\n // send a message for test\n if (typeof process.send === 'function') {\n process.send({\n verdaccio_started: true,\n });\n }\n const addressServer = `${\n addr.path\n ? url.format({\n protocol: 'unix',\n pathname: addr.path,\n })\n : url.format({\n protocol: addr.proto,\n hostname: addr.host,\n port: addr.port,\n pathname: '/',\n })\n }`;\n logger.info({ addressServer }, 'http address: @{addressServer}');\n logger.info({ version }, 'version: @{version}');\n resolve();\n })\n .on('error', function (err): void {\n reject(err);\n process.exitCode = 1;\n });\n function handleShutdownGracefully() {\n logger.info('received shutdown signal - closing server gracefully...');\n serverFactory.close(() => {\n logger.info('server closed.');\n process.exit(0);\n });\n }\n\n for (const signal of ['SIGINT', 'SIGTERM', 'SIGHUP']) {\n // Use once() so that receiving double signals exit the app.\n process.once(signal, handleShutdownGracefully);\n }\n });\n}\n\n/**\n * Exposes a server factory to be instantiated programmatically.\n *\n ```ts\n const app = await runServer(); // default configuration\n const app = await runServer('./config/config.yaml');\n const app = await runServer({ configuration });\n app.listen(4000, (event) => {\n // do something\n });\n ```\n * @param config\n */\nexport async function runServer(config?: string | ConfigYaml): Promise<any> {\n const configurationParsed = getConfigParsed(config);\n await setup(configurationParsed.log as any);\n displayExperimentsInfoBox(configurationParsed.flags);\n const addr = getListenAddress(configurationParsed.listen, logger);\n const app = await expressServer(configurationParsed);\n return createServerFactory(configurationParsed, addr, app);\n}\n"],"mappings":";;;;;;;;;;;;AAgBA,IAAM,QAAQ,WAAW,qBAAqB;AAE9C,SAAS,kBAAkB,MAAM;AAC/B,KAAI,KAAK,QAAQ,GAAG,WAAW,KAAK,KAAK,CACvC,IAAG,WAAW,KAAK,KAAK;;;;;;;;AAU5B,SAAgB,oBAAoB,QAAoB,MAAM,KAAK;CACjE,IAAI;AACJ,KAAI,KAAK,UAAU,SAAS;AAC1B,QAAM,gBAAgB;AACtB,MAAI;GACF,IAAI,eAAe,EAEjB,eAAe,UAAU,kBAAkB,UAAU,iBACtD;GAED,MAAM,gBAAgB,OAAO;GAC7B,MAAM,YAAY,OAAO;AAGzB,OAAI,EAAG,cAAc,OAAO,cAAc,QAAS,UAAU,KAE3D,OAAM,MAAM,iCAAiC;AAG/C,OAAI,UAAU,KAAK;IACjB,MAAM,EAAE,KAAK,eAAe;AAC5B,mBAAe,OAAO,cAAc;KAClC,KAAK,GAAG,aAAa,IAAI;KACzB,YAAY,cAAc;KAC3B,CAAC;UACG;IACL,MAAM,EAAE,KAAK,MAAM,OAAO;AAC1B,mBAAe,OAAO,cAAc;KAClC,KAAK,GAAG,aAAa,IAAI;KACzB,MAAM,GAAG,aAAa,KAAK;KAC3B,GAAI,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B,WAAO,KAAK,iBAAiB;AAC7B,YAAQ,KAAK,EAAE;KACf;;AAGJ,OAAK,MAAM,UAAU;GAAC;GAAU;GAAW;GAAS,CAElD,SAAQ,KAAK,QAAQ,yBAAyB;GAEhD;;;;;;;;;;;;;;;AAgBJ,eAAsB,UAAU,QAA4C;CAC1E,MAAM,sBAAsB,gBAAgB,OAAO;AACnD,OAAM,MAAM,oBAAoB,IAAW;AAC3C,2BAA0B,oBAAoB,MAAM;AAGpD,QAAO,oBAAoB,qBAFd,iBAAiB,oBAAoB,QAAQ,OAAO,EACrD,MAAM,cAAc,oBAAoB,CACM"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdaccio/node-api",
|
|
3
|
-
"version": "9.0.0-next-9.
|
|
3
|
+
"version": "9.0.0-next-9.8",
|
|
4
4
|
"description": "Verdaccio Node API",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"types": "build/index.d.ts",
|
|
@@ -33,14 +33,15 @@
|
|
|
33
33
|
},
|
|
34
34
|
"license": "MIT",
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@verdaccio/config": "9.0.0-next-9.
|
|
37
|
-
"@verdaccio/logger": "9.0.0-next-9.
|
|
38
|
-
"@verdaccio/server": "9.0.0-next-9.
|
|
36
|
+
"@verdaccio/config": "9.0.0-next-9.8",
|
|
37
|
+
"@verdaccio/logger": "9.0.0-next-9.8",
|
|
38
|
+
"@verdaccio/server": "9.0.0-next-9.8",
|
|
39
39
|
"debug": "4.4.3",
|
|
40
|
-
"lodash": "4.17.23"
|
|
40
|
+
"lodash-es": "4.17.23"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@verdaccio/types": "14.0.0-next-9.4",
|
|
44
|
+
"@types/lodash-es": "4.17.12",
|
|
44
45
|
"supertest": "7.1.4",
|
|
45
46
|
"vitest": "4.1.0"
|
|
46
47
|
},
|