@halospv3/hce.shared-config 3.4.5 → 3.4.6-develop.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +16 -0
- package/README.md +1 -1
- package/dotnet/.github/workflows/_unit_test.yml +1 -1
- package/mjs/CaseInsensitiveMap.d.mts +15 -0
- package/mjs/CaseInsensitiveMap.d.mts.map +1 -0
- package/mjs/CaseInsensitiveMap.mjs +2 -33
- package/mjs/CaseInsensitiveMap.mjs.map +1 -1
- package/mjs/commitlintConfig.d.mts +15 -0
- package/mjs/commitlintConfig.d.mts.map +1 -0
- package/mjs/commitlintConfig.mjs +2 -13
- package/mjs/commitlintConfig.mjs.map +1 -1
- package/mjs/debug.d.mts +9 -0
- package/mjs/debug.d.mts.map +1 -0
- package/mjs/debug.mjs +2 -9
- package/mjs/debug.mjs.map +1 -1
- package/mjs/dotnet/GithubNugetRegistryInfo.d.mts +42 -0
- package/mjs/dotnet/GithubNugetRegistryInfo.d.mts.map +1 -0
- package/mjs/dotnet/GithubNugetRegistryInfo.mjs +2 -43
- package/mjs/dotnet/GithubNugetRegistryInfo.mjs.map +1 -1
- package/mjs/dotnet/GitlabNugetRegistryInfo.d.mts +65 -0
- package/mjs/dotnet/GitlabNugetRegistryInfo.d.mts.map +1 -0
- package/mjs/dotnet/GitlabNugetRegistryInfo.mjs +2 -99
- package/mjs/dotnet/GitlabNugetRegistryInfo.mjs.map +1 -1
- package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.d.mts +1 -0
- package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.mjs +2 -44
- package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.mjs.map +1 -1
- package/mjs/dotnet/MSBuildProject.d.mts +267 -0
- package/mjs/dotnet/MSBuildProject.d.mts.map +1 -0
- package/mjs/dotnet/MSBuildProject.mjs +3 -490
- package/mjs/dotnet/MSBuildProject.mjs.map +1 -1
- package/mjs/dotnet/MSBuildProjectProperties.d.mts +172 -0
- package/mjs/dotnet/MSBuildProjectProperties.d.mts.map +1 -0
- package/mjs/dotnet/MSBuildProjectProperties.mjs +2 -260
- package/mjs/dotnet/MSBuildProjectProperties.mjs.map +1 -1
- package/mjs/dotnet/NugetProjectProperties.d.mts +381 -0
- package/mjs/dotnet/NugetProjectProperties.d.mts.map +1 -0
- package/mjs/dotnet/NugetProjectProperties.mjs +2 -577
- package/mjs/dotnet/NugetProjectProperties.mjs.map +1 -1
- package/mjs/dotnet/NugetRegistryInfo.d.mts +387 -0
- package/mjs/dotnet/NugetRegistryInfo.d.mts.map +1 -0
- package/mjs/dotnet/NugetRegistryInfo.mjs +4 -752
- package/mjs/dotnet/NugetRegistryInfo.mjs.map +1 -1
- package/mjs/dotnet/helpers.d.mts +66 -0
- package/mjs/dotnet/helpers.d.mts.map +1 -0
- package/mjs/dotnet/helpers.mjs +2 -354
- package/mjs/dotnet/helpers.mjs.map +1 -1
- package/mjs/dotnet/index.d.mts +8 -0
- package/mjs/dotnet/index.mjs +1 -9
- package/mjs/dotnet.d.mts +8 -0
- package/mjs/dotnet.mjs +1 -9
- package/mjs/eslintConfig.d.mts +7 -0
- package/mjs/eslintConfig.d.mts.map +1 -0
- package/mjs/eslintConfig.mjs +2 -64
- package/mjs/eslintConfig.mjs.map +1 -1
- package/mjs/index.d.mts +2 -0
- package/mjs/index.mjs +1 -4
- package/mjs/insertPlugins.d.mts +22 -0
- package/mjs/insertPlugins.d.mts.map +1 -0
- package/mjs/insertPlugins.mjs +2 -73
- package/mjs/insertPlugins.mjs.map +1 -1
- package/mjs/semantic-release__commit-analyzer.d.mts +44 -0
- package/mjs/semantic-release__commit-analyzer.d.mts.map +1 -0
- package/mjs/semantic-release__exec.d.mts +17 -0
- package/mjs/semantic-release__exec.d.mts.map +1 -0
- package/mjs/semantic-release__git.d.mts +83 -0
- package/mjs/semantic-release__git.d.mts.map +1 -0
- package/mjs/semantic-release__github.d.mts +141 -0
- package/mjs/semantic-release__github.d.mts.map +1 -0
- package/mjs/semanticReleaseConfig.d.mts +94 -0
- package/mjs/semanticReleaseConfig.d.mts.map +1 -0
- package/mjs/semanticReleaseConfig.mjs +2 -63
- package/mjs/semanticReleaseConfig.mjs.map +1 -1
- package/mjs/semanticReleaseConfigDotnet.d.mts +96 -0
- package/mjs/semanticReleaseConfigDotnet.d.mts.map +1 -0
- package/mjs/semanticReleaseConfigDotnet.mjs +7 -274
- package/mjs/semanticReleaseConfigDotnet.mjs.map +1 -1
- package/mjs/setupGitPluginSpec.d.mts +18 -0
- package/mjs/setupGitPluginSpec.d.mts.map +1 -0
- package/mjs/setupGitPluginSpec.default.d.mts +13 -0
- package/mjs/setupGitPluginSpec.default.d.mts.map +1 -0
- package/mjs/setupGitPluginSpec.default.mjs +4 -0
- package/mjs/setupGitPluginSpec.default.mjs.map +1 -0
- package/mjs/setupGitPluginSpec.mjs +2 -144
- package/mjs/setupGitPluginSpec.mjs.map +1 -1
- package/mjs/utils/Exact.d.mts +18 -0
- package/mjs/utils/Exact.d.mts.map +1 -0
- package/mjs/utils/Exact.mjs +2 -75
- package/mjs/utils/Exact.mjs.map +1 -1
- package/mjs/utils/GracefulRecursion.d.mts +14 -0
- package/mjs/utils/GracefulRecursion.d.mts.map +1 -0
- package/mjs/utils/env.d.mts +28 -0
- package/mjs/utils/env.d.mts.map +1 -0
- package/mjs/utils/env.mjs +2 -47
- package/mjs/utils/env.mjs.map +1 -1
- package/mjs/utils/execAsync.d.mts +40 -0
- package/mjs/utils/execAsync.d.mts.map +1 -0
- package/mjs/utils/execAsync.mjs +10 -59
- package/mjs/utils/execAsync.mjs.map +1 -1
- package/mjs/utils/isError.d.mts +14 -0
- package/mjs/utils/isError.d.mts.map +1 -0
- package/mjs/utils/isError.mjs +2 -19
- package/mjs/utils/isError.mjs.map +1 -1
- package/mjs/utils/miscTypes.d.mts +16 -0
- package/mjs/utils/miscTypes.d.mts.map +1 -0
- package/mjs/utils/miscTypes.mjs +2 -10
- package/mjs/utils/miscTypes.mjs.map +1 -1
- package/mjs/utils/reflection/FunctionLike.d.mts +17 -0
- package/mjs/utils/reflection/FunctionLike.d.mts.map +1 -0
- package/mjs/utils/reflection/GetterDescriptor.d.mts +11 -0
- package/mjs/utils/reflection/GetterDescriptor.d.mts.map +1 -0
- package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mts +26 -0
- package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mts.map +1 -0
- package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mts +17 -0
- package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mts.map +1 -0
- package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mts +18 -0
- package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mts.map +1 -0
- package/mjs/utils/reflection/OwnKeyOf.d.mts +15 -0
- package/mjs/utils/reflection/OwnKeyOf.d.mts.map +1 -0
- package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mts +15 -0
- package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mts.map +1 -0
- package/mjs/utils/reflection/PropertyDescriptorMap.d.mts +13 -0
- package/mjs/utils/reflection/PropertyDescriptorMap.d.mts.map +1 -0
- package/mjs/utils/reflection/filterForGetters.d.mts +11 -0
- package/mjs/utils/reflection/filterForGetters.d.mts.map +1 -0
- package/mjs/utils/reflection/filterForGetters.mjs +2 -27
- package/mjs/utils/reflection/filterForGetters.mjs.map +1 -1
- package/mjs/utils/reflection/getOwnPropertyDescriptors.d.mts +26 -0
- package/mjs/utils/reflection/getOwnPropertyDescriptors.d.mts.map +1 -0
- package/mjs/utils/reflection/getOwnPropertyDescriptors.mjs +2 -34
- package/mjs/utils/reflection/getOwnPropertyDescriptors.mjs.map +1 -1
- package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.mts +51 -0
- package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.mts.map +1 -0
- package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.mjs +2 -72
- package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.mjs.map +1 -1
- package/mjs/utils/reflection/getPrototypeChainOf.d.mts +19 -0
- package/mjs/utils/reflection/getPrototypeChainOf.d.mts.map +1 -0
- package/mjs/utils/reflection/getPrototypeChainOf.mjs +2 -55
- package/mjs/utils/reflection/getPrototypeChainOf.mjs.map +1 -1
- package/mjs/utils/reflection/getPrototypeOf.d.mts +12 -0
- package/mjs/utils/reflection/getPrototypeOf.d.mts.map +1 -0
- package/mjs/utils/reflection/getPrototypeOf.mjs +2 -10
- package/mjs/utils/reflection/getPrototypeOf.mjs.map +1 -1
- package/mjs/utils/reflection/inheritance.d.mts +173 -0
- package/mjs/utils/reflection/inheritance.d.mts.map +1 -0
- package/mjs/utils/reflection/inheritance.mjs +2 -148
- package/mjs/utils/reflection/inheritance.mjs.map +1 -1
- package/mjs/utils/reflection/isConstructor.d.mts +20 -0
- package/mjs/utils/reflection/isConstructor.d.mts.map +1 -0
- package/mjs/utils/reflection/isConstructor.mjs +2 -63
- package/mjs/utils/reflection/isConstructor.mjs.map +1 -1
- package/mjs/utils/reflection/isGetterDescriptor.d.mts +13 -0
- package/mjs/utils/reflection/isGetterDescriptor.d.mts.map +1 -0
- package/mjs/utils/reflection/isGetterDescriptor.mjs +2 -12
- package/mjs/utils/reflection/isGetterDescriptor.mjs.map +1 -1
- package/mjs/utils/reflection/listOwnGetters.d.mts +29 -0
- package/mjs/utils/reflection/listOwnGetters.d.mts.map +1 -0
- package/mjs/utils/reflection/listOwnGetters.mjs +2 -39
- package/mjs/utils/reflection/listOwnGetters.mjs.map +1 -1
- package/mjs/utils/reflection.d.mts +18 -0
- package/mjs/utils/reflection.mjs +1 -10
- package/package.json +102 -65
- package/src/debug.ts +1 -0
- package/src/dotnet/GithubNugetRegistryInfo.ts +4 -4
- package/src/dotnet/GitlabNugetRegistryInfo.ts +5 -5
- package/src/dotnet/IsNextVersionAlreadyPublished.cli.ts +2 -1
- package/src/dotnet/MSBuildProject.ts +8 -7
- package/src/dotnet/MSBuildProjectProperties.ts +4 -3
- package/src/dotnet/NugetProjectProperties.ts +4 -4
- package/src/dotnet/NugetRegistryInfo.ts +9 -8
- package/src/dotnet/helpers.ts +5 -4
- package/src/dotnet/index.ts +8 -8
- package/src/dotnet.ts +1 -1
- package/src/index.ts +1 -1
- package/src/semanticReleaseConfig.ts +5 -1
- package/src/semanticReleaseConfigDotnet.ts +10 -8
- package/src/setupGitPluginSpec.default.ts +22 -0
- package/src/setupGitPluginSpec.ts +4 -21
- package/src/tsconfig.json +1 -2
- package/src/utils/execAsync.ts +1 -1
- package/src/utils/reflection/InstancePropertyDescriptorMap.d.ts +1 -1
- package/src/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.ts +2 -2
- package/src/utils/reflection/OwnGetterDescriptorMap.d.ts +2 -2
- package/src/utils/reflection/filterForGetters.ts +5 -5
- package/src/utils/reflection/getOwnPropertyDescriptors.ts +4 -4
- package/src/utils/reflection/getOwnPropertyDescriptorsRecursively.ts +12 -12
- package/src/utils/reflection/getPrototypeChainOf.ts +5 -5
- package/src/utils/reflection/getPrototypeOf.ts +1 -1
- package/src/utils/reflection/inheritance.ts +5 -5
- package/src/utils/reflection/isGetterDescriptor.ts +1 -1
- package/src/utils/reflection/listOwnGetters.ts +6 -6
- package/src/utils/reflection.ts +17 -17
- package/tsconfig.base.json +2 -2
- package/mjs/CaseInsensitiveMap.d.ts +0 -12
- package/mjs/CaseInsensitiveMap.d.ts.map +0 -1
- package/mjs/commitlintConfig.d.ts +0 -12
- package/mjs/commitlintConfig.d.ts.map +0 -1
- package/mjs/debug.d.ts +0 -6
- package/mjs/debug.d.ts.map +0 -1
- package/mjs/dotnet/GithubNugetRegistryInfo.d.ts +0 -38
- package/mjs/dotnet/GithubNugetRegistryInfo.d.ts.map +0 -1
- package/mjs/dotnet/GitlabNugetRegistryInfo.d.ts +0 -61
- package/mjs/dotnet/GitlabNugetRegistryInfo.d.ts.map +0 -1
- package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.d.ts +0 -2
- package/mjs/dotnet/IsNextVersionAlreadyPublished.cli.d.ts.map +0 -1
- package/mjs/dotnet/MSBuildProject.d.ts +0 -264
- package/mjs/dotnet/MSBuildProject.d.ts.map +0 -1
- package/mjs/dotnet/MSBuildProjectProperties.d.ts +0 -170
- package/mjs/dotnet/MSBuildProjectProperties.d.ts.map +0 -1
- package/mjs/dotnet/NugetProjectProperties.d.ts +0 -379
- package/mjs/dotnet/NugetProjectProperties.d.ts.map +0 -1
- package/mjs/dotnet/NugetRegistryInfo.d.ts +0 -384
- package/mjs/dotnet/NugetRegistryInfo.d.ts.map +0 -1
- package/mjs/dotnet/helpers.d.ts +0 -63
- package/mjs/dotnet/helpers.d.ts.map +0 -1
- package/mjs/dotnet/index.d.ts +0 -9
- package/mjs/dotnet/index.d.ts.map +0 -1
- package/mjs/dotnet/index.mjs.map +0 -1
- package/mjs/dotnet.d.ts +0 -2
- package/mjs/dotnet.d.ts.map +0 -1
- package/mjs/dotnet.mjs.map +0 -1
- package/mjs/eslintConfig.d.ts +0 -4
- package/mjs/eslintConfig.d.ts.map +0 -1
- package/mjs/index.d.ts +0 -3
- package/mjs/index.d.ts.map +0 -1
- package/mjs/index.mjs.map +0 -1
- package/mjs/insertPlugins.d.ts +0 -18
- package/mjs/insertPlugins.d.ts.map +0 -1
- package/mjs/semantic-release__commit-analyzer.d.mjs +0 -2
- package/mjs/semantic-release__commit-analyzer.d.mjs.map +0 -1
- package/mjs/semantic-release__exec.d.mjs +0 -2
- package/mjs/semantic-release__exec.d.mjs.map +0 -1
- package/mjs/semantic-release__git.d.mjs +0 -2
- package/mjs/semantic-release__git.d.mjs.map +0 -1
- package/mjs/semantic-release__github.d.mjs +0 -2
- package/mjs/semantic-release__github.d.mjs.map +0 -1
- package/mjs/semanticReleaseConfig.d.ts +0 -97
- package/mjs/semanticReleaseConfig.d.ts.map +0 -1
- package/mjs/semanticReleaseConfigDotnet.d.ts +0 -112
- package/mjs/semanticReleaseConfigDotnet.d.ts.map +0 -1
- package/mjs/setupGitPluginSpec.d.ts +0 -22
- package/mjs/setupGitPluginSpec.d.ts.map +0 -1
- package/mjs/utils/Exact.d.ts +0 -20
- package/mjs/utils/Exact.d.ts.map +0 -1
- package/mjs/utils/GracefulRecursion.d.mjs +0 -2
- package/mjs/utils/GracefulRecursion.d.mjs.map +0 -1
- package/mjs/utils/env.d.ts +0 -24
- package/mjs/utils/env.d.ts.map +0 -1
- package/mjs/utils/execAsync.d.ts +0 -37
- package/mjs/utils/execAsync.d.ts.map +0 -1
- package/mjs/utils/isError.d.ts +0 -11
- package/mjs/utils/isError.d.ts.map +0 -1
- package/mjs/utils/miscTypes.d.ts +0 -12
- package/mjs/utils/miscTypes.d.ts.map +0 -1
- package/mjs/utils/reflection/FunctionLike.d.mjs +0 -2
- package/mjs/utils/reflection/FunctionLike.d.mjs.map +0 -1
- package/mjs/utils/reflection/GetterDescriptor.d.mjs +0 -2
- package/mjs/utils/reflection/GetterDescriptor.d.mjs.map +0 -1
- package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mjs +0 -2
- package/mjs/utils/reflection/InstancePropertyDescriptorMap.d.mjs.map +0 -1
- package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mjs +0 -2
- package/mjs/utils/reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.mjs.map +0 -1
- package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mjs +0 -2
- package/mjs/utils/reflection/OwnGetterDescriptorMap.d.mjs.map +0 -1
- package/mjs/utils/reflection/OwnKeyOf.d.mjs +0 -2
- package/mjs/utils/reflection/OwnKeyOf.d.mjs.map +0 -1
- package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mjs +0 -2
- package/mjs/utils/reflection/OwnPropertyDescriptorMap.d.mjs.map +0 -1
- package/mjs/utils/reflection/PropertyDescriptorMap.d.mjs +0 -2
- package/mjs/utils/reflection/PropertyDescriptorMap.d.mjs.map +0 -1
- package/mjs/utils/reflection/filterForGetters.d.ts +0 -7
- package/mjs/utils/reflection/filterForGetters.d.ts.map +0 -1
- package/mjs/utils/reflection/getOwnPropertyDescriptors.d.ts +0 -22
- package/mjs/utils/reflection/getOwnPropertyDescriptors.d.ts.map +0 -1
- package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.ts +0 -56
- package/mjs/utils/reflection/getOwnPropertyDescriptorsRecursively.d.ts.map +0 -1
- package/mjs/utils/reflection/getPrototypeChainOf.d.ts +0 -16
- package/mjs/utils/reflection/getPrototypeChainOf.d.ts.map +0 -1
- package/mjs/utils/reflection/getPrototypeOf.d.ts +0 -8
- package/mjs/utils/reflection/getPrototypeOf.d.ts.map +0 -1
- package/mjs/utils/reflection/inheritance.d.ts +0 -180
- package/mjs/utils/reflection/inheritance.d.ts.map +0 -1
- package/mjs/utils/reflection/isConstructor.d.ts +0 -17
- package/mjs/utils/reflection/isConstructor.d.ts.map +0 -1
- package/mjs/utils/reflection/isGetterDescriptor.d.ts +0 -9
- package/mjs/utils/reflection/isGetterDescriptor.d.ts.map +0 -1
- package/mjs/utils/reflection/listOwnGetters.d.ts +0 -26
- package/mjs/utils/reflection/listOwnGetters.d.ts.map +0 -1
- package/mjs/utils/reflection.d.ts +0 -18
- package/mjs/utils/reflection.d.ts.map +0 -1
- package/mjs/utils/reflection.mjs.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BaseClassProto, ConstructorLike, InstanceTypeOrSelf, ProtoOrSuperClass, SuperClassLike, WithProto } from './inheritance.ts';
|
|
2
|
-
import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.ts';
|
|
3
|
-
import type { PropertyDescriptorMap } from './PropertyDescriptorMap.ts';
|
|
2
|
+
import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.d.ts';
|
|
3
|
+
import type { PropertyDescriptorMap } from './PropertyDescriptorMap.d.ts';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Variant of {@link InstancePropertyDescriptorMap} with a lesser constraint on {@link T}.
|
|
@@ -6,11 +6,11 @@ import type {
|
|
|
6
6
|
InstanceTypeOrSelf,
|
|
7
7
|
SuperClassLike,
|
|
8
8
|
WithProto,
|
|
9
|
-
} from './inheritance.
|
|
10
|
-
import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.
|
|
11
|
-
import type { OwnGetterDescriptorMap } from './OwnGetterDescriptorMap.
|
|
12
|
-
import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.
|
|
13
|
-
import type { PropertyDescriptorMap } from './PropertyDescriptorMap.
|
|
9
|
+
} from './inheritance.ts';
|
|
10
|
+
import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.d.ts';
|
|
11
|
+
import type { OwnGetterDescriptorMap } from './OwnGetterDescriptorMap.d.ts';
|
|
12
|
+
import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.d.ts';
|
|
13
|
+
import type { PropertyDescriptorMap } from './PropertyDescriptorMap.d.ts';
|
|
14
14
|
|
|
15
15
|
export function filterForGetters<
|
|
16
16
|
Class extends ClassLike<ConstructorConstraint<Class> & WithProto<SuperClassLike | typeof baseClassProto>>,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { InstanceOrStatic } from '../miscTypes.
|
|
2
|
-
import type { BaseClassProto, ClassLike, ConstructorConstraint, SuperClassLike, WithProto } from './inheritance.
|
|
3
|
-
import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.
|
|
4
|
-
import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.
|
|
1
|
+
import type { InstanceOrStatic } from '../miscTypes.ts';
|
|
2
|
+
import type { BaseClassProto, ClassLike, ConstructorConstraint, SuperClassLike, WithProto } from './inheritance.ts';
|
|
3
|
+
import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.d.ts';
|
|
4
|
+
import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.d.ts';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Get the property descriptors of the class or constructor similar to {@link Object.getOwnPropertyDescriptors}, but with more options--including recursion.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { Increment } from '../GracefulRecursion.
|
|
2
|
-
import type { InstanceOrStatic, Integer } from '../miscTypes.
|
|
3
|
-
import { getOwnPropertyDescriptors } from './getOwnPropertyDescriptors.
|
|
4
|
-
import { getPrototypesChainOf } from './getPrototypeChainOf.
|
|
1
|
+
import type { Increment } from '../GracefulRecursion.d.ts';
|
|
2
|
+
import type { InstanceOrStatic, Integer } from '../miscTypes.ts';
|
|
3
|
+
import { getOwnPropertyDescriptors } from './getOwnPropertyDescriptors.ts';
|
|
4
|
+
import { getPrototypesChainOf } from './getPrototypeChainOf.ts';
|
|
5
5
|
import type {
|
|
6
6
|
BaseClass,
|
|
7
7
|
BaseClassProto,
|
|
@@ -11,17 +11,17 @@ import type {
|
|
|
11
11
|
ProtoChainOfClass,
|
|
12
12
|
SuperClassLike,
|
|
13
13
|
WithProto,
|
|
14
|
-
} from './inheritance.
|
|
15
|
-
import type { InstanceTypeOrSelfPropertyDescriptorMap } from './InstanceTypeOrSelfPropertyDescriptorMap.
|
|
16
|
-
import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.
|
|
17
|
-
/* eslint-disable jsdoc/check-tag-names */
|
|
14
|
+
} from './inheritance.ts';
|
|
15
|
+
import type { InstanceTypeOrSelfPropertyDescriptorMap } from './InstanceTypeOrSelfPropertyDescriptorMap.d.ts';
|
|
16
|
+
import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.d.ts';
|
|
18
17
|
/**
|
|
19
18
|
* JSDoc type imports
|
|
20
|
-
* @typedef {import('./getPrototypeOf.js').getPrototypeOf} getPrototypeOf
|
|
21
|
-
* @typedef {import('./listOwnGetters.js').listOwnGetters} listOwnGetters
|
|
22
|
-
* @typedef {import('./InstancePropertyDescriptorMap.js').InstancePropertyDescriptorMap} InstancePropertyDescriptorMap
|
|
23
19
|
*/
|
|
24
|
-
/* eslint-
|
|
20
|
+
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
21
|
+
import type { getPrototypeOf as _getPrototypeOf } from './getPrototypeOf.ts';
|
|
22
|
+
import type { listOwnGetters as _listOwnGetters } from './listOwnGetters.ts';
|
|
23
|
+
import type { InstancePropertyDescriptorMap as _InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.d.ts';
|
|
24
|
+
/* eslint-enable @typescript-eslint/no-unused-vars */
|
|
25
25
|
|
|
26
26
|
/**
|
|
27
27
|
* A conditional wrapper for {@link InstanceTypeOrSelfPropertyDescriptorMap} and
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* eslint-disable jsdoc/no-defaults */
|
|
2
|
-
import type { TupleIndices } from '../miscTypes.
|
|
3
|
-
import { getPrototypeOf } from './getPrototypeOf.
|
|
2
|
+
import type { TupleIndices } from '../miscTypes.ts';
|
|
3
|
+
import { getPrototypeOf } from './getPrototypeOf.ts';
|
|
4
4
|
import {
|
|
5
5
|
baseClassProto,
|
|
6
6
|
type BaseClassProto,
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
type ProtoChainOfClassInstance,
|
|
11
11
|
type SuperClassLike,
|
|
12
12
|
type WithProto,
|
|
13
|
-
} from './inheritance.
|
|
14
|
-
import { isConstructor } from './isConstructor.
|
|
13
|
+
} from './inheritance.ts';
|
|
14
|
+
import { isConstructor } from './isConstructor.ts';
|
|
15
15
|
|
|
16
16
|
type ProtoChain<
|
|
17
17
|
Class extends ClassLike<ConstructorConstraint<Class> & WithProto<SuperClassLike | BaseClassProto>>,
|
|
@@ -46,7 +46,7 @@ export function getPrototypesChainOf<
|
|
|
46
46
|
let index: TupleIndices<typeof returnValue> = 0 as TupleIndices<typeof returnValue>;
|
|
47
47
|
|
|
48
48
|
while (baseClassProto !== current) {
|
|
49
|
-
parent = getPrototypeOf
|
|
49
|
+
parent = getPrototypeOf(current);
|
|
50
50
|
// current is a Class symbol/constructor. Object.getOwnPropertyDescriptors on current will include static properties.
|
|
51
51
|
if (!isConstructor(current))
|
|
52
52
|
break;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { Increment } from '../GracefulRecursion.
|
|
2
|
-
import type { Integer } from '../miscTypes.
|
|
3
|
-
import type { FunctionLike } from './FunctionLike.
|
|
4
|
-
import { getPrototypeOf } from './getPrototypeOf.
|
|
5
|
-
import type { PropertyDescriptorMap } from './PropertyDescriptorMap.
|
|
1
|
+
import type { Increment } from '../GracefulRecursion.d.ts';
|
|
2
|
+
import type { Integer } from '../miscTypes.ts';
|
|
3
|
+
import type { FunctionLike } from './FunctionLike.d.ts';
|
|
4
|
+
import { getPrototypeOf } from './getPrototypeOf.ts';
|
|
5
|
+
import type { PropertyDescriptorMap } from './PropertyDescriptorMap.d.ts';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* The `[[Prototype]]` (i.e. `__proto__`) of any base class.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { InstanceOrStatic } from '../miscTypes.
|
|
2
|
-
import { filterForGetters } from './filterForGetters.
|
|
3
|
-
import { getOwnPropertyDescriptors } from './getOwnPropertyDescriptors.
|
|
1
|
+
import type { InstanceOrStatic } from '../miscTypes.ts';
|
|
2
|
+
import { filterForGetters } from './filterForGetters.ts';
|
|
3
|
+
import { getOwnPropertyDescriptors } from './getOwnPropertyDescriptors.ts';
|
|
4
4
|
import type {
|
|
5
5
|
BaseClassProto,
|
|
6
6
|
ClassLike,
|
|
@@ -8,9 +8,9 @@ import type {
|
|
|
8
8
|
InstanceTypeOrSelf,
|
|
9
9
|
SuperClassLike,
|
|
10
10
|
WithProto,
|
|
11
|
-
} from './inheritance.
|
|
12
|
-
import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.
|
|
13
|
-
import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.
|
|
11
|
+
} from './inheritance.ts';
|
|
12
|
+
import type { InstancePropertyDescriptorMap } from './InstancePropertyDescriptorMap.d.ts';
|
|
13
|
+
import type { OwnPropertyDescriptorMap } from './OwnPropertyDescriptorMap.d.ts';
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Description placeholder
|
package/src/utils/reflection.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export type * from './reflection/FunctionLike.
|
|
2
|
-
export type * from './reflection/GetterDescriptor.
|
|
3
|
-
export type * from './reflection/InstancePropertyDescriptorMap.
|
|
4
|
-
export type * from './reflection/InstanceTypeOrSelfPropertyDescriptorMap.
|
|
5
|
-
export type * from './reflection/OwnGetterDescriptorMap.
|
|
6
|
-
export type * from './reflection/OwnKeyOf.
|
|
7
|
-
export type * from './reflection/OwnPropertyDescriptorMap.
|
|
8
|
-
export type * from './reflection/PropertyDescriptorMap.
|
|
1
|
+
export type * from './reflection/FunctionLike.d.ts';
|
|
2
|
+
export type * from './reflection/GetterDescriptor.d.ts';
|
|
3
|
+
export type * from './reflection/InstancePropertyDescriptorMap.d.ts';
|
|
4
|
+
export type * from './reflection/InstanceTypeOrSelfPropertyDescriptorMap.d.ts';
|
|
5
|
+
export type * from './reflection/OwnGetterDescriptorMap.d.ts';
|
|
6
|
+
export type * from './reflection/OwnKeyOf.d.ts';
|
|
7
|
+
export type * from './reflection/OwnPropertyDescriptorMap.d.ts';
|
|
8
|
+
export type * from './reflection/PropertyDescriptorMap.d.ts';
|
|
9
9
|
|
|
10
|
-
export * from './reflection/filterForGetters.
|
|
11
|
-
export * from './reflection/getOwnPropertyDescriptors.
|
|
12
|
-
export * from './reflection/getOwnPropertyDescriptorsRecursively.
|
|
13
|
-
export * from './reflection/getPrototypeChainOf.
|
|
14
|
-
export * from './reflection/getPrototypeOf.
|
|
15
|
-
export * from './reflection/inheritance.
|
|
16
|
-
export * from './reflection/isConstructor.
|
|
17
|
-
export * from './reflection/isGetterDescriptor.
|
|
18
|
-
export * from './reflection/listOwnGetters.
|
|
10
|
+
export * from './reflection/filterForGetters.ts';
|
|
11
|
+
export * from './reflection/getOwnPropertyDescriptors.ts';
|
|
12
|
+
export * from './reflection/getOwnPropertyDescriptorsRecursively.ts';
|
|
13
|
+
export * from './reflection/getPrototypeChainOf.ts';
|
|
14
|
+
export * from './reflection/getPrototypeOf.ts';
|
|
15
|
+
export * from './reflection/inheritance.ts';
|
|
16
|
+
export * from './reflection/isConstructor.ts';
|
|
17
|
+
export * from './reflection/isGetterDescriptor.ts';
|
|
18
|
+
export * from './reflection/listOwnGetters.ts';
|
package/tsconfig.base.json
CHANGED
|
@@ -25,13 +25,14 @@
|
|
|
25
25
|
"compileOnSave": true,
|
|
26
26
|
"extends": "@tsconfig/node24/tsconfig.json",
|
|
27
27
|
"compilerOptions": {
|
|
28
|
+
"allowImportingTsExtensions": true,
|
|
28
29
|
"composite": true,
|
|
29
30
|
"declarationMap": true,
|
|
30
31
|
"emitDeclarationOnly": true,
|
|
32
|
+
"esModuleInterop": false,
|
|
31
33
|
"forceConsistentCasingInFileNames": true,
|
|
32
34
|
"isolatedDeclarations": true,
|
|
33
35
|
"isolatedModules": true,
|
|
34
|
-
"module": "Node18",
|
|
35
36
|
"noEmitOnError": true,
|
|
36
37
|
"noErrorTruncation": true,
|
|
37
38
|
"noFallthroughCasesInSwitch": true,
|
|
@@ -42,7 +43,6 @@
|
|
|
42
43
|
"noUnusedLocals": true,
|
|
43
44
|
"noUnusedParameters": true,
|
|
44
45
|
"resolveJsonModule": true,
|
|
45
|
-
"skipLibCheck": true,
|
|
46
46
|
"sourceMap": true,
|
|
47
47
|
"verbatimModuleSyntax": true
|
|
48
48
|
},
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* https://stackoverflow.com/a/50022230/14894786
|
|
3
|
-
* licensed under CC BY-SA 4.0
|
|
4
|
-
* changes: add overrides, remove "as any", remove empty lines
|
|
5
|
-
*/
|
|
6
|
-
export declare class CaseInsensitiveMap<T, U> extends Map<T, U> {
|
|
7
|
-
delete(key: T): boolean;
|
|
8
|
-
get(key: T): U | undefined;
|
|
9
|
-
has(key: T): boolean;
|
|
10
|
-
set(key: T, value: U): this;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=CaseInsensitiveMap.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"CaseInsensitiveMap.d.ts","sourceRoot":"","sources":["../src/CaseInsensitiveMap.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,qBAAa,kBAAkB,CAAC,CAAC,EAAE,CAAC,CAAE,SAAQ,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;IAC5C,MAAM,CAAC,GAAG,EAAE,CAAC,GAAG,OAAO;IAOvB,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,GAAG,SAAS;IAO1B,GAAG,CAAC,GAAG,EAAE,CAAC,GAAG,OAAO;IAOpB,GAAG,CAAC,GAAG,EAAE,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI;CAMrC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { RuleConfigSeverity, UserConfig } from '@commitlint/types';
|
|
2
|
-
declare const disabled: RuleConfigSeverity.Disabled;
|
|
3
|
-
declare const commitlintConfig: UserConfig & {
|
|
4
|
-
extends: UserConfig['extends'] | ['@commitlint/config-conventional'];
|
|
5
|
-
rules: {
|
|
6
|
-
'body-max-line-length': [typeof disabled];
|
|
7
|
-
'footer-max-line-length': [typeof disabled];
|
|
8
|
-
'header-max-length': [typeof disabled];
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export default commitlintConfig;
|
|
12
|
-
//# sourceMappingURL=commitlintConfig.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commitlintConfig.d.ts","sourceRoot":"","sources":["../src/commitlintConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAIxE,QAAA,MAAM,QAAQ,EAAQ,kBAAkB,CAAC,QAAQ,CAAC;AAClD,QAAA,MAAM,gBAAgB,EAAE,UAAU,GAAG;IACnC,OAAO,EAAE,UAAU,CAAC,SAAS,CAAC,GAAG,CAAC,iCAAiC,CAAC,CAAC;IACrE,KAAK,EAAE;QACL,sBAAsB,EAAE,CAAC,OAAO,QAAQ,CAAC,CAAC;QAC1C,wBAAwB,EAAE,CAAC,OAAO,QAAQ,CAAC,CAAC;QAC5C,mBAAmB,EAAE,CAAC,OAAO,QAAQ,CAAC,CAAC;KACxC,CAAC;CAQH,CAAC;AAGF,eAAe,gBAAgB,CAAC"}
|
package/mjs/debug.d.ts
DELETED
package/mjs/debug.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"debug.d.ts","sourceRoot":"","sources":["../src/debug.ts"],"names":[],"mappings":"AACA,OAAuB,EAAE,KAAK,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEtD,QAAA,MAAM,MAAM,EAAoD,QAAQ,GAAG;IAAE,GAAG,EAAE,KAAK,CAAA;CAAE,CAAC;AAM1F,eAAe,MAAM,CAAC"}
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { Type } from 'arktype';
|
|
2
|
-
import type { MSBuildProject, MSBuildEvaluationOutput } from './MSBuildProject.js';
|
|
3
|
-
import type { NugetProjectProperties } from './NugetProjectProperties.js';
|
|
4
|
-
import { NugetRegistryInfo } from './NugetRegistryInfo.js';
|
|
5
|
-
import type { Default } from 'arktype/internal/attributes.ts';
|
|
6
|
-
export declare const DefaultGithubTokenEnvVars: readonly ['GH_TOKEN', 'GITHUB_TOKEN'];
|
|
7
|
-
export declare class GithubNugetRegistryInfo extends NugetRegistryInfo {
|
|
8
|
-
static readonly NUGET_PKG_GITHUB_COM = "https://nuget.pkg.github.com";
|
|
9
|
-
/**
|
|
10
|
-
* Creates an instance of GithubNugetRegistryInfo.
|
|
11
|
-
* @param opts The input type of {@link GHNRIOpts.from}
|
|
12
|
-
*/
|
|
13
|
-
constructor(opts: typeof GHNRIOpts.inferIn);
|
|
14
|
-
/**
|
|
15
|
-
* Returns `https://nuget.pkg.github.com/${GITHUB_REPOSITORY_OWNER}/index.json`
|
|
16
|
-
* or (if GITHUB_REPOSITORY_OWNER is not defined in {@link process.env} nor
|
|
17
|
-
* {@link process.cwd() $CWD}/.env) `undefined`.
|
|
18
|
-
* @returns If GITHUB_REPOSITORY_OWNER is defined, returns the GitHub Package Repository URL endpoint for NuGet pushes (--source).\
|
|
19
|
-
* Otherwise, returns `undefined`
|
|
20
|
-
*/
|
|
21
|
-
static getNugetGitHubUrl(): string | undefined;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* The default value of {@link GHNRIOpts.t.source `source`} is dependent on
|
|
25
|
-
* {@link GHNRI.getNugetGitHubUrl} and will default to an empty string if the
|
|
26
|
-
* environment variable `GITHUB_REPOSITORY_OWNER` is undefined!
|
|
27
|
-
*/
|
|
28
|
-
export declare const GHNRIOpts: Type<{
|
|
29
|
-
project: MSBuildProject | {
|
|
30
|
-
readonly Items: Readonly<Required<MSBuildEvaluationOutput>['Items']>;
|
|
31
|
-
readonly Properties: Readonly<NugetProjectProperties>;
|
|
32
|
-
readonly Targets: readonly string[];
|
|
33
|
-
readonly TargetResults: Required<MSBuildEvaluationOutput>['TargetResults'][];
|
|
34
|
-
};
|
|
35
|
-
source: Default<string, string>;
|
|
36
|
-
tokenEnvVars: Default<readonly string[], readonly ['GH_TOKEN', 'GITHUB_TOKEN']>;
|
|
37
|
-
}>;
|
|
38
|
-
//# sourceMappingURL=GithubNugetRegistryInfo.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"GithubNugetRegistryInfo.d.ts","sourceRoot":"","sources":["../../src/dotnet/GithubNugetRegistryInfo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,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-
import type { Out, Type } from 'arktype';
|
|
3
|
-
import type { Default } from 'arktype/internal/attributes.ts';
|
|
4
|
-
import type { MSBuildProject, MSBuildEvaluationOutput } from './MSBuildProject.js';
|
|
5
|
-
import type { NugetProjectProperties } from './NugetProjectProperties.js';
|
|
6
|
-
export declare class GitlabNugetRegistryInfo extends NugetRegistryInfo {
|
|
7
|
-
/**
|
|
8
|
-
* The GitLab API v4 root URL.
|
|
9
|
-
* @returns The value of the environment variable `CI_API_V4_URL`.
|
|
10
|
-
* If that's `undefined`, 'https://gitlab.com/api/v4' is returned, instead.
|
|
11
|
-
*/
|
|
12
|
-
static get CI_API_V4_URL(): string;
|
|
13
|
-
/**
|
|
14
|
-
* CI_PROJECT_ID - If you want to publish to your GitLab server, this needs to be set to the Id of the project you want to publish to. When running in GitLab CI this is already set to the project the pipeline runs in by GitLab.
|
|
15
|
-
* This method checks the contents of your `.env` file, if present.
|
|
16
|
-
* @returns The value of the environment variable `CI_PROJECT_ID` or `undefined`.
|
|
17
|
-
* @todo add URI encoded project pathname as alternative e.g. 'halospv3%2FHCE.Shared' in 'https://gitlab.com/api/v4/projects/halospv3%2FHCE.Shared'
|
|
18
|
-
*/
|
|
19
|
-
static get projectId(): string | undefined;
|
|
20
|
-
/**
|
|
21
|
-
* CI_PROJECT_NAMESPACE_ID
|
|
22
|
-
* This method checks the contents of your `.env` file, if present.
|
|
23
|
-
* @returns The value of the environment variable 'CI_PROJECT_NAMESPACE_ID' or `undefined`.
|
|
24
|
-
*/
|
|
25
|
-
static get ownerId(): string | undefined;
|
|
26
|
-
static readonly DefaultGitlabTokenEnvVars: readonly ['GL_TOKEN', 'GITLAB_TOKEN', 'CI_JOB_TOKEN'];
|
|
27
|
-
/**
|
|
28
|
-
* Creates an instance of GitlabNugetRegistryInfo.
|
|
29
|
-
* @param opts The input type of {@link GLNRIOpts.from}
|
|
30
|
-
*/
|
|
31
|
-
constructor(opts: typeof GLNRIOpts.inferIn);
|
|
32
|
-
/**
|
|
33
|
-
* Get the GitLab Nuget API for your project url as seen in https://docs.gitlab.com/ee/user/packages/nuget_repository/index.html#publish-a-nuget-package-by-using-cicd
|
|
34
|
-
* ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/nuget/index.json
|
|
35
|
-
* @returns If {@link this.projectId} is a string, a string formatted like
|
|
36
|
-
* `${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/nuget/index.json`.
|
|
37
|
-
* Else, {@link Error}.
|
|
38
|
-
*/
|
|
39
|
-
static get projectUrl(): string | Error;
|
|
40
|
-
/**
|
|
41
|
-
* ${CI_API_V4_URL}/groups/${CI_PROJECT_NAMESPACE_ID}/-/packages/nuget/index.json
|
|
42
|
-
* @returns If {@link ownerId} is a string, then a string formatted like
|
|
43
|
-
* `${CI_API_V4_URL}/groups/${CI_PROJECT_NAMESPACE_ID}/-/packages/nuget/index.json`.
|
|
44
|
-
* Else, {@link Error}.
|
|
45
|
-
*/
|
|
46
|
-
static get groupUrl(): string | Error;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
* The Arktype definition for {@link GitlabNugetRegistryInfo}'s constructor parameter. Construct an object of this type by calling {@link GLNRIOpts.from}
|
|
50
|
-
*/
|
|
51
|
-
export declare const GLNRIOpts: Type<{
|
|
52
|
-
project: MSBuildProject | {
|
|
53
|
-
readonly Items: Readonly<Required<MSBuildEvaluationOutput>['Items']>;
|
|
54
|
-
readonly Properties: Readonly<NugetProjectProperties>;
|
|
55
|
-
readonly Targets: readonly string[];
|
|
56
|
-
readonly TargetResults: Required<MSBuildEvaluationOutput>['TargetResults'][];
|
|
57
|
-
};
|
|
58
|
-
tokenEnvVars: Default<readonly string[], readonly ['GL_TOKEN', 'GITLAB_TOKEN', 'CI_JOB_TOKEN']>;
|
|
59
|
-
source: (In: Default<string | Error, string | Error>) => Out<string | Error>;
|
|
60
|
-
}>;
|
|
61
|
-
//# sourceMappingURL=GitlabNugetRegistryInfo.d.ts.map
|
|
@@ -1 +0,0 @@
|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