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

@trackunit/shared-utils

Package Overview
Dependencies
Maintainers
0
Versions
180
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@trackunit/shared-utils - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

4

index.cjs.js

@@ -1100,5 +1100,3 @@ 'use strict';

// Regular expression to match various hidden characters
const hiddenRegex = new RegExp(
// eslint-disable-next-line no-control-regex
/[\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB\u0000-\u001F\u007F-\u009F]/gu);
const hiddenRegex = new RegExp(/[\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB\u0000-\u001F\u007F-\u009F]/gu);
// Replace hidden characters with an empty string

@@ -1105,0 +1103,0 @@ return input.replace(hiddenRegex, "");

@@ -1098,5 +1098,3 @@ import { v3, v4, v5 } from 'uuid';

// Regular expression to match various hidden characters
const hiddenRegex = new RegExp(
// eslint-disable-next-line no-control-regex
/[\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB\u0000-\u001F\u007F-\u009F]/gu);
const hiddenRegex = new RegExp(/[\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB\u0000-\u001F\u007F-\u009F]/gu);
// Replace hidden characters with an empty string

@@ -1103,0 +1101,0 @@ return input.replace(hiddenRegex, "");

{
"name": "@trackunit/shared-utils",
"version": "1.0.2",
"version": "1.0.3",
"repository": "https://github.com/Trackunit/manager",

@@ -5,0 +5,0 @@ "engines": {

@@ -40,2 +40,3 @@ /**

export declare const stripHiddenCharacters: (input: string) => string;
export type StringWithAutocompleteOptions<TOptions extends string> = TOptions | string;
export type StringWithAutocompleteOptions<TOptions extends string> = TOptions | ({} & string);
export type NonEmptyString<TString extends string> = "" extends TString ? never : TString;
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