New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@stackflow/core

Package Overview
Dependencies
Maintainers
3
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stackflow/core - npm Package Compare versions

Comparing version
1.0.13
to
1.0.14
+1
-4
dist/index.js

@@ -395,5 +395,2 @@ "use strict";

// src/event-utils/makeEvent.ts
function clone(input) {
return JSON.parse(JSON.stringify(input));
}
function makeEvent(name, parameters) {

@@ -403,3 +400,3 @@ return __spreadProps(__spreadValues({

eventDate: time()
}, clone(parameters)), {
}, parameters), {
name

@@ -406,0 +403,0 @@ });

@@ -358,5 +358,2 @@ var __defProp = Object.defineProperty;

// src/event-utils/makeEvent.ts
function clone(input) {
return JSON.parse(JSON.stringify(input));
}
function makeEvent(name, parameters) {

@@ -366,3 +363,3 @@ return __spreadProps(__spreadValues({

eventDate: time()
}, clone(parameters)), {
}, parameters), {
name

@@ -369,0 +366,0 @@ });

+1
-1
{
"name": "@stackflow/core",
"version": "1.0.13",
"version": "1.0.14",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -5,6 +5,2 @@ import type { DomainEvent } from "../event-types";

function clone<T extends {}>(input: T): T {
return JSON.parse(JSON.stringify(input));
}
export function makeEvent<T extends DomainEvent["name"]>(

@@ -21,5 +17,5 @@ name: T,

eventDate: time(),
...clone(parameters),
...parameters,
name,
} as Extract<DomainEvent, { name: T }>;
}

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