Socket
Socket
Sign inDemoInstall

@jamashita/anden-object

Package Overview
Dependencies
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jamashita/anden-object - npm Package Compare versions

Comparing version 2.11.0 to 2.12.0

1

dist/cjs/Objet.d.ts

@@ -7,2 +7,3 @@ import { Nominative } from '@jamashita/anden-type';

abstract serialize(): string;
[Symbol.toStringTag](): string;
hashCode(): string;

@@ -9,0 +10,0 @@ toString(): string;

@@ -22,2 +22,5 @@ "use strict";

}
[Symbol.toStringTag]() {
return this.constructor.name;
}
hashCode() {

@@ -24,0 +27,0 @@ return (0, object_hash_1.default)(this);

1

dist/cjs/Reference.d.ts
export declare class Reference {
static isCircular(value: unknown): boolean;
private static isObject;
private static isSerializable;

@@ -5,0 +4,0 @@ private constructor();

@@ -9,7 +9,4 @@ "use strict";

}
static isObject(value) {
return anden_type_1.Kind.isObject(value);
}
static isSerializable(value, visitStack) {
if (!Reference.isObject(value)) {
if (!anden_type_1.Kind.isObject(value)) {
return true;

@@ -16,0 +13,0 @@ }

@@ -7,2 +7,3 @@ import { Nominative } from '@jamashita/anden-type';

abstract serialize(): string;
[Symbol.toStringTag](): string;
hashCode(): string;

@@ -9,0 +10,0 @@ toString(): string;

@@ -16,2 +16,5 @@ import { Kind } from '@jamashita/anden-type';

}
[Symbol.toStringTag]() {
return this.constructor.name;
}
hashCode() {

@@ -18,0 +21,0 @@ return hash(this);

export declare class Reference {
static isCircular(value: unknown): boolean;
private static isObject;
private static isSerializable;

@@ -5,0 +4,0 @@ private constructor();

@@ -6,7 +6,4 @@ import { Kind } from '@jamashita/anden-type';

}
static isObject(value) {
return Kind.isObject(value);
}
static isSerializable(value, visitStack) {
if (!Reference.isObject(value)) {
if (!Kind.isObject(value)) {
return true;

@@ -13,0 +10,0 @@ }

{
"name": "@jamashita/anden-object",
"version": "2.11.0",
"version": "2.12.0",
"private": false,

@@ -28,8 +28,8 @@ "repository": {

"dependencies": {
"@jamashita/anden-error": "^2.6.0",
"@jamashita/anden-type": "^2.5.0",
"@jamashita/anden-error": "^2.7.0",
"@jamashita/anden-type": "^2.6.1",
"object-hash": "3.0.0"
},
"devDependencies": {
"@jamashita/anden-helper": "^2.1.0"
"@jamashita/anden-helper": "^2.2.0"
},

@@ -36,0 +36,0 @@ "engines": {

@@ -25,2 +25,6 @@ import { Kind, Nominative } from '@jamashita/anden-type';

public [Symbol.toStringTag](): string {
return this.constructor.name;
}
public hashCode(): string {

@@ -27,0 +31,0 @@ return hash(this);

@@ -8,8 +8,4 @@ import { Inconnu, Kind } from '@jamashita/anden-type';

private static isObject(value: unknown): value is Inconnu {
return Kind.isObject(value);
}
private static isSerializable(value: unknown, visitStack: WeakSet<object>): boolean {
if (!Reference.isObject(value)) {
if (!Kind.isObject<Inconnu>(value)) {
return true;

@@ -16,0 +12,0 @@ }

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

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

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