Socket
Socket
Sign inDemoInstall

@ombori/grid-session-manager

Package Overview
Dependencies
80
Maintainers
18
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.130.1 to 2.130.2

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [2.130.2](https://github.com/ombori/gridapp/compare/v2.130.1...v2.130.2) (2021-12-07)
**Note:** Version bump only for package @ombori/grid-session-manager
## [2.130.1](https://github.com/ombori/gridapp/compare/v2.130.0...v2.130.1) (2021-12-07)

@@ -8,0 +16,0 @@

3

dist/session-api/send-events.js

@@ -10,6 +10,5 @@ "use strict";

const types_1 = require("../types");
const lodash_1 = require("lodash");
const shorten_look_ups_1 = __importDefault(require("./shorten-look-ups"));
const sendData = (url, data) => {
const shortenedKeysData = lodash_1.omitBy(shorten_look_ups_1.default(data), lodash_1.isNil);
const shortenedKeysData = shorten_look_ups_1.default(data);
const jsonData = JSON.stringify(shortenedKeysData);

@@ -16,0 +15,0 @@ if (typeof navigator !== 'undefined' && typeof navigator.sendBeacon === 'function') {

export declare const shortenLookups: any;
export default function shortenKeys(obj: any): any;
export default function shortenKeys(obj: any): Partial<any>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.shortenLookups = void 0;
const lodash_1 = require("lodash");
exports.shortenLookups = {

@@ -64,4 +65,4 @@ captureId: 'a',

}
return result;
return lodash_1.omitBy(result, lodash_1.isNil);
}
exports.default = shortenKeys;
{
"name": "@ombori/grid-session-manager",
"version": "2.130.1",
"version": "2.130.2",
"main": "dist/index.js",

@@ -29,7 +29,6 @@ "scripts": {

"lodash": "^4.17.21",
"lodash.invert": "^4.3.0",
"rimraf": "^3.0.2",
"uuid": "^8.3.2"
},
"gitHead": "0dd59e3d6a0d8271544b110741b2b6648e0f0215"
"gitHead": "21b4bd65f97535e6a17916abed8d654a7b767435"
}

@@ -8,3 +8,3 @@ import axios from 'axios';

const sendData = (url: string, data: RequestData) => {
const shortenedKeysData = omitBy(shortenKeys(data), isNil);
const shortenedKeysData = shortenKeys(data);
const jsonData = JSON.stringify(shortenedKeysData);

@@ -11,0 +11,0 @@

@@ -1,2 +0,2 @@

import invert from 'lodash.invert';
import { omitBy, isNil } from 'lodash';

@@ -65,3 +65,3 @@ export const shortenLookups: any = {

return result;
return omitBy(result, isNil);
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc