Socket
Socket
Sign inDemoInstall

@aomex/core

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aomex/core - npm Package Compare versions

Comparing version 2.1.0 to 2.2.0

11

CHANGELOG.md

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

# [2.2.0](https://github.com/aomex/aomex/compare/v2.1.0...v2.2.0) (2024-08-05)
### Bug Fixes
* **core:** rule.allOf返回了联合类型 ([061121c](https://github.com/aomex/aomex/commit/061121cd42f6f326a367e98434391aa3e1664379))
# [2.1.0](https://github.com/aomex/aomex/compare/v2.0.2...v2.1.0) (2024-07-28)

@@ -8,0 +19,0 @@

6

dist/index.d.ts
import { OpenAPIV3 } from 'openapi-types';
export { OpenAPIV3 as OpenAPI } from 'openapi-types';
import { NonReadonly } from '@aomex/internal-tools';
import { NonReadonly, Union2Intersection } from '@aomex/internal-tools';
import * as stream from 'stream';

@@ -927,5 +927,5 @@ import stream$1 from 'node:stream';

*/
allOf<T extends Validator[], A extends Validator, B extends Validator>(rules: [rule1: A, rule2: B, ...others: T]): AllOfValidator<Validator.Infer<A> | Validator.Infer<B> | {
allOf<T extends Validator[], A extends Validator, B extends Validator>(rules: [rule1: A, rule2: B, ...others: T]): AllOfValidator<Validator.Infer<A> & Validator.Infer<B> & Union2Intersection<{
[K in keyof T]: Validator.Infer<T[K]>;
}[number]>;
}[number]>>;
/**

@@ -932,0 +932,0 @@ * 允许任何类型:

{
"name": "@aomex/core",
"version": "2.1.0",
"version": "2.2.0",
"description": "aomex核心库",

@@ -38,5 +38,5 @@ "type": "module",

"openapi-types": "^12.1.3",
"@aomex/internal-tools": "^2.1.0"
"@aomex/internal-tools": "^2.2.0"
},
"scripts": {}
}

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