symbol-observable
Advanced tools
Comparing version 0.2.4 to 1.0.0
@@ -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) |
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" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
7035
10
61
1
5