@toa.io/extensions.origins 0.7.1-dev.0 → 0.7.1-dev.2
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/package.json +5 -5
- package/test/manifest.test.js +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toa.io/extensions.origins",
|
|
3
|
-
"version": "0.7.1-dev.
|
|
3
|
+
"version": "0.7.1-dev.2",
|
|
4
4
|
"description": "Toa operations context HTTP client",
|
|
5
5
|
"author": "temich <tema.gurtovoy@gmail.com>",
|
|
6
6
|
"homepage": "https://github.com/toa-io/toa#readme",
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@toa.io/core": "0.7.1-dev.
|
|
22
|
+
"@toa.io/core": "0.7.1-dev.2",
|
|
23
23
|
"@toa.io/generic": "0.7.0",
|
|
24
|
-
"@toa.io/schema": "0.7.1-dev.
|
|
25
|
-
"@toa.io/yaml": "0.7.1-dev.
|
|
24
|
+
"@toa.io/schema": "0.7.1-dev.1",
|
|
25
|
+
"@toa.io/yaml": "0.7.1-dev.2",
|
|
26
26
|
"node-fetch": "2.6.7"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
29
|
"@types/node-fetch": "2.6.2"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "6d4f31c57c0ca547391675ca8105f9d77b7a993a"
|
|
32
32
|
}
|
package/test/manifest.test.js
CHANGED
|
@@ -34,13 +34,13 @@ it('should not throw if valid', () => {
|
|
|
34
34
|
it('should require origins', () => {
|
|
35
35
|
delete declaration.origins
|
|
36
36
|
|
|
37
|
-
expect(exec).toThrow(/fewer than 1
|
|
37
|
+
expect(exec).toThrow(/fewer than 1/)
|
|
38
38
|
})
|
|
39
39
|
|
|
40
40
|
it('should require at least one origin', () => {
|
|
41
41
|
declaration.origins = {}
|
|
42
42
|
|
|
43
|
-
expect(exec).toThrow(/fewer than 1
|
|
43
|
+
expect(exec).toThrow(/fewer than 1/)
|
|
44
44
|
})
|
|
45
45
|
|
|
46
46
|
it('should require origin values as strings', () => {
|