@verdaccio/core 6.0.0-6-next.62 → 6.0.0-6-next.64
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/CHANGELOG.md +12 -0
- package/build/warning-utils.d.ts +1 -0
- package/build/warning-utils.js +3 -1
- package/build/warning-utils.js.map +1 -1
- package/package.json +2 -2
- package/src/warning-utils.ts +8 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @verdaccio/core
|
|
2
2
|
|
|
3
|
+
## 6.0.0-6-next.64
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 974cd8c1: fix: startup messages improved and logs support on types
|
|
8
|
+
|
|
9
|
+
## 6.0.0-6-next.63
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- dc571aab: feat: add forceEnhancedLegacySignature
|
|
14
|
+
|
|
3
15
|
## 6.0.0-6-next.62
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/build/warning-utils.d.ts
CHANGED
package/build/warning-utils.js
CHANGED
|
@@ -17,14 +17,16 @@ exports.Codes = Codes;
|
|
|
17
17
|
Codes["VERWAR002"] = "VERWAR002";
|
|
18
18
|
Codes["VERWAR003"] = "VERWAR003";
|
|
19
19
|
Codes["VERWAR004"] = "VERWAR004";
|
|
20
|
+
Codes["VERWAR005"] = "VERWAR005";
|
|
20
21
|
Codes["VERDEP003"] = "VERDEP003";
|
|
21
22
|
})(Codes || (exports.Codes = Codes = {}));
|
|
22
|
-
warningInstance.create(verdaccioWarning, Codes.VERWAR002, `The property
|
|
23
|
+
warningInstance.create(verdaccioWarning, Codes.VERWAR002, `The configuration file property "logs" property is deprecated, rename to "log" for future compatibility`);
|
|
23
24
|
warningInstance.create(verdaccioWarning, Codes.VERWAR001, `Verdaccio doesn't need superuser privileges. don't run it under root`);
|
|
24
25
|
warningInstance.create(verdaccioWarning, Codes.VERWAR003, 'rotating-file type is not longer supported, consider use [logrotate] instead');
|
|
25
26
|
warningInstance.create(verdaccioWarning, Codes.VERWAR004, `invalid address - %s, we expect a port (e.g. "4873"),
|
|
26
27
|
host:port (e.g. "localhost:4873") or full url '(e.g. "http://localhost:4873/")
|
|
27
28
|
https://verdaccio.org/docs/en/configuration#listen-port`);
|
|
29
|
+
warningInstance.create(verdaccioWarning, Codes.VERWAR005, 'disable enhanced legacy signature is considered a security risk, please reconsider enable it');
|
|
28
30
|
warningInstance.create(verdaccioDeprecation, Codes.VERDEP003, 'multiple addresses will be deprecated in the next major, only use one');
|
|
29
31
|
function emit(code, a, b, c) {
|
|
30
32
|
warningInstance.emit(code, a, b, c);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"warning-utils.js","names":["warningInstance","warning","verdaccioWarning","verdaccioDeprecation","Codes","create","VERWAR002","VERWAR001","VERWAR003","VERWAR004","VERDEP003","emit","code","a","b","c"],"sources":["../src/warning-utils.ts"],"sourcesContent":["import warning from 'process-warning';\n\nconst warningInstance = warning();\nconst verdaccioWarning = 'VerdaccioWarning';\nconst verdaccioDeprecation = 'VerdaccioDeprecation';\n\nexport enum Codes {\n VERWAR001 = 'VERWAR001',\n VERWAR002 = 'VERWAR002',\n VERWAR003 = 'VERWAR003',\n VERWAR004 = 'VERWAR004',\n // deprecation warnings\n VERDEP003 = 'VERDEP003',\n}\n\nwarningInstance.create(\n verdaccioWarning,\n Codes.VERWAR002,\n `The property
|
|
1
|
+
{"version":3,"file":"warning-utils.js","names":["warningInstance","warning","verdaccioWarning","verdaccioDeprecation","Codes","create","VERWAR002","VERWAR001","VERWAR003","VERWAR004","VERWAR005","VERDEP003","emit","code","a","b","c"],"sources":["../src/warning-utils.ts"],"sourcesContent":["import warning from 'process-warning';\n\nconst warningInstance = warning();\nconst verdaccioWarning = 'VerdaccioWarning';\nconst verdaccioDeprecation = 'VerdaccioDeprecation';\n\nexport enum Codes {\n VERWAR001 = 'VERWAR001',\n VERWAR002 = 'VERWAR002',\n VERWAR003 = 'VERWAR003',\n VERWAR004 = 'VERWAR004',\n VERWAR005 = 'VERWAR005',\n // deprecation warnings\n VERDEP003 = 'VERDEP003',\n}\n\nwarningInstance.create(\n verdaccioWarning,\n Codes.VERWAR002,\n `The configuration file property \"logs\" property is deprecated, rename to \"log\" for future compatibility`\n);\n\nwarningInstance.create(\n verdaccioWarning,\n Codes.VERWAR001,\n `Verdaccio doesn't need superuser privileges. don't run it under root`\n);\n\nwarningInstance.create(\n verdaccioWarning,\n Codes.VERWAR003,\n 'rotating-file type is not longer supported, consider use [logrotate] instead'\n);\n\nwarningInstance.create(\n verdaccioWarning,\n Codes.VERWAR004,\n `invalid address - %s, we expect a port (e.g. \"4873\"), \nhost:port (e.g. \"localhost:4873\") or full url '(e.g. \"http://localhost:4873/\")\nhttps://verdaccio.org/docs/en/configuration#listen-port`\n);\n\nwarningInstance.create(\n verdaccioWarning,\n Codes.VERWAR005,\n 'disable enhanced legacy signature is considered a security risk, please reconsider enable it'\n);\n\nwarningInstance.create(\n verdaccioDeprecation,\n Codes.VERDEP003,\n 'multiple addresses will be deprecated in the next major, only use one'\n);\n\nexport function emit(code: string, a?: string, b?: string, c?: string) {\n warningInstance.emit(code, a, b, c);\n}\n"],"mappings":";;;;;;;AAAA;AAAsC;AAEtC,MAAMA,eAAe,GAAG,IAAAC,uBAAO,GAAE;AACjC,MAAMC,gBAAgB,GAAG,kBAAkB;AAC3C,MAAMC,oBAAoB,GAAG,sBAAsB;AAAC,IAExCC,KAAK;AAAA;AAAA,WAALA,KAAK;EAALA,KAAK;EAALA,KAAK;EAALA,KAAK;EAALA,KAAK;EAALA,KAAK;EAALA,KAAK;AAAA,GAALA,KAAK,qBAALA,KAAK;AAUjBJ,eAAe,CAACK,MAAM,CACpBH,gBAAgB,EAChBE,KAAK,CAACE,SAAS,EACd,yGAAwG,CAC1G;AAEDN,eAAe,CAACK,MAAM,CACpBH,gBAAgB,EAChBE,KAAK,CAACG,SAAS,EACd,sEAAqE,CACvE;AAEDP,eAAe,CAACK,MAAM,CACpBH,gBAAgB,EAChBE,KAAK,CAACI,SAAS,EACf,8EAA8E,CAC/E;AAEDR,eAAe,CAACK,MAAM,CACpBH,gBAAgB,EAChBE,KAAK,CAACK,SAAS,EACd;AACH;AACA,wDAAwD,CACvD;AAEDT,eAAe,CAACK,MAAM,CACpBH,gBAAgB,EAChBE,KAAK,CAACM,SAAS,EACf,8FAA8F,CAC/F;AAEDV,eAAe,CAACK,MAAM,CACpBF,oBAAoB,EACpBC,KAAK,CAACO,SAAS,EACf,uEAAuE,CACxE;AAEM,SAASC,IAAI,CAACC,IAAY,EAAEC,CAAU,EAAEC,CAAU,EAAEC,CAAU,EAAE;EACrEhB,eAAe,CAACY,IAAI,CAACC,IAAI,EAAEC,CAAC,EAAEC,CAAC,EAAEC,CAAC,CAAC;AACrC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verdaccio/core",
|
|
3
|
-
"version": "6.0.0-6-next.
|
|
3
|
+
"version": "6.0.0-6-next.64",
|
|
4
4
|
"description": "core utilities",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"private",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"lodash": "4.17.21",
|
|
45
45
|
"typedoc": "0.23.25",
|
|
46
46
|
"typedoc-plugin-missing-exports": "latest",
|
|
47
|
-
"@verdaccio/types": "11.0.0-6-next.
|
|
47
|
+
"@verdaccio/types": "11.0.0-6-next.23"
|
|
48
48
|
},
|
|
49
49
|
"funding": {
|
|
50
50
|
"type": "opencollective",
|
package/src/warning-utils.ts
CHANGED
|
@@ -9,6 +9,7 @@ export enum Codes {
|
|
|
9
9
|
VERWAR002 = 'VERWAR002',
|
|
10
10
|
VERWAR003 = 'VERWAR003',
|
|
11
11
|
VERWAR004 = 'VERWAR004',
|
|
12
|
+
VERWAR005 = 'VERWAR005',
|
|
12
13
|
// deprecation warnings
|
|
13
14
|
VERDEP003 = 'VERDEP003',
|
|
14
15
|
}
|
|
@@ -16,7 +17,7 @@ export enum Codes {
|
|
|
16
17
|
warningInstance.create(
|
|
17
18
|
verdaccioWarning,
|
|
18
19
|
Codes.VERWAR002,
|
|
19
|
-
`The property
|
|
20
|
+
`The configuration file property "logs" property is deprecated, rename to "log" for future compatibility`
|
|
20
21
|
);
|
|
21
22
|
|
|
22
23
|
warningInstance.create(
|
|
@@ -39,6 +40,12 @@ host:port (e.g. "localhost:4873") or full url '(e.g. "http://localhost:4873/")
|
|
|
39
40
|
https://verdaccio.org/docs/en/configuration#listen-port`
|
|
40
41
|
);
|
|
41
42
|
|
|
43
|
+
warningInstance.create(
|
|
44
|
+
verdaccioWarning,
|
|
45
|
+
Codes.VERWAR005,
|
|
46
|
+
'disable enhanced legacy signature is considered a security risk, please reconsider enable it'
|
|
47
|
+
);
|
|
48
|
+
|
|
42
49
|
warningInstance.create(
|
|
43
50
|
verdaccioDeprecation,
|
|
44
51
|
Codes.VERDEP003,
|