New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@chatally/core

Package Overview
Dependencies
Maintainers
0
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chatally/core - npm Package Compare versions

Comparing version
0.0.7
to
0.0.8
+7
-9
.turbo/turbo-lint.log
> @chatally/core@0.0.7 lint
> eslint .
> @chatally/core@0.0.8 lint
> tsc & eslint .

@@ -9,12 +9,10 @@ {

/home/runner/work/chatally/chatally/packages/core/lib/index.d.ts
10:44 warning Don't use `Object` as a type. The `Object` type actually means "any non-nullish value", so it is marginally better than `unknown`.
- If you want a type meaning "any object", you probably want `object` instead.
- If you want a type meaning "any value", you probably want `unknown` instead.
- If you really want a type meaning "any non-nullish value", you probably want `NonNullable<unknown>` instead @typescript-eslint/ban-types
/home/runner/work/chatally/chatally/packages/core/lib/messages.d.ts
46:20 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
46:3 warning Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free @typescript-eslint/ban-ts-comment
47:20 warning Unexpected any. Specify a different type @typescript-eslint/no-explicit-any
✖ 2 problems (0 errors, 2 warnings)
../../node_modules/vite-node/dist/index-O2IrwHKf.d.ts(87,14): error TS2304: Cannot find name 'WebSocket'.
../../node_modules/vite/types/customEvent.d.ts(26,14): error TS2304: Cannot find name 'WebSocket'.
../../node_modules/vite/types/importGlob.d.ts(38,11): error TS2304: Cannot find name 'Worker'.
> @chatally/core@0.0.7 test
> @chatally/core@0.0.8 test
> vitest run

@@ -8,8 +8,8 @@

✓ lib/application.test.js  (7 tests) 24ms
✓ lib/application.test.js  (7 tests) 12ms
 Test Files  1 passed (1)
 Tests  7 passed (7)
 Start at  12:30:08
 Duration  871ms (transform 166ms, setup 1ms, collect 139ms, tests 24ms, environment 0ms, prepare 199ms)
 Start at  13:20:29
 Duration  790ms (transform 166ms, setup 0ms, collect 129ms, tests 12ms, environment 0ms, prepare 190ms)
# @chatally/core
## 0.0.8
### Patch Changes
- 6693266: Fixed some more typing issues
- Updated dependencies [6693266]
- @chatally/logger@0.0.6
## 0.0.7

@@ -4,0 +12,0 @@

@@ -9,3 +9,3 @@ import { BaseLogger, NoLogger } from "@chatally/logger";

*
* @template {object} D
* @template {Record<string, unknown>} D
* @type {import("./index.d.ts").Application<D>}

@@ -12,0 +12,0 @@ */

import type { Level, Logger } from "@chatally/logger";
import { EventEmitter } from "node:events";
import type { Message } from "./messages.d.ts";
export type * from "./messages.d.ts";

@@ -10,5 +11,5 @@ /**

*/
export declare class Application<D extends Object> extends EventEmitter<
ApplicationEvents<D>
> {
export declare class Application<
D extends Record<string, unknown>,
> extends EventEmitter<ApplicationEvents<D>> {
/**

@@ -15,0 +16,0 @@ * Create a Chatally application that dispatches incoming chat requests from

@@ -46,2 +46,3 @@ export type Message =

readonly schema: string;
// @ts-ignore We want to use custom as anything
readonly custom: any;

@@ -48,0 +49,0 @@ };

{
"name": "@chatally/core",
"version": "0.0.7",
"version": "0.0.8",
"description": "ChatAlly Core Modules",

@@ -24,3 +24,3 @@ "license": "MIT",

"scripts": {
"lint": "eslint .",
"lint": "tsc & eslint .",
"repl": "nodemon repl.js",

@@ -27,0 +27,0 @@ "test": "vitest"