@atproto/common
Advanced tools
Comparing version 0.4.0 to 0.4.1
# @atproto/common | ||
## 0.4.1 | ||
### Patch Changes | ||
- [#2633](https://github.com/bluesky-social/atproto/pull/2633) [`acc9093d2`](https://github.com/bluesky-social/atproto/commit/acc9093d2845eba02b68fb2f9db33e4f1b59bb10) Thanks [@matthieusieben](https://github.com/matthieusieben)! - Add obfuscation utilities | ||
## 0.4.0 | ||
@@ -4,0 +10,0 @@ |
export * from '@atproto/common-web'; | ||
export * from './buffers'; | ||
export * from './dates'; | ||
@@ -8,4 +9,4 @@ export * from './env'; | ||
export * from './logger'; | ||
export * from './obfuscate'; | ||
export * from './streams'; | ||
export * from './buffers'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -18,2 +18,3 @@ "use strict"; | ||
__exportStar(require("@atproto/common-web"), exports); | ||
__exportStar(require("./buffers"), exports); | ||
__exportStar(require("./dates"), exports); | ||
@@ -25,4 +26,4 @@ __exportStar(require("./env"), exports); | ||
__exportStar(require("./logger"), exports); | ||
__exportStar(require("./obfuscate"), exports); | ||
__exportStar(require("./streams"), exports); | ||
__exportStar(require("./buffers"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@atproto/common", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"license": "MIT", | ||
@@ -22,3 +22,3 @@ "description": "Shared web-platform-friendly code for atproto libraries", | ||
"multiformats": "^9.9.0", | ||
"pino": "^8.15.0", | ||
"pino": "^8.21.0", | ||
"@atproto/common-web": "^0.3.0" | ||
@@ -25,0 +25,0 @@ }, |
export * from '@atproto/common-web' | ||
export * from './buffers' | ||
export * from './dates' | ||
@@ -8,3 +9,3 @@ export * from './env' | ||
export * from './logger' | ||
export * from './obfuscate' | ||
export * from './streams' | ||
export * from './buffers' |
@@ -95,5 +95,8 @@ import crypto from 'crypto' | ||
export class VerifyCidError extends Error { | ||
constructor(public expected: CID, public actual: CID) { | ||
constructor( | ||
public expected: CID, | ||
public actual: CID, | ||
) { | ||
super('Bad cid check') | ||
} | ||
} |
@@ -56,3 +56,6 @@ import { | ||
totalSize = 0 | ||
constructor(public maxSize: number, public createError: () => Error) { | ||
constructor( | ||
public maxSize: number, | ||
public createError: () => Error, | ||
) { | ||
super() | ||
@@ -59,0 +62,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
74348
62
1448
0
Updatedpino@^8.21.0