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

@trackunit/react-core-contexts-api

Package Overview
Dependencies
Maintainers
4
Versions
338
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trackunit/react-core-contexts-api - npm Package Compare versions

Comparing version 1.0.5 to 1.0.7

5

index.cjs.js

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

const createEvent = (event) => ({
description: event === null || event === void 0 ? void 0 : event.description,
description: event?.description,
properties: {},

@@ -87,3 +87,2 @@ });

const validateStringAsAssetSortByProperty = (input) => {
var _a;
const fallback = exports.AssetSortByProperty.Activity;

@@ -100,3 +99,3 @@ if (!input) {

}
return { sortBy: (_a = stringToEnum[input]) !== null && _a !== void 0 ? _a : fallback };
return { sortBy: stringToEnum[input] ?? fallback };
};

@@ -103,0 +102,0 @@ exports.SortOrder = void 0;

@@ -23,3 +23,3 @@ import { isUUID } from '@trackunit/shared-utils';

const createEvent = (event) => ({
description: event === null || event === void 0 ? void 0 : event.description,
description: event?.description,
properties: {},

@@ -85,3 +85,2 @@ });

const validateStringAsAssetSortByProperty = (input) => {
var _a;
const fallback = AssetSortByProperty.Activity;

@@ -98,3 +97,3 @@ if (!input) {

}
return { sortBy: (_a = stringToEnum[input]) !== null && _a !== void 0 ? _a : fallback };
return { sortBy: stringToEnum[input] ?? fallback };
};

@@ -101,0 +100,0 @@ var SortOrder;

6

package.json
{
"name": "@trackunit/react-core-contexts-api",
"version": "1.0.5",
"version": "1.0.7",
"repository": "https://github.com/Trackunit/manager",

@@ -11,4 +11,4 @@ "license": "SEE LICENSE IN LICENSE.txt",

"jest-fetch-mock": "^3.0.3",
"@trackunit/shared-utils": "^1.0.3",
"@trackunit/geo-json-utils": "^1.0.2"
"@trackunit/shared-utils": "^1.1.1",
"@trackunit/geo-json-utils": "^1.0.3"
},

@@ -15,0 +15,0 @@ "module": "./index.esm.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