@atproto/crypto
Advanced tools
+4
-6
| # @atproto/crypto | ||
| ## 0.5.0-next.0 | ||
| ## 0.5.0 | ||
| ### Minor Changes | ||
| - [#4929](https://github.com/bluesky-social/atproto/pull/4929) [`bb7491c`](https://github.com/bluesky-social/atproto/commit/bb7491c29e06181e1d2f8cf6eb454f9bb8ab961b) Thanks [@devinivy](https://github.com/devinivy)! - **BREAKING:** Drop support for Node.js 18 and 20. Node.js 22 is now the minimum supported version. Docker images now use Node.js 24. | ||
| - [#4929](https://github.com/bluesky-social/atproto/pull/4929) [`f01c59f`](https://github.com/bluesky-social/atproto/commit/f01c59f5bd3f75fb8b47a9eecd4858b84033fb7c) Thanks [@devinivy](https://github.com/devinivy)! - **BREAKING:** Drop support for Node.js 18 and 20. Node.js 22 is now the minimum supported version. Docker images now use Node.js 24. | ||
| - [#4943](https://github.com/bluesky-social/atproto/pull/4943) [`07ae5d4`](https://github.com/bluesky-social/atproto/commit/07ae5d4452df51e045e0239da7a04cf0bc154028) Thanks [@devinivy](https://github.com/devinivy)! - **BREAKING:** Convert to pure ESM. All packages now ship `"type": "module"` with ES module output and Node16 module resolution. | ||
| - [#4943](https://github.com/bluesky-social/atproto/pull/4943) [`c459153`](https://github.com/bluesky-social/atproto/commit/c459153395a30ce89e050892c8fab7dc98e019b9) Thanks [@devinivy](https://github.com/devinivy)! - **BREAKING:** Convert to pure ESM. All packages now ship `"type": "module"` with ES module output and Node16 module resolution. | ||
| Node.js 22's `require()` compatibility layer can still load these packages in CommonJS code. | ||
| - [#4930](https://github.com/bluesky-social/atproto/pull/4930) [`042df15`](https://github.com/bluesky-social/atproto/commit/042df15087c0e62cd1e715fcbf58852fab875af9) Thanks [@devinivy](https://github.com/devinivy)! - Build with TypeScript 6.0. Emitted `.d.ts` files now use TypeScript 6's stricter `Uint8Array<ArrayBuffer>` typing in places where Web/Node APIs require buffer-backed (not shared-memory) byte arrays. Consumers compiling against these types on older TypeScript should see no runtime impact, but may need to widen or cast in spots that previously relied on `Uint8Array` defaulting to `<ArrayBufferLike>`. | ||
| - [#4930](https://github.com/bluesky-social/atproto/pull/4930) [`908bece`](https://github.com/bluesky-social/atproto/commit/908bece169258bff5ad121e5eec157d6ded6f705) Thanks [@devinivy](https://github.com/devinivy)! - Build with TypeScript 6.0. | ||
| Internal: tsconfig `moduleResolution: "node"` is silenced via `ignoreDeprecations: "6.0"` for now; the proper migration to `node16`/`bundler` resolution is deferred. | ||
| ## 0.4.5 | ||
@@ -18,0 +16,0 @@ |
+9
-2
@@ -7,3 +7,10 @@ /** @type {import('jest').Config} */ | ||
| '@swc/jest', | ||
| { jsc: { transform: {} }, module: { type: 'es6' } }, | ||
| { | ||
| jsc: { | ||
| parser: { syntax: 'typescript', importAttributes: true }, | ||
| experimental: { keepImportAttributes: true }, | ||
| transform: {}, | ||
| }, | ||
| module: { type: 'es6' }, | ||
| }, | ||
| ], | ||
@@ -13,4 +20,4 @@ }, | ||
| transformIgnorePatterns: [], | ||
| setupFiles: ['<rootDir>/../../jest.setup.ts'], | ||
| setupFiles: ['<rootDir>/../../test.setup.ts'], | ||
| moduleNameMapper: { '^(\\.\\.?\\/.+)\\.js$': ['$1.ts', '$1.js'] }, | ||
| } |
+2
-2
| { | ||
| "name": "@atproto/crypto", | ||
| "version": "0.5.0-next.0", | ||
| "version": "0.5.0", | ||
| "license": "MIT", | ||
@@ -27,3 +27,3 @@ "description": "Library for cryptographic keys and signing in atproto", | ||
| "typescript": "^6.0.3", | ||
| "@atproto/common": "^0.6.0-next.0" | ||
| "@atproto/common": "^0.6.0" | ||
| }, | ||
@@ -30,0 +30,0 @@ "type": "module", |
1514
0.46%104220
-0.38%