detective-typescript
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -52,7 +52,5 @@ 'use strict'; | ||
module.exports.tsx = function(src, options) { | ||
options = Object.assign({ | ||
ecmaFeatures: Object.assign(options.ecmaFeatures, { jsx: true }) | ||
}, options); | ||
module.exports(src, options); | ||
module.exports.tsx = function(src, options = {}) { | ||
options.ecmaFeatures = Object.assign(options.ecmaFeatures || {}, { jsx: true }); | ||
return module.exports(src, options); | ||
}; |
{ | ||
"name": "detective-typescript", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"author": "Patrik Henningsson <patrik.henningsson@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Get the dependencies of a TypeScript module", |
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
3256
47
1