Socket
Socket
Sign inDemoInstall

danger

Package Overview
Dependencies
Maintainers
0
Versions
320
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

danger - npm Package Compare versions

Comparing version 12.3.2 to 12.3.3

14

distribution/runner/runners/utils/transpiler.js

@@ -177,8 +177,12 @@ "use strict";

//
if (!esm && safeConfig.compilerOptions.module) {
safeConfig.compilerOptions.module = "commonjs";
if (safeConfig.compilerOptions.module) {
if (!esm) {
// .ts files should fall back to commonjs
safeConfig.compilerOptions.module = "commonjs";
}
else {
// .mts files must use `import`/`export` syntax
safeConfig.compilerOptions.module = "es6";
}
}
else {
safeConfig.compilerOptions.module = "es6";
}
return safeConfig;

@@ -185,0 +189,0 @@ };

{
"name": "danger",
"version": "12.3.2",
"version": "12.3.3",
"description": "Unit tests for Team Culture",

@@ -5,0 +5,0 @@ "main": "distribution/danger.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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