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

@rimbu/common

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rimbu/common - npm Package Compare versions

Comparing version 0.12.3 to 1.0.0-alpha.1

./dist/cjs/index.js

48

package.json
{
"name": "@rimbu/common",
"version": "0.12.3",
"version": "1.0.0-alpha.1",
"description": "Common types and objects used in many other Rimbu packages",

@@ -31,13 +31,13 @@ "keywords": [

},
"source": "./src/index.ts",
"main": "./dist/main/index.js",
"module": "./dist/module/index.js",
"types": "./dist/types/index.d.ts",
"type": "module",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"types": "./dist/types/index.d.mts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"bun": "./src/index.ts",
"import": "./dist/module/index.js",
"require": "./dist/main/index.js",
"default": "./dist/module/index.js"
"types": "./dist/types/index.d.mts",
"bun": "./dist/bun/index.mts",
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.js",
"default": "./dist/esm/index.mjs"
}

@@ -51,18 +51,24 @@ },

"build": "yarn clean && yarn bundle",
"build:deno": "rimraf deno_dist ../../deno_dist/common && denoify && mv deno_dist ../../deno_dist/common",
"bundle": "yarn bundle:main && yarn bundle:module && yarn bundle:types",
"bundle:main": "tsc --p tsconfig.main.json",
"bundle:module": "tsc --p tsconfig.module.json",
"build:deno": "yarn bundle:deno-prepare && yarn bundle:deno-convert && yarn bundle:deno-move && yarn bundle:deno-clean",
"bundle": "yarn bundle:cjs && yarn bundle:esm && yarn bundle:types && yarn bundle:bun",
"bundle:bun": "node ../../config/bunnify.mjs",
"bundle:cjs": "tsup src --format cjs --clean -d dist/cjs --loader '.mts=ts' --legacy-output",
"bundle:deno-prepare": "node ../../config/prepare-denoify.mjs",
"bundle:deno-convert": "denoify --src _deno_prepare/src",
"bundle:deno-move": "rimraf ../../deno_dist/common && mv deno_dist ../../deno_dist/common",
"bundle:deno-clean": "rimraf _deno_prepare",
"bundle:esm": "tsc --p tsconfig.esm.json",
"bundle:types": "tsc --p tsconfig.types.json",
"clean": "rimraf dist",
"extract-api": "api-extractor run --local --verbose",
"extract-api": "ts-node ../../config/api-extractor.ts ./api-extractor.json",
"format": "yarn format:base --write",
"format:base": "prettier \"{!CHANGELOG.md}|**/**/*.{ts,tsx,js,json,md}\"",
"format:base": "prettier \"{!CHANGELOG.md}|**/**/*.{ts,tsx,js,mts,mjs,json,md}\"",
"format:check": "yarn format:base --check",
"lint": "eslint src",
"test": "jest",
"test:types": "tsd",
"test": "vitest run",
"test:cov": "vitest run --coverage",
"test:watch": "vitest",
"test:types": "tsd --files test-d",
"typecheck": "tsc"
},
"sideEffects": false,
"publishConfig": {

@@ -72,5 +78,5 @@ "access": "public"

"dependencies": {
"tslib": "^2.5.0"
"tslib": "^2.5.3"
},
"gitHead": "3d235bc539eed9cda52d110c2ec805d686776ae7"
"gitHead": "dfaf8143e56f54ed1e31f7c96802548c46e03bd8"
}

@@ -5,2 +5,6 @@ <p align="center">

[![npm version](https://badge.fury.io/js/@rimbu%2Fcommon.svg)](https://www.npmjs.com/package/@rimbu/common) [![Deno](https://shield.deno.dev/x/rimbu)](http://deno.land/x/rimbu)
![Licence](https://img.shields.io/github/license/rimbu-org/rimbu)
# @rimbu/common

@@ -34,14 +38,27 @@

All types are exported through `@rimbu/core`. It is recommended to use that package.
### Compabitity
To install this package separately:
- [`Node >= 16` ![NodeJS](https://img.shields.io/badge/node.js-6DA55F?logo=node.js&logoColor=white)](https://nodejs.org)
- [`Deno` ![Deno JS](https://img.shields.io/badge/deno%20js-000000?logo=deno&logoColor=white)](https://deno.com/runtime)
- [`Bun >= 0.6.0` ![Bun](https://img.shields.io/badge/Bun-%23000000.svg?logoColor=white)](https://bun.sh/)
- `Web` ![HTML5](https://img.shields.io/badge/html5-%23E34F26.svg?logoColor=white)
### Yarn/NPM
### Yarn / NPM / Bun
For convenience, all main types are also exported through [`@rimbu/core`](../core).
To install this package only:
For `yarn`:
> `yarn add @rimbu/common`
or
For `npm`:
> `npm i @rimbu/common`
For `bun`:
> `bun add @rimbu/common`
### Deno

@@ -48,0 +65,0 @@

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