New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dewib/dw-api

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dewib/dw-api - npm Package Compare versions

Comparing version 2.6.0 to 2.6.1

7

CHANGELOG.md

@@ -5,2 +5,9 @@ # Changelog

### [2.6.1](https://github.com/gaetansenn/dw-api/compare/v2.6.0...v2.6.1) (2022-04-20)
### Bug Fixes
* fix mapping bind arguments ([4b17e94](https://github.com/gaetansenn/dw-api/commit/4b17e940065611a0655089fd39e0a169eb51a0e6))
## [2.6.0](https://github.com/gaetansenn/dw-api/compare/v2.5.0...v2.6.0) (2022-04-20)

@@ -7,0 +14,0 @@

4

lib/utils/model.js

@@ -107,3 +107,3 @@ import { isObject, camelCase, isEmpty, isString, get } from 'lodash'

response.data = response.data.map(item => this.extractModel.bind(this, fields, item, format))
response.data = response.data.map(item => this.extractModel(fields, item, format))

@@ -165,3 +165,3 @@ return (multi) ? (catchError ? [false, response.data] : response.data) : (catchError ? [false, response] : response)

else return true
}).map(m => this.extractModel.bind(this, field.fields, m, format, sourceModel, originModel)())
}).map(m => this.extractModel(field.fields, m, format, sourceModel, originModel))
else

@@ -168,0 +168,0 @@ return this.extractModel(field.fields, sourceModel[field.key], format, sourceModel, originModel)

{
"name": "@dewib/dw-api",
"version": "2.6.0",
"version": "2.6.1",
"description": "Wrap all your request into one place and map your response for your needs",

@@ -5,0 +5,0 @@ "main": "lib/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