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

@lokalise/background-jobs-common

Package Overview
Dependencies
Maintainers
10
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lokalise/background-jobs-common - npm Package Compare versions

Comparing version 2.0.2 to 2.0.3

8

dist/background-job-processor/processors/spy/BackgroundJobProcessorSpy.js

@@ -56,9 +56,9 @@ "use strict";

return;
const clonedJobData = (0, node_core_1.deepClone)(job.data);
this.jobProcessingResults.set(job.id, { job: { ...job, data: clonedJobData }, state });
const clonedJob = { ...job, data: (0, node_core_1.deepClone)(job.data) };
this.jobProcessingResults.set(job.id, { job: clonedJob, state });
if (this.promises.length === 0)
return;
const indexes = this.promises.map((promise, index) => {
if (promise.selector(job) && state === promise.awaitedState) {
promise.resolve(job);
if (promise.selector(clonedJob) && state === promise.awaitedState) {
promise.resolve(clonedJob);
return index;

@@ -65,0 +65,0 @@ }

{
"name": "@lokalise/background-jobs-common",
"version": "2.0.2",
"version": "2.0.3",
"files": [

@@ -5,0 +5,0 @@ "dist",

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