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

@digshare/script

Package Overview
Dependencies
Maintainers
3
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digshare/script - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

22

bld/cli/@core/pack.js

@@ -28,9 +28,10 @@ "use strict";

}),
(0, plugin_typescript_1.default)({
tsconfig,
compilerOptions: {
sourceMap: false,
},
outputToFilesystem: false,
}),
tsconfig !== undefined &&
(0, plugin_typescript_1.default)({
tsconfig,
compilerOptions: {
sourceMap: false,
},
outputToFilesystem: false,
}),
(0, plugin_commonjs_1.default)(),

@@ -88,3 +89,8 @@ (0, plugin_json_1.default)(),

const path = enhanced_resolve_1.default.sync(projectDir, scriptPackageName);
return [path, getTSConfig(path)];
let tsconfig = getTSConfig(path);
if (tsconfig !== undefined &&
Path.relative(projectDir, tsconfig).startsWith(`..${Path.sep}`)) {
tsconfig = undefined;
}
return [path, tsconfig];
}

@@ -91,0 +97,0 @@ function getTSConfig(path) {

{
"name": "@digshare/script",
"version": "0.4.3",
"version": "0.4.4",
"description": "DigShare Script SDK",

@@ -5,0 +5,0 @@ "repository": "https://github.com/digshare/digshare-script.git",

@@ -37,9 +37,10 @@ import * as FS from 'fs/promises';

}),
typescript({
tsconfig,
compilerOptions: {
sourceMap: false,
},
outputToFilesystem: false,
}),
tsconfig !== undefined &&
typescript({
tsconfig,
compilerOptions: {
sourceMap: false,
},
outputToFilesystem: false,
}),
commonjs(),

@@ -128,3 +129,12 @@ json(),

return [path, getTSConfig(path)];
let tsconfig = getTSConfig(path);
if (
tsconfig !== undefined &&
Path.relative(projectDir, tsconfig).startsWith(`..${Path.sep}`)
) {
tsconfig = undefined;
}
return [path, tsconfig];
}

@@ -131,0 +141,0 @@

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