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

aesthetic-utils

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aesthetic-utils - npm Package Compare versions

Comparing version 3.0.2 to 3.1.0

6

CHANGELOG.md

@@ -0,1 +1,7 @@

## 3.2.0 - 2020-04-06
#### 🚀 Updates
- Adds a callback argument to `toObjectRecursive`.
### 3.1.1 - 2020-03-23

@@ -2,0 +8,0 @@

10

esm/index.js

@@ -201,3 +201,3 @@ function _extends() {

function toObjectRecursive(map) {
function toObjectRecursive(map, cb) {
var object = {};

@@ -208,2 +208,6 @@

object[key] = obj.toObject();
if (cb) {
cb(key, object[key]);
}
});

@@ -213,2 +217,6 @@ } else {

object[key] = map[key].toObject();
if (cb) {
cb(key, object[key]);
}
});

@@ -215,0 +223,0 @@ }

@@ -205,3 +205,3 @@ 'use strict';

function toObjectRecursive(map) {
function toObjectRecursive(map, cb) {
var object = {};

@@ -212,2 +212,6 @@

object[key] = obj.toObject();
if (cb) {
cb(key, object[key]);
}
});

@@ -217,2 +221,6 @@ } else {

object[key] = map[key].toObject();
if (cb) {
cb(key, object[key]);
}
});

@@ -219,0 +227,0 @@ }

2

lib/toObjectRecursive.d.ts

@@ -6,3 +6,3 @@ export interface ToObjectable {

[key: string]: ToObjectable;
} | Map<string, ToObjectable>): T;
} | Map<string, ToObjectable>, cb?: (key: string, value: unknown) => void): T;
//# sourceMappingURL=toObjectRecursive.d.ts.map
{
"name": "aesthetic-utils",
"version": "3.0.2",
"version": "3.1.0",
"description": "Utility functions for Aesthetic.",

@@ -23,3 +23,3 @@ "keywords": [

},
"gitHead": "ca0d2988084fdc788239899a16de8ec42b49465a"
"gitHead": "9f861d74dba1124d7d0b7a83dffa3ad705770223"
}

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