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

@kfarranger/mapping-utils

Package Overview
Dependencies
Maintainers
5
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kfarranger/mapping-utils - npm Package Compare versions

Comparing version 1.13.0 to 1.13.1

23

dist/resolveSets.js

@@ -229,3 +229,14 @@ "use strict";

es = _ref5.es, setId = _ref5.setId, newTag = _ref5.newTag, subAction = _ref5.subAction, userId = _ref5.userId, callback = _ref5.callback;
_context2.next = 3;
if ((0, _sets.isTagValid)(newTag)) {
_context2.next = 3;
break;
}
return _context2.abrupt("return", {
updatedResults: 0
});
case 3:
_context2.next = 5;
return es.updateByQuery({

@@ -262,11 +273,11 @@ index: _middleware.CONSTANTS.ES_ARRANGER_SET_INDEX,

case 3:
case 5:
esResponse = _context2.sent;
if (!(0, _lodash.isFunction)(callback)) {
_context2.next = 7;
_context2.next = 9;
break;
}
_context2.next = 7;
_context2.next = 9;
return callback({

@@ -282,3 +293,3 @@ actionType: ActionTypes.UPDATE,

case 7:
case 9:
return _context2.abrupt("return", {

@@ -288,3 +299,3 @@ updatedResults: esResponse.updated

case 8:
case 10:
case "end":

@@ -291,0 +302,0 @@ return _context2.stop();

{
"name": "@kfarranger/mapping-utils",
"version": "1.13.0",
"version": "1.13.1",
"description": "Transform Elasticsearch mappings",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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