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

@scaffdog/error

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scaffdog/error - npm Package Compare versions

Comparing version 1.0.0-canary.6 to 1.0.0-canary.7

4

CHANGELOG.md

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

# [1.0.0-canary.7](https://github.com/cats-oss/scaffdog/compare/v1.0.0-canary.6...v1.0.0-canary.7) (2021-01-12)
**Note:** Version bump only for package @scaffdog/error
# [1.0.0-canary.6](https://github.com/cats-oss/scaffdog/compare/v1.0.0-canary.5...v1.0.0-canary.6) (2021-01-12)

@@ -8,0 +12,0 @@

6

package.json
{
"name": "@scaffdog/error",
"version": "1.0.0-canary.6",
"version": "1.0.0-canary.7",
"description": "A utility module of scaffdog error.",

@@ -35,3 +35,3 @@ "keywords": [

"devDependencies": {
"@scaffdog/types": "1.0.0-canary.6"
"@scaffdog/types": "1.0.0-canary.7"
},

@@ -41,3 +41,3 @@ "publishConfig": {

},
"gitHead": "0621c0e2ef0de5cabb27a279cb5925b1d033e65b"
"gitHead": "e002eafd425b17b1a4ca4211c46ac80095dbd14b"
}

@@ -16,3 +16,18 @@ # @scaffdog/error

```typescript
// T.B.A
import { error } from '@scaffdog/error';
const e = error('unexpected token', {
source: 'text {{ ] }}',
loc: {
start: { line: 1, column: 9 },
end: { line: 1, column: 9 },
},
});
console.log(e.message);
// unexpected token:
//
// > │ text {{ ] }}
// │ ^
```
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