New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@alwatr/crypto

Package Overview
Dependencies
Maintainers
0
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alwatr/crypto - npm Package Compare versions

Comparing version 4.2.2 to 4.3.0

22

CHANGELOG.md

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

## [4.3.0](https://github.com/Alwatr/nanotron/compare/v4.2.2...v4.3.0) (2024-10-11)
### Features
* update `import`s & packages based on the latest changes of `nanolib` & prevent `sideeffects` from `build` result ([1d234b8](https://github.com/Alwatr/nanotron/commit/1d234b83152fb246b793476898e9cf026aa52874)) by @mohammadhonarvar
### Bug Fixes
* **crypto:** update types & `logger` & use `packageTracer` based on last changes of `nanolib` ([cf1a480](https://github.com/Alwatr/nanotron/commit/cf1a48071fe745226f6aed2afdf11038da5065e2)) by @mohammadhonarvar
### Code Refactoring
* update `import`s & packages based on the latest changes of `nanolib` ([7652b5d](https://github.com/Alwatr/nanotron/commit/7652b5d9cc69218f2ff28bda3d0d8f52f147c6f6)) by @mohammadhonarvar
### Miscellaneous Chores
* edited README ([d707d38](https://github.com/Alwatr/nanotron/commit/d707d389e085dd320402521cb23af5805013d777)) by @ArmanAsadian
### Dependencies update
* update ([834ffcc](https://github.com/Alwatr/nanotron/commit/834ffcc8f6de96cc11a1a6fa933f948b7813cde6)) by @mohammadhonarvar
## [4.2.2](https://github.com/Alwatr/nanotron/compare/v4.2.1...v4.2.2) (2024-09-29)

@@ -8,0 +30,0 @@

4

dist/api.d.ts

@@ -0,4 +1,4 @@

import { type Duration } from '@alwatr/nanolib';
import { AlwatrHashGenerator } from './hash.js';
import { AlwatrTokenGenerator, type TokenValidity } from './token.js';
import type { DurationString } from '@alwatr/parse-duration';
/**

@@ -15,3 +15,3 @@ * Configuration options for the CryptoFactory.

*/
duration: DurationString | 'infinite';
duration: Duration | 'infinite';
}

@@ -18,0 +18,0 @@ /**

@@ -1,2 +0,2 @@

import { type DurationString } from '@alwatr/parse-duration';
import { type Duration } from '@alwatr/nanolib';
import type { CryptoAlgorithm, CryptoEncoding } from './type.js';

@@ -27,3 +27,3 @@ export type TokenValidity = 'valid' | 'invalid' | 'expired';

*/
duration: DurationString | 'infinite';
duration: Duration | 'infinite';
}

@@ -30,0 +30,0 @@ /**

{
"name": "@alwatr/crypto",
"version": "4.2.2",
"version": "4.3.0",
"description": "A robust generator of secure authentication HOTP tokens, employing the HMAC-based One-Time Password algorithm, accompanied by a suite of cryptographic utilities, all encapsulated within a compact TypeScript module.",

@@ -69,15 +69,14 @@ "author": "S. Ali Mihandoost <ali.mihandoost@gmail.com>",

"dependencies": {
"@alwatr/logger": "^3.2.14",
"@alwatr/parse-duration": "^1.0.11"
"@alwatr/nanolib": "^1.2.0"
},
"devDependencies": {
"@alwatr/nano-build": "^1.3.10",
"@alwatr/prettier-config": "^1.0.4",
"@alwatr/tsconfig-base": "^1.2.0",
"@alwatr/type-helper": "^1.2.6",
"@types/node": "^22.7.4",
"@alwatr/nano-build": "^2.0.1",
"@alwatr/prettier-config": "^1.0.6",
"@alwatr/tsconfig-base": "^1.3.2",
"@alwatr/type-helper": "^2.0.2",
"@types/node": "^22.7.5",
"jest": "^29.7.0",
"typescript": "^5.6.2"
"typescript": "^5.6.3"
},
"gitHead": "887f58ef716850a245871fe0f3672354201cdb9a"
"gitHead": "5dd04b482d18bc8160ead9003f1d518512a62a8e"
}

@@ -24,3 +24,3 @@ # Crypto

The following companies, organizations, and individuals support Nitrobase ongoing maintenance and development. Become a Sponsor to get your logo on our README and website.
The following companies, organizations, and individuals support Nanotron ongoing maintenance and development. Become a Sponsor to get your logo on our README and website.

@@ -27,0 +27,0 @@ [![Exir Studio](https://avatars.githubusercontent.com/u/181194967?s=200&v=4)](https://exirstudio.com)

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

Sorry, the diff of this file is not supported yet

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