@helia/verified-fetch-interop 0.0.0 → 1.1.0
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 +1 -1
- package/dist/index.min.js +3 -3
- package/dist/src/bin.d.ts +3 -0
- package/dist/src/bin.d.ts.map +1 -0
- package/dist/src/bin.js +20 -0
- package/dist/src/bin.js.map +1 -0
- package/dist/src/index.d.ts +3 -3
- package/dist/src/index.js +3 -3
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
</a>
|
|
5
5
|
</p>
|
|
6
6
|
|
|
7
|
-
# @helia/interop
|
|
7
|
+
# @helia/verified-fetch-interop
|
|
8
8
|
|
|
9
9
|
[](https://ipfs.tech)
|
|
10
10
|
[](https://discuss.ipfs.tech)
|
package/dist/index.min.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
(function (root, factory) {(typeof module === 'object' && module.exports) ? module.exports = factory() : root.
|
|
2
|
-
"use strict";var
|
|
3
|
-
return
|
|
1
|
+
(function (root, factory) {(typeof module === 'object' && module.exports) ? module.exports = factory() : root.HeliaVerifiedFetchInterop = factory()}(typeof self !== 'undefined' ? self : this, function () {
|
|
2
|
+
"use strict";var HeliaVerifiedFetchInterop=(()=>{var t=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=(o,e,x,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let p of b(e))!c.call(o,p)&&p!==x&&t(o,p,{get:()=>e[p],enumerable:!(r=a(e,p))||r.enumerable});return o};var f=o=>d(t({},"__esModule",{value:!0}),o);var g={};return f(g);})();
|
|
3
|
+
return HeliaVerifiedFetchInterop}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bin.d.ts","sourceRoot":"","sources":["../../src/bin.ts"],"names":[],"mappings":""}
|
package/dist/src/bin.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
#! /usr/bin/env node
|
|
2
|
+
/* eslint-disable no-console */
|
|
3
|
+
import { spawn } from 'node:child_process';
|
|
4
|
+
import { dirname, resolve } from 'node:path';
|
|
5
|
+
import { fileURLToPath } from 'node:url';
|
|
6
|
+
// aegir should be run from `node_modules/@helia/interop`
|
|
7
|
+
const cwd = resolve(dirname(fileURLToPath(import.meta.url)), '../../');
|
|
8
|
+
const test = spawn('npx', ['aegir', 'test'], {
|
|
9
|
+
cwd
|
|
10
|
+
});
|
|
11
|
+
test.stdout.on('data', (data) => {
|
|
12
|
+
process.stdout.write(data);
|
|
13
|
+
});
|
|
14
|
+
test.stderr.on('data', (data) => {
|
|
15
|
+
process.stderr.write(data);
|
|
16
|
+
});
|
|
17
|
+
test.on('close', (code) => {
|
|
18
|
+
process.exit(code ?? 0);
|
|
19
|
+
});
|
|
20
|
+
//# sourceMappingURL=bin.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bin.js","sourceRoot":"","sources":["../../src/bin.ts"],"names":[],"mappings":";AACA,+BAA+B;AAE/B,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAA;AAC1C,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAA;AAExC,yDAAyD;AACzD,MAAM,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAA;AAEtE,MAAM,IAAI,GAAG,KAAK,CAAC,KAAK,EAAE,CAAC,OAAO,EAAE,MAAM,CAAC,EAAE;IAC3C,GAAG;CACJ,CAAC,CAAA;AAEF,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;IAC9B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;AAC5B,CAAC,CAAC,CAAA;AAEF,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE;IAC9B,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,CAAA;AAC5B,CAAC,CAAC,CAAA;AAEF,IAAI,CAAC,EAAE,CAAC,OAAO,EAAE,CAAC,IAAI,EAAE,EAAE;IACxB,OAAO,CAAC,IAAI,CAAC,IAAI,IAAI,CAAC,CAAC,CAAA;AACzB,CAAC,CAAC,CAAA"}
|
package/dist/src/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @packageDocumentation
|
|
3
3
|
*
|
|
4
|
-
* Runs interop tests between
|
|
4
|
+
* Runs interop tests between @helia/verified-fetch and Kubo.
|
|
5
5
|
*
|
|
6
6
|
* @example Testing a new Kubo release
|
|
7
7
|
*
|
|
8
8
|
* ```console
|
|
9
|
-
* $ npm i @helia/interop
|
|
10
|
-
* $ KUBO_BINARY=/path/to/kubo helia-interop
|
|
9
|
+
* $ npm i @helia/verified-fetch-interop
|
|
10
|
+
* $ KUBO_BINARY=/path/to/kubo helia-verified-fetch-interop
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
13
|
export {};
|
package/dist/src/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @packageDocumentation
|
|
3
3
|
*
|
|
4
|
-
* Runs interop tests between
|
|
4
|
+
* Runs interop tests between @helia/verified-fetch and Kubo.
|
|
5
5
|
*
|
|
6
6
|
* @example Testing a new Kubo release
|
|
7
7
|
*
|
|
8
8
|
* ```console
|
|
9
|
-
* $ npm i @helia/interop
|
|
10
|
-
* $ KUBO_BINARY=/path/to/kubo helia-interop
|
|
9
|
+
* $ npm i @helia/verified-fetch-interop
|
|
10
|
+
* $ KUBO_BINARY=/path/to/kubo helia-verified-fetch-interop
|
|
11
11
|
* ```
|
|
12
12
|
*/
|
|
13
13
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@helia/verified-fetch-interop",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"description": "Interop tests for @helia/verified-fetch",
|
|
5
5
|
"license": "Apache-2.0 OR MIT",
|
|
6
6
|
"homepage": "https://github.com/ipfs/helia-verified-fetch/tree/main/packages/interop#readme",
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
"bugs": {
|
|
12
12
|
"url": "https://github.com/ipfs/helia-verified-fetch/issues"
|
|
13
13
|
},
|
|
14
|
+
"publishConfig": {
|
|
15
|
+
"access": "public",
|
|
16
|
+
"provenance": true
|
|
17
|
+
},
|
|
14
18
|
"keywords": [
|
|
15
19
|
"IPFS"
|
|
16
20
|
],
|
|
@@ -53,7 +57,7 @@
|
|
|
53
57
|
"test:electron-main": "aegir test -t electron-main"
|
|
54
58
|
},
|
|
55
59
|
"dependencies": {
|
|
56
|
-
"@helia/verified-fetch": "
|
|
60
|
+
"@helia/verified-fetch": "1.0.1",
|
|
57
61
|
"aegir": "^42.2.5",
|
|
58
62
|
"ipfsd-ctl": "^13.0.0",
|
|
59
63
|
"it-drain": "^3.0.5",
|