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

@twreporter/errors

Package Overview
Dependencies
Maintainers
6
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twreporter/errors - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1-rc.0

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

## [1.1.1-rc.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/errors@1.1.0...@twreporter/errors@1.1.1-rc.0) (2021-09-24)
**Note:** Version bump only for package @twreporter/errors
# [1.1.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/errors@1.1.0-rc.0...@twreporter/errors@1.1.0) (2020-03-16)

@@ -8,0 +16,0 @@

8

lib/helpers/print.js

@@ -15,3 +15,9 @@ "use strict";

var array = string.split(/\r?\n|\r/);
array.splice(array.length - trimmedCount, trimmedCount);
if (array.length > trimmedCount) {
array.splice(array.length - trimmedCount, trimmedCount);
} else {
array.splice(1, array.length - 1);
}
return array.join('\n');

@@ -18,0 +24,0 @@ }

4

package.json
{
"name": "@twreporter/errors",
"version": "1.1.0",
"version": "1.1.1-rc.0",
"main": "lib/index.js",

@@ -23,3 +23,3 @@ "repository": "https://github.com/twreporter/twreporter-npm-packages.git",

},
"gitHead": "de48004723d24d6bf916fc89b61992570f138077"
"gitHead": "19d77baee3374ca5073d0b039f5d2d27ec4658c7"
}

@@ -41,3 +41,3 @@ # @twreporter/errors

```js
import errors from '@twreporter/error'
import errors from '@twreporter/errors'

@@ -77,3 +77,3 @@ function doSomething() {

```js
import errors from '@twreporter/error'
import errors from '@twreporter/errors'

@@ -106,3 +106,3 @@ function doSomething() {

```js
import errors from '@twreporter/error'
import errors from '@twreporter/errors'

@@ -156,3 +156,3 @@ function nestedFailedTask() {

```js
import errors from '@twreporter/error'
import errors from '@twreporter/errors'

@@ -217,3 +217,3 @@ function nestedFailedTask() {

```js
import errors from '@twreporter/error'
import errors from '@twreporter/errors'

@@ -259,3 +259,3 @@ function invokeSomethingWithError() {

```js
import errors from '@twreporter/error'
import errors from '@twreporter/errors'
import axios from 'axios'

@@ -262,0 +262,0 @@

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