@ridi/parser-core
Advanced tools
Comparing version 0.5.3 to 0.5.4
@@ -37,6 +37,6 @@ 'use strict'; | ||
/** | ||
* Create or reuse Cryptor by condition | ||
* Create or reuse AesCryptor by condition | ||
* @param {string} filePath | ||
* @param {string} purpose | ||
* @returns {Cryptor} | ||
* @returns {AesCryptor} | ||
*/ | ||
@@ -49,5 +49,5 @@ | ||
// if (condition) { | ||
// return new Cryptor(...); | ||
// return new AesCryptor(...); | ||
// } else { | ||
// return new Cryptor(...); | ||
// return new AesCryptor(...); | ||
// } | ||
@@ -69,3 +69,3 @@ (0, _errors.mustOverride)(); | ||
// const cryptor = this.getCryptor(filePath, status); | ||
// const padding = Cryptor.Padding.PKCS7 | ||
// const padding = AesCryptor.Padding.PKCS7 | ||
// if (condition1) { | ||
@@ -72,0 +72,0 @@ // return cryptor.encrypt(data, padding) |
@@ -6,9 +6,9 @@ 'use strict'; | ||
}); | ||
exports.openZip = exports.validateOptions = exports.isUrl = exports.isString = exports.isObject = exports.isFunc = exports.isExists = exports.isBool = exports.isArray = exports.getType = exports.stringContains = exports.readEntries = exports.getPathes = exports.safePathJoin = exports.safePath = exports.safeDirname = exports.Parser = exports.parseBool = exports.mergeObjects = exports.LogLevel = exports.Logger = exports.mustOverride = exports.createError = exports.Errors = exports.CryptoProvider = exports.Cryptor = exports.writeCacheFile = exports.readCacheFile = exports.removeAllCacheFiles = exports.removeCacheFile = exports.getCachePath = undefined; | ||
exports.openZip = exports.validateOptions = exports.isUrl = exports.isString = exports.isObject = exports.isFunc = exports.isExists = exports.isBool = exports.isArray = exports.getType = exports.stringContains = exports.readEntries = exports.getPathes = exports.safePathJoin = exports.safePath = exports.safeDirname = exports.Parser = exports.parseBool = exports.mergeObjects = exports.LogLevel = exports.Logger = exports.mustOverride = exports.createError = exports.Errors = exports.CryptoProvider = exports.AesCryptor = exports.writeCacheFile = exports.readCacheFile = exports.removeAllCacheFiles = exports.removeCacheFile = exports.getCachePath = undefined; | ||
var _cacheFile = require('./cacheFile'); | ||
var _Cryptor = require('./Cryptor'); | ||
var _AesCryptor = require('./AesCryptor'); | ||
var _Cryptor2 = _interopRequireDefault(_Cryptor); | ||
var _AesCryptor2 = _interopRequireDefault(_AesCryptor); | ||
@@ -66,3 +66,3 @@ var _CryptoProvider = require('./CryptoProvider'); | ||
exports.writeCacheFile = _cacheFile.writeCacheFile; | ||
exports.Cryptor = _Cryptor2.default; | ||
exports.AesCryptor = _AesCryptor2.default; | ||
exports.CryptoProvider = _CryptoProvider2.default; | ||
@@ -69,0 +69,0 @@ exports.Errors = _errors2.default; |
{ | ||
"name": "@ridi/parser-core", | ||
"version": "0.5.3", | ||
"version": "0.5.4", | ||
"description": "Utilities for parsers", | ||
@@ -5,0 +5,0 @@ "author": { |
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
72439