@libp2p/interface-compliance-tests 3.0.6 → 3.0.7-3dfc236e

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/README.md CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  [![libp2p.io](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](http://libp2p.io/)
4
4
  [![Discuss](https://img.shields.io/discourse/https/discuss.libp2p.io/posts.svg?style=flat-square)](https://discuss.libp2p.io)
5
- [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p-interfaces.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p-interfaces)
6
- [![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p-interfaces/js-test-and-release.yml?branch=master\&style=flat-square)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml?query=branch%3Amaster)
5
+ [![codecov](https://img.shields.io/codecov/c/github/libp2p/js-libp2p.svg?style=flat-square)](https://codecov.io/gh/libp2p/js-libp2p)
6
+ [![CI](https://img.shields.io/github/actions/workflow/status/libp2p/js-libp2p/main.yml?branch=master\&style=flat-square)](https://github.com/libp2p/js-libp2p/actions/workflows/main.yml?query=branch%3Amaster)
7
7
 
8
8
  > Compliance tests for JS libp2p interfaces
9
9
 
@@ -27,7 +27,7 @@ Each [interface](https://npmjs.org/packages/@libp2p/interfaces) has its document
27
27
 
28
28
  ## API Docs
29
29
 
30
- - <https://libp2p.github.io/js-libp2p-interfaces/modules/_libp2p_interface_compliance_tests.html>
30
+ - <https://libp2p.github.io/js-libp2p/modules/_libp2p_interface_compliance_tests.html>
31
31
 
32
32
  ## License
33
33
 
@@ -1,4 +1,4 @@
1
- export interface TestSetup<T, SetupArgs = {}> {
1
+ export interface TestSetup<T, SetupArgs = Record<string, unknown>> {
2
2
  setup: (args?: SetupArgs) => Promise<T>;
3
3
  teardown: () => Promise<void>;
4
4
  }
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,SAAS,CAAC,CAAC,EAAE,SAAS,GAAG,EAAE;IAC1C,KAAK,EAAE,CAAC,IAAI,CAAC,EAAE,SAAS,KAAK,OAAO,CAAC,CAAC,CAAC,CAAA;IACvC,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC9B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,MAAM,WAAW,SAAS,CAAC,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC;IAC/D,KAAK,EAAE,CAAC,IAAI,CAAC,EAAE,SAAS,KAAK,OAAO,CAAC,CAAC,CAAC,CAAA;IACvC,QAAQ,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAA;CAC9B"}
package/package.json CHANGED
@@ -1,24 +1,20 @@
1
1
  {
2
2
  "name": "@libp2p/interface-compliance-tests",
3
- "version": "3.0.6",
3
+ "version": "3.0.7-3dfc236e",
4
4
  "description": "Compliance tests for JS libp2p interfaces",
5
5
  "license": "Apache-2.0 OR MIT",
6
- "homepage": "https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-compliance-tests#readme",
6
+ "homepage": "https://github.com/libp2p/js-libp2p/tree/master/packages/interface-compliance-tests#readme",
7
7
  "repository": {
8
8
  "type": "git",
9
- "url": "git+https://github.com/libp2p/js-libp2p-interfaces.git"
9
+ "url": "git+https://github.com/libp2p/js-libp2p.git"
10
10
  },
11
11
  "bugs": {
12
- "url": "https://github.com/libp2p/js-libp2p-interfaces/issues"
12
+ "url": "https://github.com/libp2p/js-libp2p/issues"
13
13
  },
14
14
  "keywords": [
15
15
  "interface",
16
16
  "libp2p"
17
17
  ],
18
- "engines": {
19
- "node": ">=16.0.0",
20
- "npm": ">=7.0.0"
21
- },
22
18
  "type": "module",
23
19
  "types": "./dist/src/index.d.ts",
24
20
  "typesVersions": {
@@ -63,100 +59,14 @@
63
59
  "sourceType": "module"
64
60
  }
65
61
  },
66
- "release": {
67
- "branches": [
68
- "master"
69
- ],
70
- "plugins": [
71
- [
72
- "@semantic-release/commit-analyzer",
73
- {
74
- "preset": "conventionalcommits",
75
- "releaseRules": [
76
- {
77
- "breaking": true,
78
- "release": "major"
79
- },
80
- {
81
- "revert": true,
82
- "release": "patch"
83
- },
84
- {
85
- "type": "feat",
86
- "release": "minor"
87
- },
88
- {
89
- "type": "fix",
90
- "release": "patch"
91
- },
92
- {
93
- "type": "docs",
94
- "release": "patch"
95
- },
96
- {
97
- "type": "test",
98
- "release": "patch"
99
- },
100
- {
101
- "type": "deps",
102
- "release": "patch"
103
- },
104
- {
105
- "scope": "no-release",
106
- "release": false
107
- }
108
- ]
109
- }
110
- ],
111
- [
112
- "@semantic-release/release-notes-generator",
113
- {
114
- "preset": "conventionalcommits",
115
- "presetConfig": {
116
- "types": [
117
- {
118
- "type": "feat",
119
- "section": "Features"
120
- },
121
- {
122
- "type": "fix",
123
- "section": "Bug Fixes"
124
- },
125
- {
126
- "type": "chore",
127
- "section": "Trivial Changes"
128
- },
129
- {
130
- "type": "docs",
131
- "section": "Documentation"
132
- },
133
- {
134
- "type": "deps",
135
- "section": "Dependencies"
136
- },
137
- {
138
- "type": "test",
139
- "section": "Tests"
140
- }
141
- ]
142
- }
143
- }
144
- ],
145
- "@semantic-release/changelog",
146
- "@semantic-release/npm",
147
- "@semantic-release/github",
148
- "@semantic-release/git"
149
- ]
150
- },
151
62
  "scripts": {
152
63
  "clean": "aegir clean",
153
64
  "lint": "aegir lint",
154
65
  "dep-check": "aegir dep-check",
155
- "build": "aegir build",
156
- "release": "aegir release"
66
+ "build": "aegir build"
157
67
  },
158
68
  "dependencies": {
159
- "aegir": "^38.1.0"
69
+ "aegir": "^39.0.5"
160
70
  },
161
71
  "typedoc": {
162
72
  "entryPoint": "./src/index.ts"
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- export interface TestSetup<T, SetupArgs = {}> {
2
+ export interface TestSetup<T, SetupArgs = Record<string, unknown>> {
3
3
  setup: (args?: SetupArgs) => Promise<T>
4
4
  teardown: () => Promise<void>
5
5
  }
@@ -1,3 +0,0 @@
1
- {
2
- "TestSetup": "https://libp2p.github.io/js-libp2p-interfaces/interfaces/_libp2p_interface_compliance_tests.TestSetup.html"
3
- }