@verdaccio/auth 7.0.0-next-7.11 → 7.0.0-next-7.13

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 CHANGED
@@ -1,5 +1,30 @@
1
1
  # @verdaccio/auth
2
2
 
3
+ ## 7.0.0-next-7.13
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [a99a4bb]
8
+ - @verdaccio/config@7.0.0-next-7.13
9
+ - @verdaccio/loaders@7.0.0-next-7.13
10
+ - verdaccio-htpasswd@12.0.0-next-7.13
11
+ - @verdaccio/signature@7.0.0-next.3
12
+ - @verdaccio/logger@7.0.0-next-7.13
13
+ - @verdaccio/core@7.0.0-next-7.13
14
+ - @verdaccio/utils@7.0.0-next-7.13
15
+
16
+ ## 7.0.0-next-7.12
17
+
18
+ ### Patch Changes
19
+
20
+ - @verdaccio/core@7.0.0-next-7.12
21
+ - @verdaccio/config@7.0.0-next-7.12
22
+ - @verdaccio/loaders@7.0.0-next-7.12
23
+ - verdaccio-htpasswd@12.0.0-next-7.12
24
+ - @verdaccio/utils@7.0.0-next-7.12
25
+ - @verdaccio/signature@7.0.0-next.3
26
+ - @verdaccio/logger@7.0.0-next-7.12
27
+
3
28
  ## 7.0.0-next-7.11
4
29
 
5
30
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/auth",
3
- "version": "7.0.0-next-7.11",
3
+ "version": "7.0.0-next-7.13",
4
4
  "description": "logger",
5
5
  "main": "./build/index.js",
6
6
  "types": "./build/index.d.ts",
@@ -29,20 +29,20 @@
29
29
  },
30
30
  "license": "MIT",
31
31
  "dependencies": {
32
- "@verdaccio/core": "7.0.0-next-7.11",
33
- "@verdaccio/config": "7.0.0-next-7.11",
34
- "@verdaccio/loaders": "7.0.0-next-7.11",
35
- "@verdaccio/logger": "7.0.0-next-7.11",
32
+ "@verdaccio/core": "7.0.0-next-7.13",
33
+ "@verdaccio/config": "7.0.0-next-7.13",
34
+ "@verdaccio/loaders": "7.0.0-next-7.13",
35
+ "@verdaccio/logger": "7.0.0-next-7.13",
36
36
  "@verdaccio/signature": "7.0.0-next.3",
37
- "@verdaccio/utils": "7.0.0-next-7.11",
37
+ "@verdaccio/utils": "7.0.0-next-7.13",
38
38
  "debug": "4.3.4",
39
39
  "lodash": "4.17.21",
40
- "verdaccio-htpasswd": "12.0.0-next-7.11"
40
+ "verdaccio-htpasswd": "12.0.0-next-7.13"
41
41
  },
42
42
  "devDependencies": {
43
- "express": "4.18.2",
43
+ "express": "4.18.3",
44
44
  "supertest": "6.3.4",
45
- "@verdaccio/middleware": "7.0.0-next-7.11",
45
+ "@verdaccio/middleware": "7.0.0-next-7.13",
46
46
  "@verdaccio/types": "12.0.0-next.2"
47
47
  },
48
48
  "funding": {
package/test/auth.spec.ts CHANGED
@@ -558,9 +558,10 @@ describe('AuthTest', () => {
558
558
  const getServer = async function (auth) {
559
559
  const app = express();
560
560
  app.use(express.json({ strict: false, limit: '10mb' }));
561
+
562
+ app.use(auth.apiJWTmiddleware());
561
563
  // @ts-expect-error
562
564
  app.use(errorReportingMiddleware(logger));
563
- app.use(auth.apiJWTmiddleware());
564
565
  app.get('/*', (req, res, next) => {
565
566
  if ((req as $RequestExtend).remote_user.error) {
566
567
  next(new Error((req as $RequestExtend).remote_user.error));
@@ -575,6 +576,7 @@ describe('AuthTest', () => {
575
576
  app.use(final);
576
577
  return app;
577
578
  };
579
+
578
580
  describe('legacy signature', () => {
579
581
  describe('error cases', () => {
580
582
  test('should handle invalid auth token', async () => {