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

gamla

Package Overview
Dependencies
Maintainers
1
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gamla - npm Package Compare versions

Comparing version 33.0.0 to 34.0.0

1

esm/src/string.js

@@ -7,2 +7,3 @@ export const truncate = (maxLength) => (input) => input.length > maxLength ? `${input.substring(0, maxLength)}...` : input;

export const capitalize = (s) => s[0].toLocaleUpperCase() + s.slice(1);
export const trimWhitesapce = (x) => x.trim();
export const trim = (characters) => (str) => {

@@ -9,0 +10,0 @@ const charactersSet = new Set(characters);

2

package.json

@@ -6,3 +6,3 @@ {

"name": "gamla",
"version": "33.0.0",
"version": "34.0.0",
"description": "Functional programming with async and type safety",

@@ -9,0 +9,0 @@ "license": "MIT",

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapString = exports.isValidRegExp = exports.testRegExp = exports.trim = exports.capitalize = exports.replace = exports.lowercase = exports.uppercase = exports.split = exports.truncate = void 0;
exports.wrapString = exports.isValidRegExp = exports.testRegExp = exports.trim = exports.trimWhitesapce = exports.capitalize = exports.replace = exports.lowercase = exports.uppercase = exports.split = exports.truncate = void 0;
const truncate = (maxLength) => (input) => input.length > maxLength ? `${input.substring(0, maxLength)}...` : input;

@@ -16,2 +16,4 @@ exports.truncate = truncate;

exports.capitalize = capitalize;
const trimWhitesapce = (x) => x.trim();
exports.trimWhitesapce = trimWhitesapce;
const trim = (characters) => (str) => {

@@ -18,0 +20,0 @@ const charactersSet = new Set(characters);

@@ -7,2 +7,3 @@ export declare const truncate: (maxLength: number) => (input: string) => string;

export declare const capitalize: (s: string) => string;
export declare const trimWhitesapce: (x: string) => string;
export declare const trim: (characters: string[]) => (str: string) => string;

@@ -9,0 +10,0 @@ export declare const testRegExp: (regexp: RegExp) => (x: string) => boolean;

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