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

mincer-jsx

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mincer-jsx - npm Package Compare versions

Comparing version 0.0.1 to 0.0.3

5

index.js
'use strict';
var prop = require('mincer/lib/mincer/common').prop;
// Second param is not mandatory, used only to force specific

@@ -15,3 +17,3 @@ // module version when nested dependencies cause conflict.

JsxEngine.prototype.evaluate = function evaluate(context, locals) {
return jsx.transform(this.data);
this.data = jsx.transform(this.data);
};

@@ -21,2 +23,3 @@

prop(Mincer.JsxEngine, 'defaultMimeType', 'application/javascript');
};

7

package.json
{
"name": "mincer-jsx",
"version": "0.0.1",
"version": "0.0.3",
"description": "JSX engine for Mincer",

@@ -10,4 +10,7 @@ "main": "index.js",

"devDependencies": {
"mincer": "~0.5.6"
"mincer": "~1.0"
},
"peerDependencies": {
"mincer": "~1.0"
},
"dependencies": {

@@ -14,0 +17,0 @@ "react-tools": "~0.10.0"

@@ -17,3 +17,3 @@ # Mincer JSX

"dependencies": {
"mincer-jsx": "0.0.1"
"mincer-jsx": "0.0.3"
}

@@ -31,3 +31,3 @@ ```

Now files with `.js.jsx` extension will be compiled to using `react-tools` to JavaScript.
Now files with `.jsx` extension will be compiled to using `react-tools` to JavaScript.

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