@verdaccio/url 12.0.0-next-7.19 → 12.0.0-next-8.21

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,19 @@
1
1
  # Change Log
2
2
 
3
+ ## 12.0.0-next-8.21
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [7c9f3cf]
8
+ - @verdaccio/core@7.0.0-next-8.21
9
+
10
+ ## 12.0.0-next-7.20
11
+
12
+ ### Patch Changes
13
+
14
+ - ccc7bd1: fix(middleware): link to favicon in template
15
+ - @verdaccio/core@7.0.0-next-7.20
16
+
3
17
  ## 12.0.0-next-7.19
4
18
 
5
19
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verdaccio/url",
3
- "version": "12.0.0-next-7.19",
3
+ "version": "12.0.0-next-8.21",
4
4
  "description": "url utilities resolver",
5
5
  "keywords": [
6
6
  "private",
@@ -33,10 +33,10 @@
33
33
  "access": "public"
34
34
  },
35
35
  "dependencies": {
36
- "@verdaccio/core": "7.0.0-next-7.19",
37
- "debug": "4.3.4",
36
+ "@verdaccio/core": "7.0.0-next-8.21",
37
+ "debug": "4.3.6",
38
38
  "lodash": "4.17.21",
39
- "validator": "13.11.0"
39
+ "validator": "13.12.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@verdaccio/types": "12.0.0-next-7.5",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "scripts": {
50
50
  "clean": "rimraf ./build",
51
- "test": "jest",
51
+ "test": "vitest run",
52
52
  "type-check": "tsc --noEmit -p tsconfig.build.json",
53
53
  "build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json",
54
54
  "build:js": "babel src/ --out-dir build/ --copy-files --extensions \".ts,.tsx\" --source-maps",
@@ -1,3 +1,5 @@
1
+ import { describe, expect, test } from 'vitest';
2
+
1
3
  import { combineBaseUrl } from '../src';
2
4
 
3
5
  describe('combineBaseUrl', () => {
@@ -1,4 +1,5 @@
1
1
  import * as httpMocks from 'node-mocks-http';
2
+ import { describe, expect, test } from 'vitest';
2
3
 
3
4
  import { HEADERS } from '@verdaccio/core';
4
5
 
@@ -102,7 +103,7 @@ describe('host', () => {
102
103
  });
103
104
 
104
105
  expect(
105
- getPublicUrl(null, {
106
+ getPublicUrl(undefined, {
106
107
  host: req.hostname,
107
108
  headers: req.headers as any,
108
109
  protocol: req.protocol,
@@ -1,3 +1,5 @@
1
+ import { describe, expect, test } from 'vitest';
2
+
1
3
  import { getWebProtocol } from '../src';
2
4
 
3
5
  describe('getWebProtocol', () => {
@@ -1,3 +1,5 @@
1
+ import { expect, test } from 'vitest';
2
+
1
3
  import { isURLhasValidProtocol } from '../src';
2
4
 
3
5
  test('should be HTTP/HTTPS protocol', () => {
@@ -1,3 +1,5 @@
1
+ import { expect, test } from 'vitest';
2
+
1
3
  import { isHost } from '../src';
2
4
 
3
5
  test('valid host', () => {
package/jest.config.js DELETED
@@ -1,3 +0,0 @@
1
- const config = require('../../../jest/config');
2
-
3
- module.exports = Object.assign({}, config, {});