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

lucid-extension-sdk

Package Overview
Dependencies
Maintainers
2
Versions
318
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lucid-extension-sdk - npm Package Compare versions

Comparing version 0.0.282 to 0.0.283

4

dataconnector/datasourceupdatetypes.d.ts

@@ -75,5 +75,6 @@ import { SemanticCollection } from '../core/data/datasource/semanticcollection';

rekeyingMap?: Map<string, string | null> | undefined;
fieldNamesChanged?: Map<string, string> | undefined;
errors?: Map<string, SerializedLucidDictionary> | undefined;
private readonly _brand;
constructor(items: Map<string, SerializedFields>, rekeyingMap?: Map<string, string | null> | undefined, errors?: Map<string, SerializedLucidDictionary> | undefined);
constructor(items: Map<string, SerializedFields>, rekeyingMap?: Map<string, string | null> | undefined, fieldNamesChanged?: Map<string, string> | undefined, errors?: Map<string, SerializedLucidDictionary> | undefined);
}

@@ -98,2 +99,3 @@ export type ItemsPatch = {

'rekeyingMap'?: Record<string, string | null>;
'fieldNamesChanged'?: Record<string, string>;
'errors'?: Record<string, SerializedLucidDictionary>;

@@ -100,0 +102,0 @@ };

@@ -25,5 +25,6 @@ "use strict";

class ItemsPatchExhaustive {
constructor(items, rekeyingMap, errors) {
constructor(items, rekeyingMap, fieldNamesChanged, errors) {
this.items = items;
this.rekeyingMap = rekeyingMap;
this.fieldNamesChanged = fieldNamesChanged;
this.errors = errors;

@@ -40,6 +41,9 @@ this._brand = ItemsPatchExhaustive;

}
function serializeFieldNamesChanged(fieldNamesChanged) {
return fieldNamesChanged && { 'fieldNamesChanged': (0, object_1.fromEntries)(fieldNamesChanged) };
}
function serializeItemsPatch(patch) {
var _a;
if (patch instanceof ItemsPatchExhaustive) {
return Object.assign(Object.assign({ 'exhaustiveItems': (0, object_1.fromEntries)(patch.items.entries()) }, serializeRekeyingMap(patch.rekeyingMap)), serializeErrors(patch.errors));
return Object.assign(Object.assign(Object.assign({ 'exhaustiveItems': (0, object_1.fromEntries)(patch.items.entries()) }, serializeRekeyingMap(patch.rekeyingMap)), serializeFieldNamesChanged(patch.fieldNamesChanged)), serializeErrors(patch.errors));
}

@@ -46,0 +50,0 @@ else {

{
"name": "lucid-extension-sdk",
"version": "0.0.282",
"version": "0.0.283",
"description": "Utility classes for writing Lucid Software editor extensions",

@@ -5,0 +5,0 @@ "main": "index.js",

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