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

@xylabs/object

Package Overview
Dependencies
Maintainers
0
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xylabs/object - npm Package Compare versions

Comparing version 4.2.2 to 4.3.0

dist/neutral/Optional.d.ts

4

dist/neutral/AnyObject.d.ts
import type { TypedKey } from '@xylabs/promise';
/**
* Any object, which means that it does not enforce the set of fields that it has. Extending from AnyObject
* will result in a type that includes the universal set of field names
*/
export type AnyObject = Record<TypedKey, unknown>;
//# sourceMappingURL=AnyObject.d.ts.map

@@ -0,1 +1,5 @@

/**
* An empty object, which means that it does enforce the set of field names, defaulting to an empty set until
* extended from, which then adds only those additional fields
*/
export type EmptyObject<T extends object = object> = {

@@ -2,0 +6,0 @@ [K in keyof T]?: never;

@@ -14,2 +14,3 @@ export * from './AnyObject.ts';

export * from './omitBy.ts';
export * from './Optional.ts';
export * from './Override.ts';

@@ -16,0 +17,0 @@ export * from './PartialRecord.ts';

@@ -0,1 +1,2 @@

/** @deprecated use Partial<Record<>> instead */
export type PartialRecord<K extends keyof any, T> = {

@@ -2,0 +3,0 @@ [P in K]?: T;

12

package.json
{
"name": "@xylabs/object",
"version": "4.2.2",
"version": "4.3.0",
"description": "Primary SDK for using XYO Protocol 2.0",

@@ -32,9 +32,9 @@ "homepage": "https://xyo.network",

"dependencies": {
"@xylabs/assert": "^4.2.2",
"@xylabs/logger": "^4.2.2",
"@xylabs/promise": "^4.2.2"
"@xylabs/assert": "^4.3.0",
"@xylabs/logger": "^4.3.0",
"@xylabs/promise": "^4.3.0"
},
"devDependencies": {
"@xylabs/ts-scripts-yarn3": "^4.2.1",
"@xylabs/tsconfig": "^4.2.1",
"@xylabs/ts-scripts-yarn3": "^4.2.3",
"@xylabs/tsconfig": "^4.2.3",
"typescript": "^5.6.3"

@@ -41,0 +41,0 @@ },

@@ -14,2 +14,3 @@ export * from './AnyObject.ts'

export * from './omitBy.ts'
export * from './Optional.ts'
export * from './Override.ts'

@@ -16,0 +17,0 @@ export * from './PartialRecord.ts'

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