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

@lokalise/events-common

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lokalise/events-common - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

LICENSE.md

4

dist/baseEventSchemas.d.ts

@@ -1,3 +0,3 @@

import type { ZodObject, ZodTypeAny } from 'zod';
import z from 'zod';
import { ZodObject, ZodTypeAny, default as z } from 'zod';
export declare const BASE_EVENT_SCHEMA: ZodObject<{

@@ -4,0 +4,0 @@ id: z.ZodString;

@@ -6,10 +6,10 @@ import e from "zod";

timestamp: e.string().datetime().describe("iso 8601 datetime"),
source: e.string().nonempty().describe("source service of the event"),
source: e.string().min(1).describe("source service of the event"),
payload: e.optional(e.object({})).describe("event payload based on type"),
metadata: e.object({
schemaVersion: e.string().nonempty().describe("base event schema version"),
originalApp: e.string().nonempty().describe("app/service initiated workflow")
schemaVersion: e.string().min(1).describe("base event schema version"),
originalApp: e.string().min(1).describe("app/service initiated workflow")
}).describe("event metadata"),
correlationId: e.string().uuid().describe("unique identifier passed to all events in workflow chain"),
version: e.string().nonempty().describe("event payload version")
correlationId: e.string().describe("unique identifier passed to all events in workflow chain"),
version: e.string().min(1).describe("event payload version")
});

@@ -16,0 +16,0 @@ export {

{
"name": "@lokalise/events-common",
"version": "1.0.1",
"version": "1.0.2",
"files": [
"dist"
],
"license": "Apache-2.0",
"type": "module",

@@ -29,21 +30,22 @@ "module": "./dist/index.js",

"lint:fix": "eslint . --fix && prettier --write src test \"**/*.{json,md}\"",
"test": "vitest run --coverage",
"pretest:ci": "cross-env NODE_ENV=test npm run build",
"prepublishOnly": "npm run build"
"test:ci": "vitest run --coverage",
"prepublishOnly": "npm run build",
"package-version": "echo $npm_package_version"
},
"peerDependencies": {
"zod": "^3.22.0"
"zod": "^3.23.8"
},
"devDependencies": {
"@lokalise/eslint-config": "*",
"@lokalise/prettier-config": "*",
"@lokalise/vite-config": "*",
"@message-queue-toolkit/sns": "^5.0.0",
"prettier": "3.1.0",
"rimraf": "^5.0.1",
"typescript": "5.2.2",
"vite": "^4.4.11",
"vitest": "0.34.6"
"@lokalise/eslint-config": "latest",
"@lokalise/prettier-config": "latest",
"@lokalise/package-vite-config": "latest",
"@message-queue-toolkit/sns": "^16.0.0",
"@vitest/coverage-v8": "^1.6.0",
"prettier": "3.3.2",
"rimraf": "^5.0.7",
"typescript": "5.4.5",
"vite": "^5.3.2",
"vitest": "1.6.0"
},
"prettier": "@lokalise/prettier-config"
}

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