Socket
Socket
Sign inDemoInstall

@antfu/utils

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

@antfu/utils - npm Package Compare versions

Comparing version 0.5.2 to 0.6.0

2

index.d.ts

@@ -285,3 +285,3 @@ /**

*/
declare function objectKeys<T extends object>(obj: T): (keyof T)[];
declare function objectKeys<T extends object>(obj: T): (`${keyof T & undefined}` | `${keyof T & null}` | `${keyof T & string}` | `${keyof T & number}` | `${keyof T & false}` | `${keyof T & true}`)[];
/**

@@ -288,0 +288,0 @@ * Strict typed `Object.entries`

{
"name": "@antfu/utils",
"version": "0.5.2",
"version": "0.6.0",
"packageManager": "pnpm@7.0.1",

@@ -37,3 +37,3 @@ "description": "Opinionated collection of common JavaScript / TypeScript utils by @antfu",

"build": "rollup -c",
"dev": "npm run build -- --watch",
"dev": "nr build --watch",
"lint": "eslint .",

@@ -43,2 +43,3 @@ "prepublishOnly": "npm run build",

"start": "esno src/index.ts",
"typecheck": "tsc --noEmit",
"test": "vitest"

@@ -45,0 +46,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