You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

ipfs-utils

Package Overview
Dependencies
Maintainers
3
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.0.7 to 6.0.8

9

CHANGELOG.md

@@ -0,1 +1,10 @@

## [6.0.8](https://github.com/ipfs/js-ipfs-utils/compare/v6.0.7...v6.0.8) (2021-04-30)
### Bug Fixes
* exclude glob-source.js in browser build ([#121](https://github.com/ipfs/js-ipfs-utils/issues/121)) ([c4071d9](https://github.com/ipfs/js-ipfs-utils/commit/c4071d902d65c7c76e934f43e1f80a209113eac5))
## [6.0.7](https://github.com/ipfs/js-ipfs-utils/compare/v6.0.6...v6.0.7) (2021-04-14)

@@ -2,0 +11,0 @@

7

dist/src/files/glob-source.d.ts

@@ -0,1 +1,2 @@

/// <reference types="node" />
declare function _exports(paths: Iterable<string> | AsyncIterable<string> | string, options?: {

@@ -9,3 +10,3 @@ recursive?: boolean | undefined;

mode?: number | undefined;
mtime?: import("ipfs-unixfs").MtimeLike | undefined;
mtime?: import("ipfs-unixfs/dist/src/types").MtimeLike | undefined;
} | undefined): AsyncGenerator<{

@@ -19,6 +20,6 @@ path: string;

mode: number | undefined;
mtime: import("ipfs-unixfs").MtimeLike | undefined;
mtime: import("ipfs-unixfs/dist/src/types").MtimeLike | undefined;
}, void, unknown>;
export = _exports;
import fs = require("fs-extra");
import fs = require("fs");
//# sourceMappingURL=glob-source.d.ts.map
{
"name": "ipfs-utils",
"version": "6.0.7",
"version": "6.0.8",
"description": "Package to aggregate shared logic and dependencies for the IPFS ecosystem",

@@ -18,6 +18,6 @@ "main": "src/index.js",

"./src/path-join.js": "./src/path-join.browser.js",
"./src/files/glob-source": false,
"./test/files/glob-source.spec.js": false,
"electron-fetch": false,
"fs-extra": false,
"graceful-fs": false
"fs": false
},

@@ -53,3 +53,2 @@ "types": "dist/src/index.d.ts",

"err-code": "^3.0.1",
"fs-extra": "^9.0.1",
"is-electron": "^2.2.0",

@@ -67,4 +66,2 @@ "iso-url": "^1.0.0",

"devDependencies": {
"@types/err-code": "^2.0.0",
"@types/fs-extra": "^9.0.5",
"aegir": "^33.1.0",

@@ -89,3 +86,3 @@ "delay": "^5.0.0",

"Hugo Dias <hugomrdias@gmail.com>",
"Alex Potsides <alex@achingbrain.net>",
"achingbrain <alex@achingbrain.net>",
"Alan Shaw <alan.shaw@protocol.ai>",

@@ -96,4 +93,5 @@ "Irakli Gozalishvili <contact@gozala.io>",

"Marcin Rataj <lidel@lidel.org>",
"Roderik van der Veer <roderik@settlemint.com>"
"Roderik van der Veer <roderik@settlemint.com>",
"Stepan Yurtsiv <yurtsiv.stepan@gmail.com>"
]
}
'use strict'
const fs = require('fs-extra')
const fsp = require('fs').promises
const fs = require('fs')
const glob = require('it-glob')

@@ -50,3 +51,3 @@ const Path = require('path')

const absolutePath = Path.resolve(process.cwd(), path)
const stat = await fs.stat(absolutePath)
const stat = await fsp.stat(absolutePath)
const prefix = Path.dirname(absolutePath)

@@ -121,3 +122,3 @@

for await (const p of glob(path, '**/*', globOptions)) {
const stat = await fs.stat(p)
const stat = await fsp.stat(p)

@@ -124,0 +125,0 @@ if (preserveMode || preserveMtime) {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc