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

primea-objects

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

primea-objects - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

.nyc_output/057476a72158e305481006c9c3aeb833.json

16

index.js

@@ -99,3 +99,3 @@ const crypto = require('crypto')

const json = {
type: getType(this),
type: 'func',
actorID: this.actorID.toJSON(),

@@ -165,3 +165,3 @@ private: this.identifier[0],

return {
type: getType(this),
type: 'actor',
id: this.id.toJSON(),

@@ -202,3 +202,3 @@ mod: this.modRef.toJSON(includeExports)

const json = {
type: getType(this),
type: 'mod',
id: this.id.toJSON(),

@@ -274,11 +274,11 @@ modType: this.type,

return 'link'
} else if (obj.constructor === Message) {
} else if (obj.constructor.name === 'Message') {
return 'message'
} else if (obj.constructor === ID) {
} else if (obj.constructor.name === 'ID') {
return 'id'
} else if (obj.constructor === FunctionRef) {
} else if (obj.constructor.name === 'FunctionRef') {
return 'func'
} else if (obj.constructor === ModuleRef) {
} else if (obj.constructor.name === 'ModuleRef') {
return 'mod'
} else if (obj.constructor === ActorRef) {
} else if (obj.constructor.name === 'ActorRef') {
return 'actor'

@@ -285,0 +285,0 @@ }

{
"name": "primea-objects",
"version": "0.0.6",
"version": "0.0.7",
"description": "Object helper classes for Primea's system Objects",

@@ -5,0 +5,0 @@ "main": "index.js",

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