requirejs-react-jsx
Advanced tools
Comparing version 0.12.3 to 0.13.1
@@ -59,4 +59,9 @@ define(function () { | ||
if (options.inlineSourceMap && transform.sourceMap && typeof transform.sourceMap.toJSON === 'function') { | ||
var sourceMap = transform.sourceMap.toJSON(); | ||
if (options.inlineSourceMap && transform.sourceMap) { | ||
var sourceMap = transform.sourceMap; | ||
if (typeof transform.sourceMap.toJSON === 'function') { | ||
sourceMap = transform.sourceMap.toJSON(); | ||
} | ||
sourceMap.file = name; | ||
@@ -63,0 +68,0 @@ sourceMap.sources[0] = config.baseUrl + name; |
{ | ||
"name": "requirejs-react-jsx", | ||
"version": "0.12.3", | ||
"version": "0.13.1", | ||
"description": "A RequireJS plugin for loading jsx in require.js and r.js", | ||
@@ -5,0 +5,0 @@ "main": "jsx.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8960
127
1