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

@xyo-network/base

Package Overview
Dependencies
Maintainers
5
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xyo-network/base - npm Package Compare versions

Comparing version 0.13.0 to 0.14.0

11

dist/xyo-base.js

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

* @Last modified by: ryanxyo
* @Last modified time: Monday, 10th December 2018 1:26:51 pm
* @Last modified time: Wednesday, 16th January 2019 2:54:11 pm
* @License: All Rights Reserved

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

}
// protected async getOrCreateAsync<T>(name: string, initializer: () => Promise<T>): Promise<T> {
// if (!this.cache) {
// this.cache = new XyoSimpleCache()
// }
// const t = await this.cache.getOrCreate(name, initializer)
// return t
// }
/** Logs to the `info` level */

@@ -79,3 +86,3 @@ logInfo(message, ...optionalParams) {

exports.XyoBase = XyoBase;
XyoBase.logger = new logger_1.XyoLogger(process.env.NODE_ENV !== 'test', process.env.NODE_ENV !== 'test');
XyoBase.logger = new logger_1.XyoLogger(process.env.ENABLE_LOGGING_FILES !== undefined, process.env.ENABLE_LOGGING_FILES !== undefined);
//# sourceMappingURL=xyo-base.js.map

6

package.json
{
"name": "@xyo-network/base",
"version": "0.13.0",
"version": "0.14.0",
"description": "A base class for the Xyo Network",

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

"dependencies": {
"@xyo-network/logger": "^0.13.0",
"@xyo-network/logger": "^0.14.0",
"fast-safe-stringify": "^2.0.6"

@@ -23,3 +23,3 @@ },

},
"gitHead": "a4f31aa4f15cfadb3c7bb2ad82acec54b19d9b9c"
"gitHead": "200a705d4116aaaeb6418f174733a4365c97fe2e"
}

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

* @Last modified by: ryanxyo
* @Last modified time: Monday, 10th December 2018 1:26:51 pm
* @Last modified time: Wednesday, 16th January 2019 2:54:11 pm
* @License: All Rights Reserved

@@ -54,2 +54,11 @@ * @Copyright: Copyright XY | The Findables Company

// protected async getOrCreateAsync<T>(name: string, initializer: () => Promise<T>): Promise<T> {
// if (!this.cache) {
// this.cache = new XyoSimpleCache()
// }
// const t = await this.cache.getOrCreate(name, initializer)
// return t
// }
/** Logs to the `info` level */

@@ -86,2 +95,5 @@ protected logInfo(message?: any, ...optionalParams: any[]) {

XyoBase.logger = new XyoLogger(process.env.NODE_ENV !== 'test', process.env.NODE_ENV !== 'test')
XyoBase.logger = new XyoLogger(
process.env.ENABLE_LOGGING_FILES !== undefined,
process.env.ENABLE_LOGGING_FILES !== undefined
)

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