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

@magnetarjs/utils

Package Overview
Dependencies
Maintainers
3
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magnetarjs/utils - npm Package Compare versions

Comparing version 0.16.13 to 0.16.15

7

dist/index.d.ts

@@ -13,2 +13,7 @@ import { Clauses, EventFnSuccess } from '@magnetarjs/types';

/**
* Converts `['a', '==', 123]` into `"a", "==", 123`
*/
declare function arrStr(clause: any[]): string;
/**
* Parses a value found at the field path, in order to be able to make a better comparison.

@@ -29,2 +34,2 @@ *

export { countCharacter, filterDataPerClauses, isCollectionModule, isDocModule, isEven, isOdd, logWithFlair, logger, parseValueForFilters };
export { arrStr, countCharacter, filterDataPerClauses, isCollectionModule, isDocModule, isEven, isOdd, logWithFlair, logger, parseValueForFilters };

@@ -23,2 +23,3 @@ "use strict";

__export(src_exports, {
arrStr: () => arrStr,
countCharacter: () => countCharacter,

@@ -164,2 +165,7 @@ filterDataPerClauses: () => filterDataPerClauses,

// src/internal/debugHelpers.ts
function arrStr(clause) {
return clause.map((part) => JSON.stringify(part)).join(", ");
}
// src/internal/pathHelpers.ts

@@ -217,2 +223,3 @@ function isDocModule(path) {

0 && (module.exports = {
arrStr,
countCharacter,

@@ -219,0 +226,0 @@ filterDataPerClauses,

4

package.json
{
"name": "@magnetarjs/utils",
"version": "0.16.13",
"version": "0.16.15",
"sideEffects": false,

@@ -25,3 +25,3 @@ "description": "Magnetar utils like a logger for easier development",

"path-to-prop": "^2.0.4",
"@magnetarjs/types": "0.16.13"
"@magnetarjs/types": "0.16.15"
},

@@ -28,0 +28,0 @@ "keywords": [

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