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

dreambase-library

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dreambase-library - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

dist/newId.d.ts

4

dist/typeson-simplified/presets/builtin.js

@@ -6,4 +6,4 @@ import bigintDef from "../types/bigint.js";

import MapDef from "../types/Map.js";
import TypedArraysDefs from "../types/TypedArray";
import ArrayBufferDef from "../types/ArrayBuffer";
import TypedArraysDefs from "../types/TypedArray.js";
import ArrayBufferDef from "../types/ArrayBuffer.js";
export default {

@@ -10,0 +10,0 @@ ...bigintDef,

@@ -43,3 +43,3 @@ const { toString: toStr } = {};

//
const type = value.$t;
const type = value === null || value === void 0 ? void 0 : value.$t;
if (type) {

@@ -87,3 +87,5 @@ const typeDef = typeDefs[type];

case "function": {
// "object", "function"
// "object", "function", null
if (realVal === null)
return null;
const proto = Object.getPrototypeOf(realVal);

@@ -90,0 +92,0 @@ if (!proto)

{
"name": "dreambase-library",
"version": "1.0.2",
"version": "1.0.3",
"description": "Library of dreambase-related code for use in other libraries.",

@@ -9,2 +9,5 @@ "main": "dist/index.js",

"type": "module",
"engines": {
"node": ">=14.8.0"
},
"scripts": {

@@ -11,0 +14,0 @@ "test": "jest",

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