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

@temporalio/common

Package Overview
Dependencies
Maintainers
8
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@temporalio/common - npm Package Compare versions

Comparing version 1.8.3 to 1.8.4

6

lib/converter/payload-converter.js

@@ -212,4 +212,3 @@ "use strict";

if (firstType === 'object') {
for (const idx in values) {
const value = values[idx];
for (const [idx, value] of values.entries()) {
if (!(value instanceof Date)) {

@@ -224,4 +223,3 @@ throw new errors_1.ValueError(`SearchAttribute values must arrays of strings, numbers, booleans, or Dates. The value ${value} at index ${idx} is of type ${typeof value}`);

}
for (const idx in values) {
const value = values[idx];
for (const [idx, value] of values.entries()) {
if (typeof value !== firstType) {

@@ -228,0 +226,0 @@ throw new errors_1.ValueError(`All SearchAttribute array values must be of the same type. The first value ${firstValue} of type ${firstType} doesn't match value ${value} of type ${typeof value} at index ${idx}`);

{
"name": "@temporalio/common",
"version": "1.8.3",
"version": "1.8.4",
"description": "Common library for code that's used across the Client, Worker, and/or Workflow",

@@ -16,3 +16,3 @@ "main": "lib/index.js",

"@opentelemetry/api": "^1.4.1",
"@temporalio/proto": "1.8.3",
"@temporalio/proto": "1.8.4",
"long": "^5.2.0",

@@ -39,3 +39,3 @@ "ms": "^3.0.0-canary.1",

],
"gitHead": "7d1c0ec969b897b4f32bd5a8eda9819a03bd2f83"
"gitHead": "7e65cf816b1deef72973dc64ccbf2c93916a3eb1"
}

@@ -271,4 +271,3 @@ import { decode, encode } from '../encoding';

if (firstType === 'object') {
for (const idx in values) {
const value = values[idx];
for (const [idx, value] of values.entries()) {
if (!(value instanceof Date)) {

@@ -285,4 +284,3 @@ throw new ValueError(

for (const idx in values) {
const value = values[idx];
for (const [idx, value] of values.entries()) {
if (typeof value !== firstType) {

@@ -289,0 +287,0 @@ throw new ValueError(

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