New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

coffee-react

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

coffee-react - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

2

lib/coffee-react-script.js

@@ -39,3 +39,3 @@ // Generated by CoffeeScript 1.8.0

err = _error;
throw helpers.updateSyntaxError(err, input, filename);
throw helpers.updateSyntaxError(err, stripped, filename);
}

@@ -42,0 +42,0 @@ return answer;

@@ -12,3 +12,3 @@ {

"author": "James Friend",
"version": "2.1.0",
"version": "2.1.1",
"licenses": [

@@ -46,5 +46,4 @@ {

"tap": "^0.4.9",
"object.assign": "^0.5.0",
"react": "^0.12.0"
"react": "0.12.1"
}
}

@@ -56,2 +56,9 @@ # Coffee-React

```
#### Version compatibility
- 2.1.x - React 0.12.1
- 2.x - React 0.12
- 1.x - React 0.11.2
- 0.x - React 0.11 and below
### Usage

@@ -108,6 +115,4 @@

extraProps = color: 'red', speed: 'fast'
React.createElement(React.DOM.div, Object.assign({"color": "blue"}, extraProps)
React.createElement(React.DOM.div, React.__spread({"color": "blue"}, extraProps)
```
If you use this syntax in your code, be sure to include a shim for `Object.assign` for browsers/environments which don't yet support it (basically all of them).
[es6-shim](https://github.com/es-shims/es6-shim) and [object.assign](https://www.npmjs.org/package/object.assign) are two possible choices.

@@ -114,0 +119,0 @@ ### Breaking Changes in 1.0

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