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

@codegouvfr/sill

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codegouvfr/sill - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

1

core/usecases/readWriteSillData.d.ts

@@ -85,2 +85,3 @@ import type { PayloadAction } from "@reduxjs/toolkit";

softwareLogoUrl: string | undefined;
softwareKeywords: string[];
};

@@ -87,0 +88,0 @@ export type DeclarationFormData = DeclarationFormData.User | DeclarationFormData.Referent;

6

core/usecases/readWriteSillData.js

@@ -100,3 +100,3 @@ "use strict";

"logoUrl": formData.softwareLogoUrl,
"keywords": []
"keywords": formData.softwareKeywords
});

@@ -122,3 +122,3 @@ if (agentRows.find(({ email }) => email === agentRow.email) === undefined) {

const { id, referencedSinceTime, dereferencing, isStillInObservation, parentSoftware, doRespectRgaa, addedByAgentEmail, catalogNumeriqueGouvFrId, categories, generalInfoMd, testUrls, workshopUrls, logoUrl, keywords } = softwareRows[index];
const { comptoirDuLibreId, isFromFrenchPublicService, isPresentInSupportContract, similarSoftwares, softwareDescription, softwareLicense, softwareMinimalVersion, softwareName, softwareType, wikidataId, softwareLogoUrl, ...rest } = formData;
const { comptoirDuLibreId, isFromFrenchPublicService, isPresentInSupportContract, similarSoftwares, softwareDescription, softwareLicense, softwareMinimalVersion, softwareName, softwareType, wikidataId, softwareLogoUrl, softwareKeywords, ...rest } = formData;
(0, assert_1.assert)();

@@ -150,3 +150,3 @@ softwareRows[index] = {

"logoUrl": softwareLogoUrl !== null && softwareLogoUrl !== void 0 ? softwareLogoUrl : logoUrl,
keywords
"keywords": softwareKeywords !== null && softwareKeywords !== void 0 ? softwareKeywords : keywords
};

@@ -153,0 +153,0 @@ }

{
"name": "@codegouvfr/sill",
"version": "1.1.0",
"version": "1.2.0",
"description": "The backend of sill.etalab.gouv.fr",

@@ -5,0 +5,0 @@ "repository": {

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

"similarSoftwares": zod_1.z.array(exports.zWikidataEntry),
"softwareLogoUrl": zod_1.z.string().optional()
"softwareLogoUrl": zod_1.z.string().optional(),
"softwareKeywords": zod_1.z.array(zod_1.z.string())
});

@@ -348,0 +349,0 @@ {

@@ -105,2 +105,3 @@ import structuredClone from "@ungap/structured-clone";

softwareLogoUrl: string | undefined;
softwareKeywords: string[];
};

@@ -265,3 +266,3 @@

"logoUrl": formData.softwareLogoUrl,
"keywords": []
"keywords": formData.softwareKeywords
});

@@ -334,2 +335,3 @@

softwareLogoUrl,
softwareKeywords,
...rest

@@ -354,3 +356,2 @@ } = formData;

workshopUrls,
comptoirDuLibreId,

@@ -367,3 +368,3 @@ isFromFrenchPublicService,

"logoUrl": softwareLogoUrl ?? logoUrl,
keywords
"keywords": softwareKeywords ?? keywords
};

@@ -370,0 +371,0 @@ }

@@ -440,3 +440,4 @@ import type { ReturnType } from "tsafe";

"similarSoftwares": z.array(zWikidataEntry),
"softwareLogoUrl": z.string().optional()
"softwareLogoUrl": z.string().optional(),
"softwareKeywords": z.array(z.string())
});

@@ -443,0 +444,0 @@

Sorry, the diff of this file is not supported yet

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