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

residue

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

residue - npm Package Compare versions

Comparing version 2.3.15 to 2.3.16

2

CHANGELOG.md
# Change Log
## [2.3.15]
## [2.3.16]
- Fixed translating Error and other classes

@@ -5,0 +5,0 @@

{
"name": "residue",
"version": "2.3.15",
"version": "2.3.16",
"description": "Library to interact with residue server seamlessly.",

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

@@ -13,12 +13,2 @@

## Native Modules
This library depends on following native modules, without them library will not work:
* [Path Module](https://nodejs.org/api/path.html)
* [File System Module](https://nodejs.org/api/fs.html)
* [Crypto Module](https://nodejs.org/api/crypto.html)
* [ZLib Module](https://nodejs.org/api/zlib.html)
* [Net Module](https://nodejs.org/api/net.html)
* [Util Module](https://nodejs.org/api/util.html)
## API

@@ -56,3 +46,3 @@ #### `connect(options)`

## Usage
```
```js
var residue = require('residue');

@@ -87,3 +77,7 @@ var logger = residue.getLogger('sample-app');

// other levels
```
## Log
```js
logger.info(...);
logger.warn(...);

@@ -94,3 +88,3 @@ logger.error(...);

logger.fatal(...);
logger.verbose(verbose-level, ...);
logger.verbose(verbose_level, ...);
```

@@ -97,0 +91,0 @@

@@ -68,3 +68,7 @@ //

} else if (typeof cpy[idx].toString === 'function') {
cpy[idx] = cpy[idx].toString();
let str = cpy[idx].toString();
if (str === '[object Object]') {
str = JSON.stringify(cpy[idx]);
}
cpy[idx] = str;
} else if (typeof cpy[idx].stringify === 'function') {

@@ -71,0 +75,0 @@ cpy[idx] = cpy[idx].stringify();

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