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

@aesthetic/utils

Package Overview
Dependencies
Maintainers
1
Versions
29
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 0.0.4 to 0.1.0

lib/isSSR.d.ts

6

esm/index.js

@@ -69,2 +69,6 @@ import extend from 'extend';

function isSSR() {
return typeof window === 'undefined' || typeof document === 'undefined';
}
function objectLoop(object, callback) {

@@ -94,2 +98,2 @@ arrayLoop(Object.keys(object), function (key) {

export { arrayLoop, arrayReduce, deepMerge, generateHash, hyphenate, isObject, objectLoop, objectReduce, toArray };
export { arrayLoop, arrayReduce, deepMerge, generateHash, hyphenate, isObject, isSSR, objectLoop, objectReduce, toArray };

3

lib/index.d.ts

@@ -11,6 +11,7 @@ /**

import isObject from './isObject';
import isSSR from './isSSR';
import objectLoop from './objectLoop';
import objectReduce from './objectReduce';
import toArray from './toArray';
export { arrayLoop, arrayReduce, deepMerge, generateHash, hyphenate, isObject, objectLoop, objectReduce, toArray, };
export { arrayLoop, arrayReduce, deepMerge, generateHash, hyphenate, isObject, isSSR, objectLoop, objectReduce, toArray, };
//# sourceMappingURL=index.d.ts.map

@@ -75,2 +75,6 @@ 'use strict';

function isSSR() {
return typeof window === 'undefined' || typeof document === 'undefined';
}
function objectLoop(object, callback) {

@@ -106,4 +110,5 @@ arrayLoop(Object.keys(object), function (key) {

exports.isObject = isObject;
exports.isSSR = isSSR;
exports.objectLoop = objectLoop;
exports.objectReduce = objectReduce;
exports.toArray = toArray;
{
"name": "@aesthetic/utils",
"version": "0.0.4",
"version": "0.1.0",
"description": "Utility functions for Aesthetic.",

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

},
"gitHead": "a393b3217528ac5abddaf812927aebb5d14de426"
"gitHead": "9ec9db033887e32ea1b5d5dfcb4e5c87dad3dfc3"
}

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