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

@xyo-network/heuristics

Package Overview
Dependencies
Maintainers
6
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xyo-network/heuristics - npm Package Compare versions

Comparing version 0.24.0 to 0.31.0

1

dist/index.d.ts

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

/// <reference types="node" />
import { XyoBaseSerializable, IXyoDeserializer, IXyoSerializationService, IXyoObjectSchema } from '@xyo-network/serialization';

@@ -2,0 +3,0 @@ declare type NumberType = 'unsigned-integer' | 'signed-integer' | 'float' | 'double';

6

dist/index.js

@@ -8,3 +8,3 @@ "use strict";

* @Last modified by: ryanxyo
* @Last modified time: Wednesday, 12th December 2018 1:47:24 pm
* @Last modified time: Wednesday, 6th March 2019 4:42:51 pm
* @License: All Rights Reserved

@@ -37,3 +37,3 @@ * @Copyright: Copyright XY | The Findables Company

}
throw new errors_1.XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`, errors_1.XyoErrors.CRITICAL);
throw new errors_1.XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`);
}

@@ -67,3 +67,3 @@ getReadableValue() {

else {
throw new errors_1.XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`, errors_1.XyoErrors.CRITICAL);
throw new errors_1.XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`);
}

@@ -70,0 +70,0 @@ return new XyoSerializableNumber(number, serializationService.schema, this.schemaObjectId, this.numberType);

{
"name": "@xyo-network/heuristics",
"version": "0.24.0",
"version": "0.31.0",
"description": "Helper utility for creating heuristics that are serializable / deserializable",

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

"dependencies": {
"@xyo-network/buffer-utils": "^0.24.0",
"@xyo-network/errors": "^0.24.0",
"@xyo-network/serialization": "^0.24.0"
"@xyo-network/buffer-utils": "^0.31.0",
"@xyo-network/errors": "^0.31.0",
"@xyo-network/serialization": "^0.31.0"
},

@@ -24,3 +24,3 @@ "devDependencies": {

},
"gitHead": "629618ae9a38cc374b662561d1786827b618c2fd"
"gitHead": "19f9752b9915e96430496a0adf86e5dc79c08ded"
}

@@ -7,3 +7,3 @@ /*

* @Last modified by: ryanxyo
* @Last modified time: Wednesday, 12th December 2018 1:47:24 pm
* @Last modified time: Wednesday, 6th March 2019 4:42:51 pm
* @License: All Rights Reserved

@@ -46,3 +46,3 @@ * @Copyright: Copyright XY | The Findables Company

throw new XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`, XyoErrors.CRITICAL)
throw new XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`)
}

@@ -76,3 +76,3 @@

} else {
throw new XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`, XyoErrors.CRITICAL)
throw new XyoError(`Unsupported number typed ${this.numberType || 'undefined'}`)
}

@@ -79,0 +79,0 @@

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