Socket
Socket
Sign inDemoInstall

detective-typescript

Package Overview
Dependencies
Maintainers
3
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

detective-typescript - npm Package Compare versions

Comparing version 4.1.1 to 4.1.2

8

index.js

@@ -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",

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