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

cosmokit

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cosmokit - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

2

lib/index.d.ts

@@ -11,3 +11,3 @@ export type Dict<T = any, K extends string = string> = {

export function noop(): any;
export function isNullable(value: any): boolean;
export function isNullable(value: any): value is null | undefined | void;
export function isPlainObject(data: any): boolean;

@@ -14,0 +14,0 @@ export function valueMap<T, U>(object: Dict<T>, transform: (value: T, key: string) => U): Dict<U>;

{
"name": "cosmokit",
"description": "A collection of common utilities",
"version": "1.2.1",
"version": "1.2.2",
"main": "lib/index.cjs",

@@ -26,5 +26,5 @@ "module": "lib/index.mjs",

"test": "mocha -r esbuild-register tests/*.spec.ts",
"test:text": "rimraf coverage && c8 -r text yarn test",
"test:json": "rimraf coverage && c8 -r json yarn test",
"test:html": "rimraf coverage && c8 -r html yarn test"
"test:text": "shx rm -rf coverage && c8 -r text yarn test",
"test:json": "shx rm -rf coverage && c8 -r json yarn test",
"test:html": "shx rm -rf coverage && c8 -r html yarn test"
},

@@ -35,13 +35,13 @@ "devDependencies": {

"@types/mocha": "^9.1.1",
"@types/node": "^17.0.35",
"@types/node": "^18.6.4",
"@types/sinonjs__fake-timers": "^6.0.4",
"c8": "^7.11.3",
"c8": "^7.12.0",
"chai": "^4.3.6",
"dtsc": "^1.2.0",
"esbuild": "^0.14.39",
"esbuild-register": "^3.3.2",
"dtsc": "^2.2.3",
"esbuild": "^0.14.51",
"esbuild-register": "^3.3.3",
"mocha": "^9.2.2",
"rimraf": "^3.0.2",
"typescript": "^4.7.2"
"shx": "^0.3.4",
"typescript": "^4.7.4"
}
}
}

@@ -11,12 +11,15 @@ # cosmokit

### Node.js
```powershell
yarn add cosmokit
```sh
npm install cosmokit
```
```ts
import cosmokit from "cosmokit"
import cosmokit from 'cosmokit'
```
### Deno
```ts
import cosmokit from "https://cdn.skypack.dev/cosmokit"
import cosmokit from 'https://cdn.skypack.dev/cosmokit'
```

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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