Comparing version 4.0.0 to 4.0.1
@@ -30,3 +30,3 @@ import { ASN1Element, ASN1TagClass, ASN1Construction, BIT_STRING, INTEGER, OBJECT_IDENTIFIER, ObjectDescriptor, REAL, RELATIVE_OID, RELATIVE_OID_IRI, TIME, TIME_OF_DAY, DURATION, DATE, DATE_TIME, EXTERNAL, EMBEDDED_PDV, CharacterString, NULL, ENUMERATED, BOOLEAN, INSTANCE_OF, OID_IRI, OCTET_STRING, BMPString, VisibleString, VideotexString, TeletexString, T61String, UniversalString, GeneralString, GeneralizedTime, UTCTime, PrintableString, GraphicString, IA5String, ISO646String, NumericString, UTF8String, SEQUENCE, SEQUENCE_OF, SET, SET_OF } from "./index"; | ||
export declare function _decode_explicit<T>(decoderGetter: () => (el: ASN1Element) => T): ASN1Decoder<T>; | ||
export declare function _encode_implicit(class_: ASN1TagClass | undefined, tag: number | undefined, encoderGetter: () => ASN1Encoder<any>): ASN1Encoder<any>; | ||
export declare function _encode_implicit(class_: ASN1TagClass | undefined, tag: number | undefined, encoderGetter: () => ASN1Encoder<any>, outer: ASN1Encoder<any>): ASN1Encoder<any>; | ||
export declare function _decode_implicit<T>(decoderGetter: () => (el: ASN1Element) => T): ASN1Decoder<T>; | ||
@@ -33,0 +33,0 @@ export declare function _tagClass(class_: ASN1TagClass, encoderGetter: () => () => ASN1Element): ASN1Element; |
@@ -76,3 +76,3 @@ "use strict"; | ||
exports._decode_explicit = _decode_explicit; | ||
function _encode_implicit(class_, tag, encoderGetter) { | ||
function _encode_implicit(class_, tag, encoderGetter, outer) { | ||
return function (value, elGetter) { | ||
@@ -79,0 +79,0 @@ const ret = encoderGetter()(value, elGetter); |
@@ -15,17 +15,17 @@ { | ||
"devDependencies": { | ||
"@babel/core": "^7.11.6", | ||
"@babel/preset-env": "^7.11.5", | ||
"@babel/preset-typescript": "^7.10.4", | ||
"@types/node": "^14.11.8", | ||
"@typescript-eslint/eslint-plugin": "^4.4.1", | ||
"@typescript-eslint/parser": "^4.4.1", | ||
"babel-jest": "^26.5.2", | ||
"@babel/core": "^7.12.3", | ||
"@babel/preset-env": "^7.12.1", | ||
"@babel/preset-typescript": "^7.12.1", | ||
"@types/node": "^14.14.0", | ||
"@typescript-eslint/eslint-plugin": "^4.5.0", | ||
"@typescript-eslint/parser": "^4.5.0", | ||
"babel-jest": "^26.6.0", | ||
"eslint": "^7.11.0", | ||
"jest": "^26.5.3", | ||
"jest": "^26.6.0", | ||
"jest-junit": "^12.0.0", | ||
"npm-check-updates": "^9.0.4", | ||
"ts-loader": "^8.0.5", | ||
"npm-check-updates": "^9.1.2", | ||
"ts-loader": "^8.0.6", | ||
"typescript": "^4.0.3", | ||
"webpack": "^5.1.0", | ||
"webpack-cli": "^4.0.0" | ||
"webpack": "^5.1.3", | ||
"webpack-cli": "^4.1.0" | ||
}, | ||
@@ -67,3 +67,3 @@ "directories": { | ||
"types": "./dist/node/index.d.ts", | ||
"version": "4.0.0" | ||
"version": "4.0.1" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
638145