Socket
Socket
Sign inDemoInstall

@snapdm/preconditions

Package Overview
Dependencies
0
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @snapdm/preconditions

General purpose preconditions for typesafe Typescript libraries


Version published
Weekly downloads
1
decreased by-95%
Maintainers
1
Install size
11.2 kB
Created
Weekly downloads
 

Changelog

Source

0.9.0

BREAKING CHANGES

  • Initializer functions for extension models now behave differently. They do not recieve the extended models initialization data as an argument.
  • __copy renamed to clone

Features

  • toRef now allows the inclusion of a list of additional properties to make nesting objects easier.

Fixes

  • Fixes the typing of __copy and snapshot by rewriting how the inheritance hierarchy works for extension models

Readme

Source

Snapdm Preconditions

General purpose preconditions for typesafe Typescript libraries.

Running unit tests

Run nx test preconditions to execute the unit tests via Jest.

Keywords

FAQs

Last updated on 04 Jun 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc