Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

is-observable

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

is-observable - npm Package Compare versions

Comparing version 2.1.0 to 3.0.0

6

index.js

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

'use strict';
module.exports = value => {
export default function isObservable(value) {
if (!value) {

@@ -19,2 +17,2 @@ return false;

return false;
};
}
{
"name": "is-observable",
"version": "2.1.0",
"version": "3.0.0",
"description": "Check if a value is an Observable",

@@ -13,4 +13,7 @@ "license": "MIT",

},
"type": "module",
"exports": "./index.js",
"types": "./index.d.ts",
"engines": {
"node": ">=8"
"node": ">=14.16"
},

@@ -32,10 +35,10 @@ "scripts": {

"devDependencies": {
"ava": "^1.4.1",
"ava": "^4.3.0",
"indefinite-observable": "^1.0.1",
"most": "^1.7.2",
"rxjs": "^6.5.2",
"xo": "^0.24.0",
"xstream": "^11.0.0",
"zen-observable": "^0.8.14"
"most": "^1.9.0",
"rxjs": "^7.5.5",
"xo": "^0.49.0",
"xstream": "^11.14.0",
"zen-observable": "^0.8.15"
}
}

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

# is-observable [![Build Status](https://travis-ci.com/sindresorhus/is-observable.svg?branch=master)](https://travis-ci.com/github/sindresorhus/is-observable)
# is-observable

@@ -7,5 +7,5 @@ > Check if a value is an [Observable](https://github.com/zenparsing/es-observable)

```sh
npm install is-observable
```
$ npm install is-observable
```

@@ -15,3 +15,3 @@ ## Usage

```js
const isObservable = require('is-observable');
import isObservable from 'is-observable';

@@ -18,0 +18,0 @@ isObservable(Observable.of(1, 2));

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc