candy-wrapper
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -11,9 +11,9 @@ module.exports = function(grunt) { | ||
platform: 'Windows 10' | ||
// }, { | ||
// browserName: 'internet explorer', | ||
// platform: 'Windows 10' | ||
// }, { | ||
// browserName: 'chrome', | ||
// platform: 'Linux' | ||
}, { | ||
browserName: 'internet explorer', | ||
platform: 'Windows 10' | ||
}, { | ||
browserName: 'chrome', | ||
platform: 'Linux' | ||
}, { | ||
browserName: 'firefox', | ||
@@ -20,0 +20,0 @@ platform: 'Linux' |
{ | ||
"name": "candy-wrapper", | ||
"version": "0.8.0", | ||
"description": "A sinon.js-like wrapper for functions that creates stubs, spys, mocks, etc.", | ||
"version": "0.8.1", | ||
"description": "Wrap your functions, methods, and properties to monitor them and modify their behavior.", | ||
"main": "main.js", | ||
@@ -10,5 +10,5 @@ "directories": { | ||
"scripts": { | ||
"test": "npm run testnode", | ||
"testbrowsers": "grunt default", | ||
"testnode": "istanbul cover _mocha", | ||
"test": "npm run test:node && npm run test:browsers", | ||
"test:browsers": "grunt default", | ||
"test:node": "istanbul cover _mocha", | ||
"docs:create": "rm -rf \"\" ./docs && jsdoc -c ./.jsdoc-conf.json", | ||
@@ -15,0 +15,0 @@ "docs:publish": "gh-pages --silent --repo https://$GH_TOKEN@github.com/apowers313/candy-wrapper.git --dist docs" |
@@ -9,3 +9,3 @@ **This project is currently in BETA. APIs may be subject to frequent change prior to the 1.0 release. Please use very strict versioning in your `package.json` if you choose to use candy-wrapper at this time.** | ||
<!-- [![Sauce Test Status](https://saucelabs.com/browser-matrix/apowers313.svg)](https://saucelabs.com/u/apowers313) --> | ||
[![Sauce Test Status](https://saucelabs.com/browser-matrix/apowers313.svg)](https://saucelabs.com/beta/builds/011f525b0b50411290a7040eaa686fc2) | ||
@@ -29,3 +29,3 @@ [Full API Documentation Available Here!](https://apowers313.github.io/candy-wrapper) | ||
## ES6 | ||
Note that this library currently makes exensive use of the features of [JavaScript ES6](http://www.ecma-international.org/ecma-262/6.0/), notably [Proxies](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy), [classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), [template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals), [rest parameters](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters), and the [spread operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator). For information about which platforms currently support ES6, see the [ES6 compatibility table](https://kangax.github.io/compat-table/es6/). It has been tested against Node 6 and seems to run on the latest versions of Chrome and Firefox. | ||
Note that this library currently makes exensive use of the features of [JavaScript ES6](http://www.ecma-international.org/ecma-262/6.0/), notably [Proxies](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy), [classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes), [template literals](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals), [rest parameters](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/rest_parameters), and the [spread operator](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator). For information about which platforms currently support ES6, see the [ES6 compatibility table](https://kangax.github.io/compat-table/es6/). It has been tested against Node 6 and is tested against the latest versions of Chrome, Firefox, Edge, and Safari. | ||
@@ -53,4 +53,2 @@ Presumably it could be back-ported to ES5.1, perhaps drawing on the work of Sinon. The biggest challenge would be removing the use of Proxies. A [pull request](https://github.com/apowers313/candy-wrapper) would be more than welcome if anyone wants to take that challenge on. | ||
**Note**: I wouldn't recommend using candy-wrapper browser for now, but if you want to play around with it... | ||
Install: | ||
@@ -57,0 +55,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
348196
6687
176