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

rollup-plugin-jsx

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rollup-plugin-jsx - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

13

index.js

@@ -11,3 +11,3 @@ var jsx = require('jsx-transform')

if ( !filter( id ) ) return null
var s = new MagicString( code )

@@ -17,13 +17,8 @@ var out = jsx.fromString(code, options)

var result = {
code: s.toString()
return {
code: s.toString(),
map: s.generateMap({ hires: true })
}
if (options.sourceMap){
result.map = s.generateMap({ hires: true })
}
return result
}
}
}
{
"name": "rollup-plugin-jsx",
"version": "1.0.2",
"version": "1.0.3",
"description": "Rollup jsx plugin",

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

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