New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

isotropy-ast-analyzer-keyvaluedb

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

isotropy-ast-analyzer-keyvaluedb - npm Package Compare versions

Comparing version 0.0.7 to 0.0.9

2

dist/schemas/collection.js

@@ -27,3 +27,3 @@ "use strict";

database: database
} : new Error("Could not find configuration for key value database " + result.value.collection + ".");
} : new Fault("Could not find isotropy plugin configuration for KeyValueDB " + result.value.collection + ".");
}() : result;

@@ -30,0 +30,0 @@ };

@@ -60,3 +60,3 @@ "use strict";

return function () {
return _isotropyAnalyzerUtils.arrowFunctions.isMemberExpressionDefinedOnParameter(obj) ? new _chimpanzee.Match(obj) : new Error("Expression must be defined on the arrow function parameter.");
return _isotropyAnalyzerUtils.arrowFunctions.isMemberExpressionDefinedOnParameter(obj) ? new _chimpanzee.Match(obj) : new _chimpanzee.Fault("Expression must be defined on the arrow function parameter.");
};

@@ -63,0 +63,0 @@ }, { selector: "path" }),

@@ -9,2 +9,4 @@ "use strict";

var _slicedToArray = function () { function sliceIterator(arr, i) { var _arr = []; var _n = true; var _d = false; var _e = undefined; try { for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) { _arr.push(_s.value); if (i && _arr.length === i) break; } } catch (err) { _d = true; _e = err; } finally { try { if (!_n && _i["return"]) _i["return"](); } finally { if (_d) throw _e; } } return _arr; } return function (arr, i) { if (Array.isArray(arr)) { return arr; } else if (Symbol.iterator in Object(arr)) { return sliceIterator(arr, i); } else { throw new TypeError("Invalid attempt to destructure non-iterable instance"); } }; }();
exports.default = function (state, analysisState) {

@@ -49,21 +51,26 @@ var schema = {

var binaryExpression = (0, _isotropyAnalyzerUtils.composite)({
type: "BinaryExpression",
left: (0, _chimpanzee.wrap)(function (obj) {
return function () {
return _isotropyAnalyzerUtils.arrowFunctions.isMemberExpressionDefinedOnParameter(obj) ? new _chimpanzee.Match(obj) : new _chimpanzee.Error("Expression must be defined on the arrow function parameter.");
};
}, { selector: "path" }),
operator: "===",
right: (0, _chimpanzee.capture)("key")
}, {
build: function build(obj) {
return function () {
return function (result) {
return result instanceof _chimpanzee.Match ? result.value.key : result;
var binaryExpression = (0, _chimpanzee.any)((0, _isotropyAnalyzerUtils.permute)([(0, _chimpanzee.wrap)(function (obj) {
return function () {
return _isotropyAnalyzerUtils.arrowFunctions.isMemberExpressionDefinedOnParameter(obj) ? new _chimpanzee.Match(obj) : new _chimpanzee.Skip("Expression must be defined on the arrow function parameter.");
};
}, { selector: "path" }), (0, _chimpanzee.capture)("key")]).map(function (_ref) {
var _ref2 = _slicedToArray(_ref, 2),
left = _ref2[0],
right = _ref2[1];
return (0, _isotropyAnalyzerUtils.composite)({
type: "BinaryExpression",
left: left,
operator: "===",
right: right
}, {
build: function build(obj) {
return function () {
return function (result) {
return result instanceof _chimpanzee.Match ? result.value.key : result;
};
};
};
},
selector: "path"
});
}
});
}), { selector: "path" });
//# sourceMappingURL=get.js.map
{
"name": "isotropy-ast-analyzer-keyvaluedb",
"version": "0.0.7",
"version": "0.0.9",
"author": "Isotropy Team<isotropy@agilehead.com>",

@@ -18,3 +18,3 @@ "contributors": [

"isotropy-analyzer-errors": "^0.0.5",
"isotropy-analyzer-utils": "^0.0.1",
"isotropy-analyzer-utils": "^0.0.2",
"lazily": "^0.0.17",

@@ -21,0 +21,0 @@ "ramda": "^0.23.0"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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