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

@everymundo/data-integration-framework

Package Overview
Dependencies
Maintainers
26
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@everymundo/data-integration-framework - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

17

bin/query-one.js

@@ -18,18 +18,5 @@ #!/usr/bin/env node

if (validArgs.length === 1) return getRouteInfoFromPattern(validArgs[0])
return getRouteInfoFromMultipleArgs(...validArgs)
return validArgs.join(',')
}
const getRouteInfoFromMultipleArgs = (officeId, commercialFamily, airId, curc) => `${airId}:${curc}:${officeId},${commercialFamily}`
const getRouteInfoFromPattern = (input) => {
const match = ('' + input).match(INPUT_REGEXP)
if (match) {
const [orig, dest] = match
return `${orig},${dest}`
}
}
const queryOne = () => {

@@ -43,3 +30,3 @@ logr.raw('--------------------\n')

assert(INPUT_REGEXP.test(routeInfo), `'${routeInfo}' does't match OFFICEID:commercialFamily:ORIG,DEST and the regexp '${INPUT_REGEXP}'`)
assert(INPUT_REGEXP.test(routeInfo), `'${routeInfo}' does't match the regexp '${INPUT_REGEXP}' ${JSON.stringify({test:INPUT_REGEXP.test(routeInfo)})} \n${INPUT_REGEXP}.test('${routeInfo}')`)

@@ -46,0 +33,0 @@ handler(routeInfo).then((...args) => {

2

package.json
{
"name": "@everymundo/data-integration-framework",
"version": "0.3.2",
"version": "0.3.3",
"description": "Common logic shared across data integration applications",

@@ -5,0 +5,0 @@ "main": "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