Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@ridi/parser-core

Package Overview
Dependencies
Maintainers
12
Versions
70
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ridi/parser-core - npm Package Compare versions

Comparing version 0.5.3 to 0.5.4

lib/AesCryptor.js

10

lib/CryptoProvider.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc