@waiting/shared-core
Advanced tools
Comparing version 23.25.3 to 23.25.4
@@ -30,2 +30,3 @@ import assert from 'node:assert/strict'; | ||
const isNodeGteV22 = nodeVersion ? semver.gte(nodeVersion, '22.9.0') : false; | ||
const isNodeGteV22_12 = nodeVersion ? semver.gte(nodeVersion, '22.12.0') : false; | ||
const isNodeGteV23 = nodeVersion ? semver.gte(nodeVersion, '23.3.0') : false; | ||
@@ -169,4 +170,4 @@ /** | ||
}; | ||
const depth2 = isNodeGteV23 ? depth + 2 : depth + 1; | ||
const depth3 = isNodeGteV23 ? depth + 1 : depth; | ||
const depth2 = isNodeGteV23 || isNodeGteV22_12 ? depth + 2 : depth + 1; | ||
const depth3 = isNodeGteV23 || isNodeGteV22_12 ? depth + 1 : depth; | ||
// @ts-ignore | ||
@@ -173,0 +174,0 @@ // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment, @typescript-eslint/no-unsafe-call |
{ | ||
"name": "@waiting/shared-core", | ||
"author": "waiting", | ||
"version": "23.25.3", | ||
"version": "23.25.4", | ||
"description": "node core function re export with Promise or Observable", | ||
@@ -83,3 +83,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "0f92c7976ca042a009ee4e55bcd4c26a6e1133e2" | ||
"gitHead": "d154a6f32f5e31196bb98bc5cdee86c1d1e37e82" | ||
} |
@@ -38,2 +38,3 @@ import assert from 'node:assert/strict' | ||
const isNodeGteV22 = nodeVersion ? semver.gte(nodeVersion, '22.9.0') : false | ||
const isNodeGteV22_12 = nodeVersion ? semver.gte(nodeVersion, '22.12.0') : false | ||
const isNodeGteV23 = nodeVersion ? semver.gte(nodeVersion, '23.3.0') : false | ||
@@ -205,4 +206,4 @@ | ||
} | ||
const depth2 = isNodeGteV23 ? depth + 2 : depth + 1 | ||
const depth3 = isNodeGteV23 ? depth + 1 : depth | ||
const depth2 = isNodeGteV23 || isNodeGteV22_12 ? depth + 2 : depth + 1 | ||
const depth3 = isNodeGteV23 || isNodeGteV22_12 ? depth + 1 : depth | ||
@@ -209,0 +210,0 @@ // @ts-ignore |
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
166109
3597