Completely updated React, fixed #11, (hopefully)

This commit is contained in:
2018-03-04 19:11:49 -05:00
parent 6e0afd6e2a
commit 34e5f5139a
13674 changed files with 333464 additions and 473223 deletions

View File

@@ -1,3 +1,35 @@
<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>
# [1.1.0](https://github.com/blesh/symbol-observable/compare/1.0.4...v1.1.0) (2017-11-28)
### Bug Fixes
* **TypeScript:** update TS to 2.0, fix typings ([e08474e](https://github.com/blesh/symbol-observable/commit/e08474e)), closes [#27](https://github.com/blesh/symbol-observable/issues/27)
### Features
* **browser:** Fully qualified import for native esm browser support (#31) ([8ae5f8e](https://github.com/blesh/symbol-observable/commit/8ae5f8e))
* **index.d.ts:** add type info to Symbol.observable ([e4be157](https://github.com/blesh/symbol-observable/commit/e4be157))
<a name="1.0.4"></a>
## [1.0.4](https://github.com/blesh/symbol-observable/compare/1.0.3...v1.0.4) (2016-10-13)

View File

@@ -1,5 +1,5 @@
/* global window */
import ponyfill from './ponyfill';
import ponyfill from './ponyfill.js';
var root;

View File

@@ -1,2 +1,12 @@
declare const observableSymbol: symbol;
export default observableSymbol;
declare global {
export interface SymbolConstructor {
readonly observable: symbol;
}
}
export interface Symbol {
readonly [Symbol.observable]: symbol;
}

View File

@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
value: true
});
var _ponyfill = require('./ponyfill');
var _ponyfill = require('./ponyfill.js');
var _ponyfill2 = _interopRequireDefault(_ponyfill);

View File

@@ -1,21 +1,52 @@
{
"name": "symbol-observable",
"version": "1.0.4",
"description": "Symbol.observable ponyfill",
"license": "MIT",
"repository": "blesh/symbol-observable",
"_args": [
[
"symbol-observable@1.2.0",
"C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI"
]
],
"_from": "symbol-observable@1.2.0",
"_id": "symbol-observable@1.2.0",
"_inBundle": false,
"_integrity": "sha512-e900nM8RRtGhlV36KGEU9k65K3mPb1WV70OdjfxlG2EAuM1noi/E/BaW/uMhL7bPEssK8QV57vN3esixjUvcXQ==",
"_location": "/material-ui-icons/symbol-observable",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "symbol-observable@1.2.0",
"name": "symbol-observable",
"escapedName": "symbol-observable",
"rawSpec": "1.2.0",
"saveSpec": null,
"fetchSpec": "1.2.0"
},
"_requiredBy": [
"/material-ui-icons/recompose"
],
"_resolved": "https://registry.npmjs.org/symbol-observable/-/symbol-observable-1.2.0.tgz",
"_spec": "1.2.0",
"_where": "C:\\Users\\deranjer\\go\\src\\github.com\\deranjer\\goTorrent\\goTorrentWebUI",
"author": {
"name": "Ben Lesh",
"email": "ben@benlesh.com"
},
"bugs": {
"url": "https://github.com/blesh/symbol-observable/issues"
},
"description": "Symbol.observable ponyfill",
"devDependencies": {
"babel-cli": "^6.9.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-es3": "^1.0.0",
"chai": "^3.5.0",
"check-es3-syntax-cli": "^0.1.0",
"mocha": "^2.4.5",
"typescript": "^2.1.4"
},
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"test": "npm run build && mocha && tsc ./ts-test/test.ts && node ./ts-test/test.js && check-es3-syntax -p lib/ --kill",
"build": "babel es --out-dir lib",
"prepublish": "npm test"
},
"files": [
"index.js",
"ponyfill.js",
@@ -25,8 +56,8 @@
"lib/index.js",
"lib/ponyfill.js"
],
"homepage": "https://github.com/blesh/symbol-observable#readme",
"jsnext:main": "es/index.js",
"typings": "index.d.ts",
"keywords": [
"symbol",
"observable",
@@ -35,13 +66,19 @@
"polyfill",
"shim"
],
"devDependencies": {
"babel-cli": "^6.9.0",
"babel-preset-es2015": "^6.9.0",
"babel-preset-es3": "^1.0.0",
"chai": "^3.5.0",
"check-es3-syntax-cli": "^0.1.0",
"mocha": "^2.4.5",
"typescript": "^1.8.10"
}
"license": "MIT",
"main": "lib/index.js",
"module": "es/index.js",
"name": "symbol-observable",
"repository": {
"type": "git",
"url": "git+https://github.com/blesh/symbol-observable.git"
},
"scripts": {
"build": "babel es --out-dir lib",
"prepublish": "npm test",
"test": "npm run build && mocha && tsc && node ./ts-test/test.js && check-es3-syntax -p lib/ --kill"
},
"typings": "index.d.ts",
"version": "1.2.0"
}

View File

@@ -1,4 +1,4 @@
# 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)
> [`Symbol.observable`](https://github.com/zenparsing/es-observable) [ponyfill](https://ponyfill.com)
@@ -13,7 +13,7 @@ $ npm install --save symbol-observable
## Usage
```js
const symbolObservable = require('symbol-observable');
const symbolObservable = require('symbol-observable').default;
console.log(symbolObservable);
//=> Symbol(observable)
@@ -28,4 +28,4 @@ console.log(symbolObservable);
## License
MIT © [Sindre Sorhus](https://sindresorhus.com)
MIT © [Sindre Sorhus](https://sindresorhus.com) and [Ben Lesh](https://github.com/benlesh)