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

symbol-observable

Package Overview
Dependencies
Maintainers
3
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.2.4 to 1.0.0

es/index.js

21

CHANGELOG.md

@@ -0,1 +1,22 @@

<a name="1.0.0"></a>
# [1.0.0](https://github.com/blesh/symbol-observable/compare/0.2.4...v1.0.0) (2016-06-13)
### Bug Fixes
* **index.js:** use typeof to check for global or window definitions (#8) ([5f4c2c6](https://github.com/blesh/symbol-observable/commit/5f4c2c6))
* **types:** use default syntax for typedef ([240e3a6](https://github.com/blesh/symbol-observable/commit/240e3a6))
* **TypeScript:** exported ponyfill now works with TypeScript ([c0b894e](https://github.com/blesh/symbol-observable/commit/c0b894e))
### Features
* **es2015:** add es2015 implementation to support rollup (#10) ([7a41de9](https://github.com/blesh/symbol-observable/commit/7a41de9))
### BREAKING CHANGES
* TypeScript: CJS users will now have to `require('symbol-observable').default` rather than just `require('symbol-observable')` this was done to better support ES6 module bundlers.
<a name="0.2.4"></a>

@@ -2,0 +23,0 @@ ## [0.2.4](https://github.com/blesh/symbol-observable/compare/0.2.2...v0.2.4) (2016-04-25)

2

index.d.ts
declare const observableSymbol: symbol;
export = observableSymbol;
export default observableSymbol;

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

/* global window */
'use strict';
module.exports = require('./ponyfill')(global || window || this);
module.exports = require('./lib/');
{
"name": "symbol-observable",
"version": "0.2.4",
"version": "1.0.0",
"description": "Symbol.observable ponyfill",

@@ -15,3 +15,5 @@ "license": "MIT",

"scripts": {
"test": "mocha"
"test": "npm run build && mocha && tsc ./ts-test/test.ts && node ./ts-test/test.js",
"build": "babel es --out-dir lib",
"prepublish": "npm test"
},

@@ -21,4 +23,10 @@ "files": [

"ponyfill.js",
"index.d.ts"
"index.d.ts",
"es/index.js",
"es/ponyfill/js",
"lib/index.js",
"lib/ponyfill.js"
],
"jsnext:main": "es/index.js",
"typings": "index.d.ts",
"keywords": [

@@ -33,5 +41,8 @@ "symbol",

"devDependencies": {
"babel-cli": "^6.9.0",
"babel-preset-es2015": "^6.9.0",
"chai": "^3.5.0",
"mocha": "^2.4.5"
"mocha": "^2.4.5",
"typescript": "^1.8.10"
}
}
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