New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

proto-expand

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proto-expand - npm Package Compare versions

Comparing version 1.1.2 to 1.1.4

3

dist/index.d.ts

@@ -49,6 +49,7 @@ type Value = number | string | null | boolean;

*/
declare const createAssignment: (protocol: string, payload: Payload, username?: string) => {
declare const createAssignment: (protocol: string, payload: Payload, username?: string, when?: Date) => {
Who: {
username: string;
}[];
When: number;
Status: {

@@ -55,0 +56,0 @@ Protocolo: {

@@ -177,3 +177,3 @@ var __defProp = Object.defineProperty;

};
var createAssignment = (protocol, payload, username) => {
var createAssignment = (protocol, payload, username, when = /* @__PURE__ */ new Date()) => {
const expandedValues = {};

@@ -186,2 +186,3 @@ let fp = flattenPayload(payload);

Who: [{ username }],
When: when.getTime(),
Status: __spreadValues({

@@ -188,0 +189,0 @@ Protocolo: {

{
"name": "proto-expand",
"version": "1.1.2",
"version": "1.1.4",
"description": "",

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

@@ -74,5 +74,5 @@ # Proto 'planilla' expander

// Parse a Protocol dedinition (This assume a big string as defined in a proto file today)
// Parse a Protocol definition (This assume a big string as defined in a proto file today)
const activities: Array<Activity> = parseProtoString("A proto file loaded in an string")
const activities: Array<Activity> = parseProtoString("A proto file loaded in a string")

@@ -86,2 +86,2 @@ // Expand the variables

const bigString = exportToString(expandedActivities)
```
```

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

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