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
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.0 to 0.2.0

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="0.2.0"></a>
# [0.2.0](https://github.com/ipfs/js-ipfs-utils/compare/v0.1.0...v0.2.0) (2019-09-06)
### Features
* env/isTest ([#10](https://github.com/ipfs/js-ipfs-utils/issues/10)) ([481aab1](https://github.com/ipfs/js-ipfs-utils/commit/481aab1))
<a name="0.1.0"></a>

@@ -2,0 +12,0 @@ # [0.1.0](https://github.com/ipfs/js-ipfs-utils/compare/v0.0.4...v0.1.0) (2019-09-04)

5

package.json
{
"name": "ipfs-utils",
"version": "0.1.0",
"version": "0.2.0",
"description": "Package to aggregate shared logic and dependencies for the IPFS ecosystem",

@@ -54,3 +54,4 @@ "main": "src/index.js",

"Alex Potsides <alex@achingbrain.net>",
"Hugo Dias <hugomrdias@gmail.com>"
"Hugo Dias <hugomrdias@gmail.com>",
"Marcin Rataj <lidel@lidel.org>"
],

@@ -57,0 +58,0 @@ "browser": {

2

src/env.js

@@ -11,4 +11,6 @@ 'use strict'

const IS_WEBWORKER = typeof importScripts === 'function' && typeof self !== 'undefined' && typeof WorkerGlobalScope !== 'undefined' && self instanceof WorkerGlobalScope
const IS_TEST = typeof process !== 'undefined' && typeof process.env !== 'undefined' && process.env.NODE_ENV === 'test'
module.exports = {
isTest: IS_TEST,
isElectron: IS_ELECTRON,

@@ -15,0 +17,0 @@ isElectronRenderer: IS_ELECTRON_RENDERER,

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