Benign Download

index.js

Creates Worker from resolved moduleCPU information collection
SHA-2561471e3ac236390e2b96230fa5aa6361179e2951442f0d9d47a59145af4d9c6b8
MaleculeO(Dy)H(Po)

Evidence

use strict directive string line 1
1"use strict";
Regex component marker lines 22–25
22/** @typedef {import("schema-utils/declarations/validate").Schema} Schema */
23/** @typedef {import("webpack").Compiler} Compiler */
24/** @typedef {import("webpack").Compilation} Compilation */
25/** @typedef {import("webpack").Configuration} Configuration */
Validation vocabulary object lines 221–225
221 static isSourceMap(input) {
222 // All required options for `new TraceMap(...options)`
223 // https://github.com/jridgewell/trace-mapping#usage
224 return Boolean(input && typeof input === "object" && input !== null && "version" in input && "sources" in input && Array.isArray(input.sources) && "mappings" in input && typeof input.mappings === "string");
225 }
CPU information collection lines 303–307
303 {
304 length: os.availableParallelism()
305 } : os.cpus() || {
306 length: 1
307 };
Creates Worker from resolved module lines 380–382
380 new Worker(require.resolve("./minify"), {
381 numWorkers: numberOfWorkers,
382 enableWorkerThreads: typeof this.options.minimizer.implementation.supportsWorkerThreads !== "undefined" ? this.options.minimizer.implementation.supportsWorkerThreads() !== false : true

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.