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

@ariesclark/object

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ariesclark/object - npm Package Compare versions

Comparing version 0.2.3 to 0.3.0

dist/methods/keys.d.ts

7

dist/exports.d.ts

@@ -27,6 +27,3 @@ export declare const assign: {

[x: string]: PropertyDescriptor;
}, getOwnPropertyNames: (o: any) => string[], getOwnPropertySymbols: (o: any) => symbol[], getPrototypeOf: (o: any) => any, hasOwn: (o: object, v: PropertyKey) => boolean, is: (value1: any, value2: any) => boolean, isExtensible: (o: any) => boolean, isFrozen: (o: any) => boolean, isSealed: (o: any) => boolean, keys: {
(o: object): string[];
(o: {}): string[];
}, preventExtensions: <T>(o: T) => T, seal: <T>(o: T) => T, setPrototypeOf: (o: any, proto: object | null) => any, values: {
}, getOwnPropertyNames: (o: any) => string[], getOwnPropertySymbols: (o: any) => symbol[], getPrototypeOf: (o: any) => any, hasOwn: (o: object, v: PropertyKey) => boolean, is: (value1: any, value2: any) => boolean, isExtensible: (o: any) => boolean, isFrozen: (o: any) => boolean, isSealed: (o: any) => boolean, preventExtensions: <T>(o: T) => T, seal: <T>(o: T) => T, setPrototypeOf: (o: any, proto: object | null) => any, values: {
<T>(o: {

@@ -37,4 +34,6 @@ [s: string]: T;

};
export * from "./methods/empty";
export * from "./methods/identity";
export * from "./methods/keys";
export * from "./methods/omit";
export * from "./methods/pick";

@@ -1,4 +0,8 @@

export const { assign, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwn, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, values } = Object;
export const { assign, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwn, is, isExtensible, isFrozen, isSealed,
// keys,
preventExtensions, seal, setPrototypeOf, values } = Object;
export * from "./methods/empty";
export * from "./methods/identity";
export * from "./methods/keys";
export * from "./methods/omit";
export * from "./methods/pick";

@@ -5,3 +5,3 @@ {

"sideEffects": false,
"version": "0.2.3",
"version": "0.3.0",
"description": "Fast, efficient, and easy-to-use object extensions for TypeScript.",

@@ -31,5 +31,5 @@ "files": [

"scripts": {
"build": "rm -rf dist/* && tsc && ts-readme",
"build": "rm -rf dist/* && tsc",
"test": "bun test"
}
}

@@ -49,2 +49,9 @@ <div align="center">

</a>
<a href="https://npm.im/@ariesclark/time">
<img
src="https://files.aries.fyi/2024/04/01/d668dcdee6a6b8ce.png"
alt="@ariesclark/time"
width="32%"
/>
</a>
</div>

@@ -64,2 +71,10 @@

### `empty` (function)
**Parameters:**
- value (`unknown`)
**returns:** boolean
### `identity` (function)

@@ -75,2 +90,10 @@

### `keys` (function)
**Parameters:**
- object (`T`)
**returns:** (keyof T)[]
### `omit` (function)

@@ -87,12 +110,7 @@

### `{ assign, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwn, is, isExtensible, isFrozen, isSealed, keys, preventExtensions, seal, setPrototypeOf, values }` (variable)
### `{ assign, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyDescriptors, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwn, is, isExtensible, isFrozen, isSealed,
### `empty` (function)
// keys,
preventExtensions, seal, setPrototypeOf, values }` (variable)
**Parameters:**
- value (`unknown`)
**returns:** boolean
<!-- INSERT GENERATED DOCS END -->
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