tiny-invariant
tiny-invariant copied to clipboard
A tiny invariant function
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.3.3 to 5.4.5. Release notes Sourced from typescript's releases. TypeScript 5.4.5 For release notes, check out the release announcement. For the complete list of fixed issues, check...
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.24 to 20.12.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [rollup](https://github.com/rollup/rollup) from 4.12.0 to 4.17.2. Release notes Sourced from rollup's releases. v4.17.2 4.17.2 2024-04-30 Bug Fixes Fix tree-shaking problems when using spread arguments (#5503) Pull Requests #5501: Slightly improve...
This is actually a feature request. I would of course be glad to be directed toward some existing solution. I very often want to debug via browser devtools when an...
Bumps [size-limit](https://github.com/ai/size-limit) and [@size-limit/preset-small-lib](https://github.com/ai/size-limit). These dependencies needed to be updated together. Updates `size-limit` from 11.0.2 to 11.1.2 Release notes Sourced from size-limit's releases. 11.1.2 Fixed CSS support in esbuild plugin...
Bumps [expect-type](https://github.com/mmkal/expect-type) from 0.18.0 to 0.19.0. Release notes Sourced from expect-type's releases. 0.19.0 What's Changed Fix .omit() to work similarly to Omit by @aryaemami59 in mmkal/expect-type#54 Add JSDocs to everything...
A big goal of this library is to be as lite as possible. Yet, there are some common and useful features that would be great for this library to have:...
It was very unexpected that the production version of the library is different than the development version. It's very helpful to have the exact invariant message in the exception for...
I have a ts serverless repo with the following `tsconfig.json`: ```json { "compilerOptions": { "strict": true, "preserveConstEnums": true, "strictNullChecks": true, "sourceMap": true, "allowJs": true, "target": "es5", "outDir": ".build", "moduleResolution": "node",...
I would like to have a more meaningful name for the function than `invariant`. Something like `throwOnFalsy` is for me easier to understand. While working with developers that don’t know...