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

kaven-basic

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kaven-basic - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

17

esm2015/libs/KavenBasic.js

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

* @create: 2019-11-23 00:54:17.245
* @modify: 2022-07-02 10:26:55.989
* @version: 4.2.0
* @times: 95
* @lines: 524
* @modify: 2022-08-31 20:55:46.785
* @version: 4.2.1
* @times: 97
* @lines: 531
* @copyright: Copyright © 2019-2022 Kaven. All Rights Reserved.

@@ -56,3 +56,3 @@ * @description: [description]

* @since 4.0.0
* @version 2021-12-14
* @version 2022-08-31
*/

@@ -67,3 +67,8 @@ export function NormalizePathSep(pathStr, sep) {

const old = sep === "/" ? "\\" : "/";
return ReplaceAll(pathStr, old, sep).replace(/(.)\1+/g, "$1");
let path = ReplaceAll(pathStr, old, sep);
const t = sep + sep;
while (path.includes(t)) {
path = ReplaceAll(path, t, sep);
}
return path;
}

@@ -70,0 +75,0 @@ /**

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

* @create: 2019-11-23 00:54:17.245
* @modify: 2022-07-02 10:26:55.989
* @version: 4.2.0
* @times: 95
* @lines: 524
* @modify: 2022-08-31 20:55:46.785
* @version: 4.2.1
* @times: 97
* @lines: 531
* @copyright: Copyright © 2019-2022 Kaven. All Rights Reserved.

@@ -65,3 +65,3 @@ * @description: [description]

* @since 4.0.0
* @version 2021-12-14
* @version 2022-08-31
*/

@@ -76,3 +76,8 @@ export function NormalizePathSep(pathStr, sep) {

var old = sep === "/" ? "\\" : "/";
return ReplaceAll(pathStr, old, sep).replace(/(.)\1+/g, "$1");
var path = ReplaceAll(pathStr, old, sep);
var t = sep + sep;
while (path.includes(t)) {
path = ReplaceAll(path, t, sep);
}
return path;
}

@@ -79,0 +84,0 @@ /**

{
"name": "kaven-basic",
"version": "4.2.0",
"version": "4.2.1",
"description": "Basic library for javascript/typescript.",

@@ -5,0 +5,0 @@ "main": "./bundles/index.umd.js",

@@ -46,4 +46,4 @@ /********************************************************************

constructor(publicKey?: string, privateKey?: string);
Encrypt(data: TDataOfKavenBrowserRSA): Promise<any>;
Decrypt(data: TDataOfKavenBrowserRSA): Promise<any>;
Encrypt(data: TDataOfKavenBrowserRSA): Promise<ArrayBuffer>;
Decrypt(data: TDataOfKavenBrowserRSA): Promise<ArrayBuffer>;
Sign(data: TDataOfKavenBrowserRSA, saltLength?: number): Promise<ArrayBuffer>;

@@ -50,0 +50,0 @@ Verify(data: TDataOfKavenBrowserRSA, signature: TDataOfKavenBrowserRSA, saltLength?: number): Promise<boolean>;

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

* @create: 2019-11-23 00:54:17.245
* @modify: 2022-07-02 10:26:55.989
* @version: 4.2.0
* @times: 95
* @lines: 524
* @modify: 2022-08-31 20:55:46.785
* @version: 4.2.1
* @times: 97
* @lines: 531
* @copyright: Copyright © 2019-2022 Kaven. All Rights Reserved.

@@ -46,3 +46,3 @@ * @description: [description]

* @since 4.0.0
* @version 2021-12-14
* @version 2022-08-31
*/

@@ -49,0 +49,0 @@ export declare function NormalizePathSep(pathStr: string, sep?: "/" | "\\"): string;

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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