@lowdefy/api 4.0.0-alpha.1 → 4.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
See the License for the specific language governing permissions and
|
|
14
14
|
limitations under the License.
|
|
15
15
|
*/ import { get } from '@lowdefy/helpers';
|
|
16
|
-
import filterMenuList from './filterMenuList';
|
|
16
|
+
import filterMenuList from './filterMenuList.js';
|
|
17
17
|
function filterMenus(context, { menus }) {
|
|
18
18
|
return menus.map((menu)=>{
|
|
19
19
|
return {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
13
|
See the License for the specific language governing permissions and
|
|
14
14
|
limitations under the License.
|
|
15
|
-
*/ import filterMenus from './filterMenus';
|
|
15
|
+
*/ import filterMenus from './filterMenus.js';
|
|
16
16
|
async function getMenus(context) {
|
|
17
17
|
const unfilteredMenus = await context.readConfigFile('menus.json');
|
|
18
18
|
return filterMenus(context, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/api",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.4",
|
|
4
4
|
"licence": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -41,11 +41,11 @@
|
|
|
41
41
|
"test": "jest --coverage"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@lowdefy/ajv": "4.0.0-alpha.
|
|
45
|
-
"@lowdefy/helpers": "4.0.0-alpha.
|
|
46
|
-
"@lowdefy/node-utils": "4.0.0-alpha.
|
|
47
|
-
"@lowdefy/nunjucks": "4.0.0-alpha.
|
|
48
|
-
"@lowdefy/operators": "4.0.0-alpha.
|
|
44
|
+
"@lowdefy/ajv": "4.0.0-alpha.4",
|
|
45
|
+
"@lowdefy/helpers": "4.0.0-alpha.4",
|
|
46
|
+
"@lowdefy/node-utils": "4.0.0-alpha.4",
|
|
47
|
+
"@lowdefy/nunjucks": "4.0.0-alpha.4",
|
|
48
|
+
"@lowdefy/operators": "4.0.0-alpha.4"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@swc/cli": "0.1.52",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"publishConfig": {
|
|
57
57
|
"access": "public"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "537d166ba3f6e017b8a61c2a7e5c12fd0a48bf67"
|
|
60
60
|
}
|