symbol-observable
Advanced tools
Comparing version 1.1.0 to 1.2.0
@@ -0,1 +1,17 @@ | ||
<a name="1.2.0"></a> | ||
# [1.2.0](https://github.com/blesh/symbol-observable/compare/1.1.0...v1.2.0) (2018-01-26) | ||
### Bug Fixes | ||
* **TypeScript:** Remove global Symbol declaration ([427c3d7](https://github.com/blesh/symbol-observable/commit/427c3d7)) | ||
* common js usage example (#30) ([42c2ffa](https://github.com/blesh/symbol-observable/commit/42c2ffa)) | ||
### Features | ||
* **bundlers:** Add module and main entries in package.json (#33) ([97673e1](https://github.com/blesh/symbol-observable/commit/97673e1)) | ||
<a name="1.1.0"></a> | ||
@@ -2,0 +18,0 @@ # [1.1.0](https://github.com/blesh/symbol-observable/compare/1.0.4...v1.1.0) (2017-11-28) |
@@ -8,4 +8,2 @@ declare const observableSymbol: symbol; | ||
} | ||
export const Symbol: SymbolConstructor; | ||
} | ||
@@ -12,0 +10,0 @@ |
{ | ||
"name": "symbol-observable", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Symbol.observable ponyfill", | ||
@@ -15,3 +15,3 @@ "license": "MIT", | ||
"scripts": { | ||
"test": "npm run build && mocha && tsc ./ts-test/test.ts && node ./ts-test/test.js && check-es3-syntax -p lib/ --kill", | ||
"test": "npm run build && mocha && tsc && node ./ts-test/test.js && check-es3-syntax -p lib/ --kill", | ||
"build": "babel es --out-dir lib", | ||
@@ -29,2 +29,4 @@ "prepublish": "npm test" | ||
], | ||
"main": "lib/index.js", | ||
"module": "es/index.js", | ||
"jsnext:main": "es/index.js", | ||
@@ -31,0 +33,0 @@ "typings": "index.d.ts", |
@@ -1,2 +0,2 @@ | ||
# symbol-observable [![Build Status](https://travis-ci.org/blesh/symbol-observable.svg?branch=master)](https://travis-ci.org/blesh/symbol-observable) | ||
# symbol-observable [![Build Status](https://travis-ci.org/benlesh/symbol-observable.svg?branch=master)](https://travis-ci.org/benlesh/symbol-observable) | ||
@@ -16,3 +16,3 @@ > [`Symbol.observable`](https://github.com/zenparsing/es-observable) [ponyfill](https://ponyfill.com) | ||
```js | ||
const symbolObservable = require('symbol-observable'); | ||
const symbolObservable = require('symbol-observable').default; | ||
@@ -32,2 +32,2 @@ console.log(symbolObservable); | ||
MIT © [Sindre Sorhus](https://sindresorhus.com) | ||
MIT © [Sindre Sorhus](https://sindresorhus.com) and [Ben Lesh](https://github.com/benlesh) |
10204
81