Socket
Socket
Sign inDemoInstall

@stryker-mutator/util

Package Overview
Dependencies
0
Maintainers
4
Versions
98
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 8.0.0 to 8.1.0

1

dist/src/task.js

@@ -49,2 +49,3 @@ /**

clearTimeout(timer);
// eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors
rej(error);

@@ -51,0 +52,0 @@ });

8

package.json
{
"name": "@stryker-mutator/util",
"version": "8.0.0",
"version": "8.1.0",
"description": "Contains utilities for Stryker, the mutation testing framework for JavaScript and friends",

@@ -42,6 +42,6 @@ "files": [

"devDependencies": {
"@stryker-mutator/test-helpers": "8.0.0",
"@types/node": "20.10.1"
"@stryker-mutator/test-helpers": "8.1.0",
"@types/node": "20.11.10"
},
"gitHead": "64c77210df8facb7b8b1419a215533a6af5eca8e"
"gitHead": "365d7a10a8c20b292432cb578b9c3f8e99048d0e"
}

@@ -32,8 +32,7 @@ import { notEmpty } from './not-empty.js';

const things = thing
.flatMap(
(child, index) =>
findUnserializables(child)?.map((description) => {
description.path.unshift(index.toString());
return description;
}),
.flatMap((child, index) =>
findUnserializables(child)?.map((description) => {
description.path.unshift(index.toString());
return description;
}),
)

@@ -46,8 +45,7 @@ .filter(notEmpty);

const things = Object.entries(thing)
.flatMap(
([key, val]) =>
findUnserializables(val)?.map((description) => {
description.path.unshift(key);
return description;
}),
.flatMap(([key, val]) =>
findUnserializables(val)?.map((description) => {
description.path.unshift(key);
return description;
}),
)

@@ -54,0 +52,0 @@ .filter(notEmpty);

@@ -8,10 +8,10 @@ import { Primitive } from './primitive.js';

: T extends Array<infer U>
? ImmutableArray<U>
: T extends Map<infer K, infer V>
? ImmutableMap<K, V>
: T extends Set<infer M>
? ImmutableSet<M>
: T extends RegExp
? Readonly<RegExp>
: ImmutableObject<T>;
? ImmutableArray<U>
: T extends Map<infer K, infer V>
? ImmutableMap<K, V>
: T extends Set<infer M>
? ImmutableSet<M>
: T extends RegExp
? Readonly<RegExp>
: ImmutableObject<T>;

@@ -18,0 +18,0 @@ export type ImmutableArray<T> = ReadonlyArray<Immutable<T>>;

@@ -57,2 +57,3 @@ /**

clearTimeout(timer);
// eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors
rej(error);

@@ -59,0 +60,0 @@ });

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc