Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

requirejs-react-jsx

Package Overview
Dependencies
Maintainers
2
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

requirejs-react-jsx - npm Package Compare versions

Comparing version 0.13.1 to 0.14.0

5

jsx.js

@@ -47,3 +47,6 @@ define(function () {

var options = config.jsx && config.jsx.transformOptions || {};
var oldOptions = config.jsx && config.jsx.transformOptions || {}; // @deprecated
var options = config.config.config.jsx && config.config.jsx.transformOptions || oldOptions || {
harmony: true // enable harmony by default
};

@@ -50,0 +53,0 @@ if (options.inlineSourceMap) {

2

package.json
{
"name": "requirejs-react-jsx",
"version": "0.13.1",
"version": "0.14.0",
"description": "A RequireJS plugin for loading jsx in require.js and r.js",

@@ -5,0 +5,0 @@ "main": "jsx.js",

@@ -8,2 +8,6 @@ # requirejs-react-jsx

# Example
![http://i.imgur.com/upv8B0g.png](http://i.imgur.com/upv8B0g.png)
# Install

@@ -73,10 +77,12 @@

jsx: {
fileExtension: ".jsx",
transformOptions: {
harmony: true,
stripTypes: false,
inlineSourceMap: true
},
usePragma: false
config: {
jsx: {
fileExtension: ".jsx",
transformOptions: {
harmony: true,
stripTypes: false,
inlineSourceMap: true
},
usePragma: false
}
}

@@ -83,0 +89,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