lakutata 0.0.5-beta.7 → 0.0.5-beta.8
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/build/cjs/Lakutata.cjs
CHANGED
|
@@ -55335,7 +55335,7 @@ var Application = class extends Module {
|
|
|
55335
55335
|
* @param options
|
|
55336
55336
|
*/
|
|
55337
55337
|
static async run(options) {
|
|
55338
|
-
console.log(
|
|
55338
|
+
console.log(typeof import.meta);
|
|
55339
55339
|
options = await ApplicationOptions.validateAsync(options);
|
|
55340
55340
|
process.env.appId = options.id;
|
|
55341
55341
|
process.env.appName = options.name;
|
|
@@ -59585,6 +59585,9 @@ var SM2 = (_class49 = class extends AsymmetricEncryption {constructor(...args30)
|
|
|
59585
59585
|
}
|
|
59586
59586
|
}, _class49);
|
|
59587
59587
|
|
|
59588
|
+
// src/Lakutata.ts
|
|
59589
|
+
process.env.RUNTIME = typeof __dirname !== "string" || typeof __filename !== "string" ? "ESM" : "CJS";
|
|
59590
|
+
|
|
59588
59591
|
|
|
59589
59592
|
|
|
59590
59593
|
|
package/build/cjs/Lakutata.d.cts
CHANGED
|
@@ -6251,4 +6251,12 @@ declare class SM2 extends AsymmetricEncryption {
|
|
|
6251
6251
|
static loadPrivateKey(inp: string | PathLike, options?: SM2Options): Promise<AsymmetricEncryptionPrivate>;
|
|
6252
6252
|
}
|
|
6253
6253
|
|
|
6254
|
+
declare global {
|
|
6255
|
+
namespace NodeJS {
|
|
6256
|
+
interface ProcessEnv {
|
|
6257
|
+
RUNTIME: 'ESM' | 'CJS';
|
|
6258
|
+
}
|
|
6259
|
+
}
|
|
6260
|
+
}
|
|
6261
|
+
|
|
6254
6262
|
export { AES128, AES192, AES256, ARIA128, ARIA192, ARIA256, Accept, Action, AddRuleOptions, AlternativesSchema, Angle, AnySchema, ApparentPower, Application, ApplicationOptions, Area, ArraySchema, ArraySortOptions, ArrayToSet, ArrayUniqueOptions, As, AsymmetricDecryptException, AsymmetricEncryptException, AsymmetricEncryption, AsymmetricSignException, AsymmetricVerifyException, AsyncFunction, AsyncValidationOptions, Base64Options, BaseObject, BaseValidationOptions, BaseValidator, BasicType, BinarySchema, BooleanSchema, CAMELLIA128, CAMELLIA192, CAMELLIA256, Cache, CacheConfiguration, CacheProvisionOptions, CoerceFunction, CoerceObject, CoerceResult, ComparatorFunction, CompileOptions, Component, Configurable, ConfigurableOptions, ConfigureObjectProperties, Container, Context, Controller, ControllerActionMapItem, ConvertToIterable, ConvertToStream, CreateErrorOptions, Current, CustomHelpers, CustomValidator, DES, DTO, DataUriOptions, DateSchema, Delay, DependencyInjectionException, DependencyOptions, Description, Digital, Distance, DomainOptions, DuplicateControllerActionPatternException, DynamicRegisterControllerNotAllowException, EmailOptions, Energy, ErrorFormattingOptions, ErrorReport, ErrorValidationOptions, Exception, Expect, Extension, ExtensionBoundSchema, ExtensionFlag, ExtensionRule, ExtensionTerm, ExtensionTermManifest, ExternalHelpers, ExternalValidationFunction, Formatter, Frequency, FunctionSchema, GetRuleOptions, GuidOptions, GuidVersions, HexOptions, HierarchySeparatorOptions, HmacMD5, HmacRIPEMD160, HmacSHA1, HmacSHA224, HmacSHA256, HmacSHA3, HmacSHA384, HmacSHA3_224, HmacSHA3_256, HmacSHA3_384, HmacSHA3_512, HmacSHA512, HmacSM3, IConstructor, ILogger, IPatRun, ISortArrayOptions, ISortObjectOptions, IndexSignature, Inject, InjectApp, InjectModule, InjectionProperties, Interval, InvalidAsymmetricEncryptKeyPairException, InvalidAsymmetricEncryptPrivateKeyException, InvalidAsymmetricEncryptPublicKeyException, InvalidConfigurableValueException, InvalidDTOValueException, InvalidGlobStringException, InvalidMethodAcceptException, InvalidMethodReturnException, InvalidSymmetricCipherIVLengthException, InvalidSymmetricCipherKeyLengthException, InvalidValueException, IpOptions, IsEqual, IsGlobString, IsNonPrimitiveSubsetUnion, IsObjectInitialized, IsPath, IsPrimitiveSubset, IsSchemaOptions, IsUnion, LanguageMessageTemplate, LanguageMessages, Lifetime, LinkSchema, LoadComponentOptions, LoadEntryClassOptions, LoadEntryCommonOptions, LoadModuleOptions, Logger, MD5, Mass, MergeArray, MergeMap, MergeSet, MethodNotFoundException, Model, ModifyOptions, Module, ModuleOptions, MutateRegisterOptions, NoAsymmetricEncryptPrivateKeyException, NoAsymmetricEncryptPublicKeyException, NoMatchedControllerActionPatternException, NonceStr, NotSupportCipherException, NotSupportHashException, NullableType, NumberSchema, ObjectPatternOptions, ObjectPropertiesSchema, ObjectSchema, Pace, ParentConstructor, PartialSchemaMap, PartsPer, Power, PresenceMode, Pressure, RIPEMD160, RSA, RSAKeyPairOptions, RSAOptions, RandomString, ReactiveEnergy, ReactivePower, Reference, ReferenceOptions, RenameOptions, Return, RuleArgs, RuleMethod, RuleOptions, SHA1, SHA224, SHA256, SHA3, SHA384, SHA3_224, SHA3_256, SHA3_384, SHA3_512, SHA512, SM2, SM2KeyPairOptions, SM2Options, SM3, Schema, SchemaFunction, SchemaInternals, SchemaLike, SchemaLikeWithoutArray, SchemaMap, Scoped, SetFlagOptions, SetToArray, Singleton, SortArray, SortObject, Speed, State, StreamHmacMD5, StreamHmacRIPEMD160, StreamHmacSHA1, StreamHmacSHA224, StreamHmacSHA256, StreamHmacSHA3, StreamHmacSHA384, StreamHmacSHA3_224, StreamHmacSHA3_256, StreamHmacSHA3_384, StreamHmacSHA3_512, StreamHmacSHA512, StreamHmacSM3, StreamMD5, StreamRIPEMD160, StreamSHA1, StreamSHA224, StreamSHA256, StreamSHA3, StreamSHA384, StreamSHA3_224, StreamSHA3_256, StreamSHA3_384, StreamSHA3_512, StreamSHA512, StreamSM3, StrictSchemaMap, StringRegexOptions, StringSchema, SwitchCases, SwitchDefault, SymbolSchema, SymmetricDecryptException, SymmetricEncryptException, SymmetricEncryption, Temperature, ThrowIntoBlackHole, Time, TimeInput, TimeObject, TopLevelDomainOptions, Transient, TripleDES, Types, UniqueArray, UnitOfTime, UriOptions, ValidationError, ValidationErrorFunction, ValidationErrorItem, ValidationOptions, ValidationResult, ValidationWarning, Validator, Voltage, Volume, VolumeFlowRate, WhenOptions, WhenSchemaOptions, isPromise };
|
package/build/esm/Lakutata.d.ts
CHANGED
|
@@ -6251,4 +6251,12 @@ declare class SM2 extends AsymmetricEncryption {
|
|
|
6251
6251
|
static loadPrivateKey(inp: string | PathLike, options?: SM2Options): Promise<AsymmetricEncryptionPrivate>;
|
|
6252
6252
|
}
|
|
6253
6253
|
|
|
6254
|
+
declare global {
|
|
6255
|
+
namespace NodeJS {
|
|
6256
|
+
interface ProcessEnv {
|
|
6257
|
+
RUNTIME: 'ESM' | 'CJS';
|
|
6258
|
+
}
|
|
6259
|
+
}
|
|
6260
|
+
}
|
|
6261
|
+
|
|
6254
6262
|
export { AES128, AES192, AES256, ARIA128, ARIA192, ARIA256, Accept, Action, AddRuleOptions, AlternativesSchema, Angle, AnySchema, ApparentPower, Application, ApplicationOptions, Area, ArraySchema, ArraySortOptions, ArrayToSet, ArrayUniqueOptions, As, AsymmetricDecryptException, AsymmetricEncryptException, AsymmetricEncryption, AsymmetricSignException, AsymmetricVerifyException, AsyncFunction, AsyncValidationOptions, Base64Options, BaseObject, BaseValidationOptions, BaseValidator, BasicType, BinarySchema, BooleanSchema, CAMELLIA128, CAMELLIA192, CAMELLIA256, Cache, CacheConfiguration, CacheProvisionOptions, CoerceFunction, CoerceObject, CoerceResult, ComparatorFunction, CompileOptions, Component, Configurable, ConfigurableOptions, ConfigureObjectProperties, Container, Context, Controller, ControllerActionMapItem, ConvertToIterable, ConvertToStream, CreateErrorOptions, Current, CustomHelpers, CustomValidator, DES, DTO, DataUriOptions, DateSchema, Delay, DependencyInjectionException, DependencyOptions, Description, Digital, Distance, DomainOptions, DuplicateControllerActionPatternException, DynamicRegisterControllerNotAllowException, EmailOptions, Energy, ErrorFormattingOptions, ErrorReport, ErrorValidationOptions, Exception, Expect, Extension, ExtensionBoundSchema, ExtensionFlag, ExtensionRule, ExtensionTerm, ExtensionTermManifest, ExternalHelpers, ExternalValidationFunction, Formatter, Frequency, FunctionSchema, GetRuleOptions, GuidOptions, GuidVersions, HexOptions, HierarchySeparatorOptions, HmacMD5, HmacRIPEMD160, HmacSHA1, HmacSHA224, HmacSHA256, HmacSHA3, HmacSHA384, HmacSHA3_224, HmacSHA3_256, HmacSHA3_384, HmacSHA3_512, HmacSHA512, HmacSM3, IConstructor, ILogger, IPatRun, ISortArrayOptions, ISortObjectOptions, IndexSignature, Inject, InjectApp, InjectModule, InjectionProperties, Interval, InvalidAsymmetricEncryptKeyPairException, InvalidAsymmetricEncryptPrivateKeyException, InvalidAsymmetricEncryptPublicKeyException, InvalidConfigurableValueException, InvalidDTOValueException, InvalidGlobStringException, InvalidMethodAcceptException, InvalidMethodReturnException, InvalidSymmetricCipherIVLengthException, InvalidSymmetricCipherKeyLengthException, InvalidValueException, IpOptions, IsEqual, IsGlobString, IsNonPrimitiveSubsetUnion, IsObjectInitialized, IsPath, IsPrimitiveSubset, IsSchemaOptions, IsUnion, LanguageMessageTemplate, LanguageMessages, Lifetime, LinkSchema, LoadComponentOptions, LoadEntryClassOptions, LoadEntryCommonOptions, LoadModuleOptions, Logger, MD5, Mass, MergeArray, MergeMap, MergeSet, MethodNotFoundException, Model, ModifyOptions, Module, ModuleOptions, MutateRegisterOptions, NoAsymmetricEncryptPrivateKeyException, NoAsymmetricEncryptPublicKeyException, NoMatchedControllerActionPatternException, NonceStr, NotSupportCipherException, NotSupportHashException, NullableType, NumberSchema, ObjectPatternOptions, ObjectPropertiesSchema, ObjectSchema, Pace, ParentConstructor, PartialSchemaMap, PartsPer, Power, PresenceMode, Pressure, RIPEMD160, RSA, RSAKeyPairOptions, RSAOptions, RandomString, ReactiveEnergy, ReactivePower, Reference, ReferenceOptions, RenameOptions, Return, RuleArgs, RuleMethod, RuleOptions, SHA1, SHA224, SHA256, SHA3, SHA384, SHA3_224, SHA3_256, SHA3_384, SHA3_512, SHA512, SM2, SM2KeyPairOptions, SM2Options, SM3, Schema, SchemaFunction, SchemaInternals, SchemaLike, SchemaLikeWithoutArray, SchemaMap, Scoped, SetFlagOptions, SetToArray, Singleton, SortArray, SortObject, Speed, State, StreamHmacMD5, StreamHmacRIPEMD160, StreamHmacSHA1, StreamHmacSHA224, StreamHmacSHA256, StreamHmacSHA3, StreamHmacSHA384, StreamHmacSHA3_224, StreamHmacSHA3_256, StreamHmacSHA3_384, StreamHmacSHA3_512, StreamHmacSHA512, StreamHmacSM3, StreamMD5, StreamRIPEMD160, StreamSHA1, StreamSHA224, StreamSHA256, StreamSHA3, StreamSHA384, StreamSHA3_224, StreamSHA3_256, StreamSHA3_384, StreamSHA3_512, StreamSHA512, StreamSM3, StrictSchemaMap, StringRegexOptions, StringSchema, SwitchCases, SwitchDefault, SymbolSchema, SymmetricDecryptException, SymmetricEncryptException, SymmetricEncryption, Temperature, ThrowIntoBlackHole, Time, TimeInput, TimeObject, TopLevelDomainOptions, Transient, TripleDES, Types, UniqueArray, UnitOfTime, UriOptions, ValidationError, ValidationErrorFunction, ValidationErrorItem, ValidationOptions, ValidationResult, ValidationWarning, Validator, Voltage, Volume, VolumeFlowRate, WhenOptions, WhenSchemaOptions, isPromise };
|
package/build/esm/Lakutata.js
CHANGED
|
@@ -55336,7 +55336,7 @@ var Application = class extends Module {
|
|
|
55336
55336
|
* @param options
|
|
55337
55337
|
*/
|
|
55338
55338
|
static async run(options) {
|
|
55339
|
-
console.log(
|
|
55339
|
+
console.log(typeof import.meta);
|
|
55340
55340
|
options = await ApplicationOptions.validateAsync(options);
|
|
55341
55341
|
process.env.appId = options.id;
|
|
55342
55342
|
process.env.appName = options.name;
|
|
@@ -59585,6 +59585,9 @@ var SM2 = class extends AsymmetricEncryption {
|
|
|
59585
59585
|
return super.loadPrivateKey(inp, options);
|
|
59586
59586
|
}
|
|
59587
59587
|
};
|
|
59588
|
+
|
|
59589
|
+
// src/Lakutata.ts
|
|
59590
|
+
process.env.RUNTIME = typeof __dirname !== "string" || typeof __filename !== "string" ? "ESM" : "CJS";
|
|
59588
59591
|
export {
|
|
59589
59592
|
AES128,
|
|
59590
59593
|
AES192,
|