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

@helios-lang/codec-utils

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@helios-lang/codec-utils - npm Package Compare versions

Comparing version 0.1.31 to 0.1.32

2

package.json
{
"name": "@helios-lang/codec-utils",
"version": "0.1.31",
"version": "0.1.32",
"description": "Primitive manipulation functions commonly used in encoding and decoding algorithms",

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

export { decodeUtf8, encodeUtf8, isValidUtf8 } from "./utf8.js"
export { removeWhitespace } from "./whitespace.js"
export { removeWhitespace, replaceTabs } from "./whitespace.js"
export { StringWriter } from "./StringWriter.js"

@@ -8,1 +8,11 @@ /**

}
/**
* Replaces the tab characters of a string with spaces
* @param {string} str
* @param {string} tab
* @returns {string}
*/
export function replaceTabs(str, tab = " ") {
return str.replace(new RegExp("\t", "g"), tab)
}

@@ -1,4 +0,4 @@

export { removeWhitespace } from "./whitespace.js";
export { StringWriter } from "./StringWriter.js";
export { decodeUtf8, encodeUtf8, isValidUtf8 } from "./utf8.js";
export { removeWhitespace, replaceTabs } from "./whitespace.js";
//# sourceMappingURL=index.d.ts.map

@@ -6,2 +6,9 @@ /**

export function removeWhitespace(str: string): string;
/**
* Replaces the tab characters of a string with spaces
* @param {string} str
* @param {string} tab
* @returns {string}
*/
export function replaceTabs(str: string, tab?: string): string;
//# sourceMappingURL=whitespace.d.ts.map

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