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

@grouparoo/app-templates

Package Overview
Dependencies
Maintainers
6
Versions
192
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grouparoo/app-templates - npm Package Compare versions

Comparing version 0.8.1-alpha.1 to 0.8.1-alpha.2

10

dist/source/table/sourceOptions.js

@@ -7,5 +7,2 @@ "use strict";

const sourceOptions = async ({ connection, appOptions, appId, }) => {
const response = {
[pluginMethods_1.tableNameKey]: { type: "list", options: [] },
};
const map = await getTables({

@@ -16,5 +13,6 @@ connection,

});
for (const tableName in map) {
response[pluginMethods_1.tableNameKey].options.push(tableName);
}
const tableNames = Object.keys(map).sort();
const response = {
[pluginMethods_1.tableNameKey]: { type: "typeahead", options: tableNames },
};
// TODO later: const getMore = extraSourceOptions?.method

@@ -21,0 +19,0 @@ const extra = (extraSourceOptions === null || extraSourceOptions === void 0 ? void 0 : extraSourceOptions.options) || [];

10

package.json

@@ -5,3 +5,3 @@ {

"description": "Common patterns for Grouparoo plugins that contribute apps",
"version": "0.8.1-alpha.1",
"version": "0.8.1-alpha.2",
"license": "MPL-2.0",

@@ -32,4 +32,4 @@ "private": false,

"devDependencies": {
"@grouparoo/core": "0.8.1-alpha.1",
"@grouparoo/spec-helper": "0.8.1-alpha.1",
"@grouparoo/core": "0.8.1-alpha.2",
"@grouparoo/spec-helper": "0.8.1-alpha.2",
"@types/jest": "*",

@@ -39,3 +39,3 @@ "@types/node": "16.*.*",

"actionhero": "28.1.7",
"jest": "27.4.5",
"jest": "27.5.1",
"nock": "13.2.2",

@@ -47,3 +47,3 @@ "prettier": "2.5.1",

},
"gitHead": "a95f9a45dbb6708ede0fabcc26939cff871299f1"
"gitHead": "c0d858ed9a8593f694fb0e6d4264a9994fdf3ae6"
}

@@ -28,5 +28,2 @@ import {

}) => {
const response: SourceOptionsMethodResponse = {
[tableNameKey]: { type: "list", options: [] },
};
const map: TableDefinitionMap = await getTables({

@@ -37,5 +34,8 @@ connection,

});
for (const tableName in map) {
response[tableNameKey].options.push(tableName);
}
const tableNames = Object.keys(map).sort();
const response: SourceOptionsMethodResponse = {
[tableNameKey]: { type: "typeahead", options: tableNames },
};
// TODO later: const getMore = extraSourceOptions?.method

@@ -42,0 +42,0 @@ const extra = extraSourceOptions?.options || [];

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