Socket
Socket
Sign inDemoInstall

@rushstack/node-core-library

Package Overview
Dependencies
Maintainers
3
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rushstack/node-core-library - npm Package Compare versions

Comparing version 5.6.0 to 5.7.0

9

CHANGELOG.md
# Change Log - @rushstack/node-core-library
This log was last generated on Mon, 12 Aug 2024 22:16:04 GMT and should not be manually modified.
This log was last generated on Wed, 21 Aug 2024 05:43:04 GMT and should not be manually modified.
## 5.7.0
Wed, 21 Aug 2024 05:43:04 GMT
### Minor changes
- Introduce a `Text.splitByNewLines` function.
## 5.6.0

@@ -6,0 +13,0 @@ Mon, 12 Aug 2024 22:16:04 GMT

@@ -134,3 +134,10 @@ /// <reference types="node" />

static reverse(s: string): string;
/**
* Splits the provided string by newlines. Note that leading and trailing newlines will produce
* leading or trailing empty string array entries.
*/
static splitByNewLines(s: undefined): undefined;
static splitByNewLines(s: string): string[];
static splitByNewLines(s: string | undefined): string[] | undefined;
}
//# sourceMappingURL=Text.d.ts.map

@@ -293,2 +293,5 @@ "use strict";

}
static splitByNewLines(s) {
return s === null || s === void 0 ? void 0 : s.split(/\r?\n/);
}
}

@@ -295,0 +298,0 @@ exports.Text = Text;

2

package.json
{
"name": "@rushstack/node-core-library",
"version": "5.6.0",
"version": "5.7.0",
"description": "Core libraries that every NodeJS toolchain project should use",

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

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

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

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