Comparing version 2.1.0 to 3.0.0
@@ -12,2 +12,6 @@ 'use strict'; | ||
var readerBrowser = require('../lib/reader-browser.js'); | ||
require('varint'); | ||
require('multiformats/cid'); | ||
require('multiformats/hashes/digest'); | ||
require('@ipld/dag-cbor'); | ||
var writerBrowser = require('../lib/writer-browser.js'); | ||
@@ -14,0 +18,0 @@ |
@@ -12,5 +12,6 @@ 'use strict'; | ||
var common = require('./common.js'); | ||
var readerBrowser = require('../lib/reader-browser.js'); | ||
var indexer = require('../lib/indexer.js'); | ||
require('multiformats/hashes/digest'); | ||
var writerBrowser = require('../lib/writer-browser.js'); | ||
var indexer = require('../lib/indexer.js'); | ||
var readerBrowser = require('../lib/reader-browser.js'); | ||
var indexedReaderBrowser = require('../lib/indexed-reader-browser.js'); | ||
@@ -17,0 +18,0 @@ |
@@ -11,2 +11,6 @@ 'use strict'; | ||
var readerBrowser = require('../lib/reader-browser.js'); | ||
require('varint'); | ||
require('multiformats/cid'); | ||
require('multiformats/hashes/digest'); | ||
require('@ipld/dag-cbor'); | ||
@@ -13,0 +17,0 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } |
@@ -12,2 +12,6 @@ 'use strict'; | ||
var reader = require('../lib/reader.js'); | ||
require('varint'); | ||
require('multiformats/cid'); | ||
require('multiformats/hashes/digest'); | ||
require('@ipld/dag-cbor'); | ||
var writer = require('../lib/writer.js'); | ||
@@ -14,0 +18,0 @@ |
@@ -12,5 +12,6 @@ 'use strict'; | ||
var common = require('./common.js'); | ||
var reader = require('../lib/reader.js'); | ||
var indexer = require('../lib/indexer.js'); | ||
require('multiformats/hashes/digest'); | ||
var writer = require('../lib/writer.js'); | ||
var indexer = require('../lib/indexer.js'); | ||
var reader = require('../lib/reader.js'); | ||
var indexedReader = require('../lib/indexed-reader.js'); | ||
@@ -17,0 +18,0 @@ |
@@ -11,2 +11,8 @@ 'use strict'; | ||
var reader = require('../lib/reader.js'); | ||
require('varint'); | ||
require('multiformats/cid'); | ||
require('multiformats/hashes/digest'); | ||
require('@ipld/dag-cbor'); | ||
require('../lib/writer.js'); | ||
require('stream'); | ||
@@ -13,0 +19,0 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } |
@@ -9,2 +9,5 @@ 'use strict'; | ||
var common = require('./common.js'); | ||
require('fs'); | ||
require('stream'); | ||
require('multiformats/cid'); | ||
@@ -11,0 +14,0 @@ describe('Interface', () => { |
{ | ||
"name": "@ipld/car", | ||
"version": "2.1.0", | ||
"version": "3.0.0", | ||
"description": "Content Addressable aRchive format reader and writer", | ||
@@ -41,3 +41,3 @@ "main": "./cjs/car.js", | ||
"devDependencies": { | ||
"@ipld/dag-pb": "^1.1.4", | ||
"@ipld/dag-pb": "^2.0.0", | ||
"@types/chai": "^4.2.18", | ||
@@ -53,3 +53,3 @@ "@types/chai-as-promised": "^7.1.4", | ||
"ipjs": "^5.0.0", | ||
"ipld-garbage": "^3.0.3", | ||
"ipld-garbage": "^4.0.0", | ||
"jsdoc4readme": "^1.4.0", | ||
@@ -62,5 +62,5 @@ "mocha": "^8.4.0", | ||
"dependencies": { | ||
"@ipld/dag-cbor": "^5.0.5", | ||
"@ipld/dag-cbor": "^6.0.0", | ||
"@types/varint": "^6.0.0", | ||
"multiformats": "^8.0.6", | ||
"multiformats": "^9.0.0", | ||
"varint": "^6.0.0" | ||
@@ -67,0 +67,0 @@ }, |
@@ -50,3 +50,3 @@ import { bytes, CID } from 'multiformats' | ||
* @param {{code: number, encode: (obj: any) => Uint8Array}} codec | ||
* @param {number} version | ||
* @param {import('multiformats/cid').CIDVersion} version | ||
* @returns {Promise<TestBlock & { object: any }>} | ||
@@ -53,0 +53,0 @@ */ |
@@ -139,4 +139,4 @@ /** | ||
_iterator: AsyncIterator<Uint8Array, any, undefined>; | ||
_iterating: boolean | undefined; | ||
[Symbol.asyncIterator](): AsyncIterator<Uint8Array, any, undefined>; | ||
_iterating: boolean | undefined; | ||
} | ||
@@ -143,0 +143,0 @@ export const __browser: true; |
@@ -6,3 +6,3 @@ export type Block = import('../api').Block; | ||
* @param {{code: number, encode: (obj: any) => Uint8Array}} codec | ||
* @param {number} version | ||
* @param {import('multiformats/cid').CIDVersion} version | ||
* @returns {Promise<TestBlock & { object: any }>} | ||
@@ -13,3 +13,3 @@ */ | ||
encode: (obj: any) => Uint8Array; | ||
}, version?: number): Promise<TestBlock & { | ||
}, version?: import('multiformats/cid').CIDVersion): Promise<TestBlock & { | ||
object: any; | ||
@@ -16,0 +16,0 @@ }>; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
719926
17707
52
+ Added@ipld/dag-cbor@6.0.15(transitive)
+ Addedmultiformats@9.9.0(transitive)
- Removed@ipld/dag-cbor@5.0.5(transitive)
- Removedmultiformats@8.0.6(transitive)
Updated@ipld/dag-cbor@^6.0.0
Updatedmultiformats@^9.0.0