Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@deepkit/core

deepkit33.2kMIT1.0.5TypeScript support: included

Deepkit core library

readme

estdlib.ts

Build Status npm version

Installation

npm install @deepkit/core

Usage example

import {each} from "@deepkit/core";

for (const item of each({a: 1, b: 2, c: 3})) {
    console.log(item)
}

changelog

Change Log

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.0.5 (2025-04-02)

Features

  • core: export AsyncFunction (cebd164)

1.0.3 (2025-03-13)

Features

  • mongo,orm,logger: improve transaction safety and logging (95faf2c)
  • rpc: automatically garbage collect observables + new event system + stats collection (d727232)

1.0.1 (2025-02-24)

Note: Version bump only for package @deepkit/core

1.0.1-alpha.158 (2025-02-15)

Note: Version bump only for package @deepkit/core

1.0.1-alpha.157 (2025-02-15)

Bug Fixes

  • core: disable reflection in indent.ts (9bbc278)
  • core: pass correct global in indent.ts (b1558e4)
  • rpc: ensure message size is reset to 0 after reaching a buffer that is too small (c78a2a2)
  • tsconfig and tsc build (ac71e83)
  • type: convert TypeAnnotation into intrinsic type (#629) (4d1a13e), closes #626

Features

  • update to angular 19 and typescript 5.7.3, new @deepkit/angular-ssr package (#627) (52333a7)

1.0.1-alpha.156 (2025-01-30)

Bug Fixes

  • type: make sure forwarded type arguments reset Ω at the origin (3138671), closes #619

1.0.1-alpha.154 (2024-09-06)

Features

  • rpc: make Buffer dependency optional (2f32a12)

1.0.1-alpha.147 (2024-05-04)

Bug Fixes

  • type: make sure handled constructor properties are not set twice (2e82eb6)
  • type: resolve global classes as shallow TypeClass (d976024)

1.0.1-alpha.145 (2024-04-08)

Bug Fixes

  • type guard handing of empty Map/Set (da4cf82)

1.0.1-alpha.143 (2024-03-17)

Bug Fixes

  • core: don't include stack in formatError per default (1b603ee)
  • type: print Error cause chain in formatError (c2a413a)

1.0.1-alpha.124 (2024-02-04)

Bug Fixes

  • desktop-ui: -webkit-scrollbar is not supported in chrome anymore (68fca4f)
  • type: handle more circular types (5f6bd12), closes #477

Features

  • orm: better Error handling + UniqueConstraintFailure (f1845ee)

1.0.1-alpha.123 (2024-02-02)

Features

  • orm: onDatabaseError event (cdb7256)

1.0.1-alpha.121 (2024-01-31)

Bug Fixes

  • core: clear timeouts correctly in ProcessLock (89cd2d5)

1.0.1-alpha.114 (2024-01-21)

Note: Version bump only for package @deepkit/core

1.0.1-alpha.113 (2024-01-17)

Features

  • orm: remove rxjs dependency (0d9dfe1)

1.0.1-alpha.112 (2024-01-16)

Features

1.0.1-alpha.108 (2023-11-21)

Bug Fixes

  • core: make sure stringifyValueWithType does not print unlimited depth (56fbef9)

1.0.1-alpha.105 (2023-10-23)

Note: Version bump only for package @deepkit/core