hypercore-errors
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -87,2 +87,6 @@ module.exports = class HypercoreError extends Error { | ||
static OPLOG_HEADER_OVERFLOW (msg = 'Oplog header exceeds page size') { | ||
return new HypercoreError(msg, 'OPLOG_HEADER_OVERFLOW', HypercoreError.OPLOG_HEADER_OVERFLOW) | ||
} | ||
static INVALID_OPLOG_VERSION (msg = 'Invalid header version') { | ||
@@ -89,0 +93,0 @@ return new HypercoreError(msg, 'INVALID_OPLOG_VERSION', HypercoreError.INVALID_OPLOG_VERSION) |
{ | ||
"name": "hypercore-errors", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "Hypercore errors", | ||
"main": "index.js", | ||
"files": [ | ||
"index.js" | ||
], | ||
"scripts": { | ||
@@ -7,0 +10,0 @@ "test": "standard && brittle test.js" |
@@ -37,2 +37,3 @@ # hypercore-errors | ||
- OPLOG_CORRUPT | ||
- OPLOG_HEADER_OVERFLOW | ||
- INVALID_OPLOG_VERSION | ||
@@ -39,0 +40,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43
15859
4
72
1