New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

guarding

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

guarding - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

dist/factories.js

@@ -9,3 +9,2 @@ "use strict";

exceptionCleanupEnabled: options.exceptionCleanupEnabled,
// TODO: remove this convertion
routineCleanupSignals: getRoutineSignalsForOptions(options),

@@ -24,3 +23,4 @@ routineCleanups: options.routineCleanups !== undefined ? options.routineCleanups : [],

}
switch (options.signals) {
const preset = options.signals !== undefined ? options.signals : 'default';
switch (preset) {
case 'default':

@@ -27,0 +27,0 @@ return constants_1.DefaultRoutineSignals;

@@ -8,3 +8,3 @@ import { SupportedSignals, RoutineCleanup, ExceptionCleanup } from './types';

routineCleanupEnabled: boolean;
routineCleanupSignals?: [SupportedSignals, ...SupportedSignals[]];
routineCleanupSignals?: SupportedSignals[];
routineCleanups?: RoutineCleanup[];

@@ -11,0 +11,0 @@ exceptionCleanupEnabled: boolean;

{
"name": "guarding",
"version": "1.1.0",
"version": "1.1.1",
"description": "",

@@ -17,3 +17,4 @@ "main": "dist/index.js",

"compile": "tsc -p tsconfig.json",
"build": "npm run clean && npm run compile"
"build": "npm run clean && npm run compile",
"prepublishOnly": "npm run build"
},

@@ -20,0 +21,0 @@ "repository": {

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