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

symbol-observable

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

symbol-observable - npm Package Compare versions

Comparing version 0.1.0 to 0.2.0

CHANGELOG.md

17

index.js

@@ -0,17 +1,4 @@

/* global window */
'use strict';
if (typeof Symbol === 'function') {
if (!Symbol.observable) {
Object.defineProperty(Symbol, 'observable', {
value: Symbol('observable')
});
}
if (Symbol.observable) {
module.exports = Symbol.observable;
} else if (typeof Symbol.for === 'function') {
module.exports = Symbol.for('observable');
}
} else {
module.exports = '@@observable';
}
module.exports = require('./ponyfill')(global || window || this);
{
"name": "symbol-observable",
"version": "0.1.0",
"version": "0.2.0",
"description": "Symbol.observable ponyfill",

@@ -16,3 +16,3 @@ "license": "MIT",

"scripts": {
"test": "xo && ava"
"test": "mocha"
},

@@ -31,6 +31,6 @@ "files": [

"devDependencies": {
"ava": "*",
"xo": "*",
"zen-observable": "^0.1.6"
}
"chai": "^3.5.0",
"mocha": "^2.4.5"
},
"dependencies": {}
}

@@ -31,2 +31,2 @@ # symbol-observable [![Build Status](https://travis-ci.org/sindresorhus/symbol-observable.svg?branch=master)](https://travis-ci.org/sindresorhus/symbol-observable)

MIT © [Sindre Sorhus](http://sindresorhus.com)
MIT © [Sindre Sorhus](https://sindresorhus.com)

Sorry, the diff of this file is not supported yet

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