Bump @yaakapp/api deps

This commit is contained in:
Gregory Schier
2024-09-20 07:09:01 -07:00
parent 92ac91733e
commit aed73482d1
20 changed files with 140 additions and 122 deletions

View File

@@ -8,7 +8,7 @@
"name": "exporter-curl",
"version": "0.0.1",
"dependencies": {
"@yaakapp/api": "^0.1.14"
"@yaakapp/api": "^0.2.5"
},
"devDependencies": {
"@types/node": "^20.14.9",
@@ -702,25 +702,27 @@
}
},
"node_modules/@yaakapp/api": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.1.15.tgz",
"integrity": "sha512-4nrImM9r4Afih0CcG6PWtGA6Luap/Ki5ZVl56WejWA8WPpy8AhEpC0KErpJChNzzqRjgK9ZEWdQNsBHppzAs8A==",
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.2.5.tgz",
"integrity": "sha512-UXD4Vvm4IVGNqKQuORnlbZ/RSOqA3AkkvaBqcipqGCodkx/4kM1602fBFfBZMdiouq0RyyQ65ByWvJWVre/adg==",
"dependencies": {
"@types/node": "^22.0.0"
"@types/node": "^22.5.4"
}
},
"node_modules/@yaakapp/api/node_modules/@types/node": {
"version": "22.2.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.2.0.tgz",
"integrity": "sha512-bm6EG6/pCpkxDf/0gDNDdtDILMOHgaQBVOJGdwsqClnxA3xL6jtMv76rLBc006RVMWbmaf0xbmom4Z/5o2nRkQ==",
"version": "22.5.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz",
"integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.13.0"
"undici-types": "~6.19.2"
}
},
"node_modules/@yaakapp/api/node_modules/undici-types": {
"version": "6.13.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.13.0.tgz",
"integrity": "sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg=="
"version": "6.19.8",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"license": "MIT"
},
"node_modules/@yaakapp/cli": {
"version": "0.0.42",

View File

@@ -6,7 +6,7 @@
"build": "yaakcli build ./src/index.js"
},
"dependencies": {
"@yaakapp/api": "^0.1.14"
"@yaakapp/api": "^0.2.5"
},
"devDependencies": {
"@types/node": "^20.14.9",

View File

@@ -1,8 +1,8 @@
import { Context, HttpRequest, Plugin } from '@yaakapp/api';
import { Context, HttpRequest, PluginDefinition } from '@yaakapp/api';
const NEWLINE = '\\\n ';
export const plugin: Plugin = {
export const plugin: PluginDefinition = {
httpRequestActions: [{
key: 'export-curl',
label: 'Copy as Curl',
@@ -11,7 +11,7 @@ export const plugin: Plugin = {
const rendered_request = await ctx.httpRequest.render({ httpRequest: args.httpRequest, purpose: 'preview' });
const data = await pluginHookExport(ctx, rendered_request);
ctx.clipboard.copyText(data);
ctx.toast.show({ variant: 'copied', message: 'Curl copied to clipboard' });
ctx.toast.show({ message: 'Curl copied to clipboard', icon: 'copy' });
},
}],
};

View File

@@ -8,7 +8,7 @@
"name": "filter-jsonpath",
"version": "0.0.1",
"dependencies": {
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"jsonpath-plus": "^9.0.0"
},
"devDependencies": {
@@ -49,25 +49,27 @@
}
},
"node_modules/@yaakapp/api": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.1.15.tgz",
"integrity": "sha512-4nrImM9r4Afih0CcG6PWtGA6Luap/Ki5ZVl56WejWA8WPpy8AhEpC0KErpJChNzzqRjgK9ZEWdQNsBHppzAs8A==",
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.2.5.tgz",
"integrity": "sha512-UXD4Vvm4IVGNqKQuORnlbZ/RSOqA3AkkvaBqcipqGCodkx/4kM1602fBFfBZMdiouq0RyyQ65ByWvJWVre/adg==",
"dependencies": {
"@types/node": "^22.0.0"
"@types/node": "^22.5.4"
}
},
"node_modules/@yaakapp/api/node_modules/@types/node": {
"version": "22.3.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.3.0.tgz",
"integrity": "sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==",
"version": "22.5.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz",
"integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.18.2"
"undici-types": "~6.19.2"
}
},
"node_modules/@yaakapp/api/node_modules/undici-types": {
"version": "6.18.2",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.18.2.tgz",
"integrity": "sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ=="
"version": "6.19.8",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"license": "MIT"
},
"node_modules/@yaakapp/cli": {
"version": "0.0.42",

View File

@@ -7,7 +7,7 @@
},
"dependencies": {
"jsonpath-plus": "^9.0.0",
"@yaakapp/api": "^0.1.14"
"@yaakapp/api": "^0.2.5"
},
"devDependencies": {
"@yaakapp/cli": "^0.0.42",

View File

@@ -9,7 +9,7 @@
"version": "0.0.1",
"dependencies": {
"@xmldom/xmldom": "^0.8.10",
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"xpath": "^0.0.34"
},
"devDependencies": {
@@ -36,25 +36,27 @@
}
},
"node_modules/@yaakapp/api": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.1.15.tgz",
"integrity": "sha512-4nrImM9r4Afih0CcG6PWtGA6Luap/Ki5ZVl56WejWA8WPpy8AhEpC0KErpJChNzzqRjgK9ZEWdQNsBHppzAs8A==",
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.2.5.tgz",
"integrity": "sha512-UXD4Vvm4IVGNqKQuORnlbZ/RSOqA3AkkvaBqcipqGCodkx/4kM1602fBFfBZMdiouq0RyyQ65ByWvJWVre/adg==",
"dependencies": {
"@types/node": "^22.0.0"
"@types/node": "^22.5.4"
}
},
"node_modules/@yaakapp/api/node_modules/@types/node": {
"version": "22.3.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.3.0.tgz",
"integrity": "sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==",
"version": "22.5.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz",
"integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.18.2"
"undici-types": "~6.19.2"
}
},
"node_modules/@yaakapp/api/node_modules/undici-types": {
"version": "6.18.2",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.18.2.tgz",
"integrity": "sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ=="
"version": "6.19.8",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"license": "MIT"
},
"node_modules/@yaakapp/cli": {
"version": "0.0.42",

View File

@@ -6,7 +6,7 @@
"build": "yaakcli build ./src/index.js"
},
"dependencies": {
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"@xmldom/xmldom": "^0.8.10",
"xpath": "^0.0.34"
},

View File

@@ -8,7 +8,7 @@
"name": "importer-curl",
"version": "0.0.1",
"dependencies": {
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"shell-quote": "^1.8.1"
},
"devDependencies": {
@@ -710,25 +710,27 @@
}
},
"node_modules/@yaakapp/api": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.1.15.tgz",
"integrity": "sha512-4nrImM9r4Afih0CcG6PWtGA6Luap/Ki5ZVl56WejWA8WPpy8AhEpC0KErpJChNzzqRjgK9ZEWdQNsBHppzAs8A==",
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.2.5.tgz",
"integrity": "sha512-UXD4Vvm4IVGNqKQuORnlbZ/RSOqA3AkkvaBqcipqGCodkx/4kM1602fBFfBZMdiouq0RyyQ65ByWvJWVre/adg==",
"dependencies": {
"@types/node": "^22.0.0"
"@types/node": "^22.5.4"
}
},
"node_modules/@yaakapp/api/node_modules/@types/node": {
"version": "22.3.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.3.0.tgz",
"integrity": "sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==",
"version": "22.5.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz",
"integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.18.2"
"undici-types": "~6.19.2"
}
},
"node_modules/@yaakapp/api/node_modules/undici-types": {
"version": "6.18.2",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.18.2.tgz",
"integrity": "sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ=="
"version": "6.19.8",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"license": "MIT"
},
"node_modules/@yaakapp/cli": {
"version": "0.0.42",

View File

@@ -6,7 +6,7 @@
"build": "yaakcli build ./src/index.js"
},
"dependencies": {
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"shell-quote": "^1.8.1"
},
"devDependencies": {

View File

@@ -8,7 +8,7 @@
"name": "importer-insomnia",
"version": "0.0.1",
"dependencies": {
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"yaml": "^2.4.2"
},
"devDependencies": {
@@ -27,25 +27,27 @@
}
},
"node_modules/@yaakapp/api": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.1.15.tgz",
"integrity": "sha512-4nrImM9r4Afih0CcG6PWtGA6Luap/Ki5ZVl56WejWA8WPpy8AhEpC0KErpJChNzzqRjgK9ZEWdQNsBHppzAs8A==",
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.2.5.tgz",
"integrity": "sha512-UXD4Vvm4IVGNqKQuORnlbZ/RSOqA3AkkvaBqcipqGCodkx/4kM1602fBFfBZMdiouq0RyyQ65ByWvJWVre/adg==",
"dependencies": {
"@types/node": "^22.0.0"
"@types/node": "^22.5.4"
}
},
"node_modules/@yaakapp/api/node_modules/@types/node": {
"version": "22.3.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.3.0.tgz",
"integrity": "sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==",
"version": "22.5.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz",
"integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.18.2"
"undici-types": "~6.19.2"
}
},
"node_modules/@yaakapp/api/node_modules/undici-types": {
"version": "6.18.2",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.18.2.tgz",
"integrity": "sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ=="
"version": "6.19.8",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"license": "MIT"
},
"node_modules/@yaakapp/cli": {
"version": "0.0.42",

View File

@@ -6,7 +6,7 @@
"build": "yaakcli build ./src/index.js"
},
"dependencies": {
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"yaml": "^2.4.2"
},
"devDependencies": {

View File

@@ -8,7 +8,7 @@
"name": "importer-openapi",
"version": "0.0.1",
"dependencies": {
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"openapi-to-postmanv2": "^4.23.1",
"yaml": "^2.4.2"
},
@@ -57,25 +57,27 @@
}
},
"node_modules/@yaakapp/api": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.1.15.tgz",
"integrity": "sha512-4nrImM9r4Afih0CcG6PWtGA6Luap/Ki5ZVl56WejWA8WPpy8AhEpC0KErpJChNzzqRjgK9ZEWdQNsBHppzAs8A==",
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.2.5.tgz",
"integrity": "sha512-UXD4Vvm4IVGNqKQuORnlbZ/RSOqA3AkkvaBqcipqGCodkx/4kM1602fBFfBZMdiouq0RyyQ65ByWvJWVre/adg==",
"dependencies": {
"@types/node": "^22.0.0"
"@types/node": "^22.5.4"
}
},
"node_modules/@yaakapp/api/node_modules/@types/node": {
"version": "22.3.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.3.0.tgz",
"integrity": "sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==",
"version": "22.5.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz",
"integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.18.2"
"undici-types": "~6.19.2"
}
},
"node_modules/@yaakapp/api/node_modules/undici-types": {
"version": "6.18.2",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.18.2.tgz",
"integrity": "sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ=="
"version": "6.19.8",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"license": "MIT"
},
"node_modules/@yaakapp/cli": {
"version": "0.0.42",

View File

@@ -6,7 +6,7 @@
"build": "yaakcli build ./src/index.js"
},
"dependencies": {
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"openapi-to-postmanv2": "^4.23.1",
"yaml": "^2.4.2"
},

View File

@@ -8,7 +8,7 @@
"name": "importer-postman",
"version": "0.0.1",
"dependencies": {
"@yaakapp/api": "^0.1.14"
"@yaakapp/api": "^0.2.5"
},
"devDependencies": {
"@types/node": "^20.14.9",
@@ -664,25 +664,27 @@
}
},
"node_modules/@yaakapp/api": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.1.15.tgz",
"integrity": "sha512-4nrImM9r4Afih0CcG6PWtGA6Luap/Ki5ZVl56WejWA8WPpy8AhEpC0KErpJChNzzqRjgK9ZEWdQNsBHppzAs8A==",
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.2.5.tgz",
"integrity": "sha512-UXD4Vvm4IVGNqKQuORnlbZ/RSOqA3AkkvaBqcipqGCodkx/4kM1602fBFfBZMdiouq0RyyQ65ByWvJWVre/adg==",
"dependencies": {
"@types/node": "^22.0.0"
"@types/node": "^22.5.4"
}
},
"node_modules/@yaakapp/api/node_modules/@types/node": {
"version": "22.3.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.3.0.tgz",
"integrity": "sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==",
"version": "22.5.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz",
"integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.18.2"
"undici-types": "~6.19.2"
}
},
"node_modules/@yaakapp/api/node_modules/undici-types": {
"version": "6.18.2",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.18.2.tgz",
"integrity": "sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ=="
"version": "6.19.8",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"license": "MIT"
},
"node_modules/@yaakapp/cli": {
"version": "0.0.42",

View File

@@ -7,7 +7,7 @@
"build": "yaakcli build ./src/index.js"
},
"dependencies": {
"@yaakapp/api": "^0.1.14"
"@yaakapp/api": "^0.2.5"
},
"devDependencies": {
"@yaakapp/cli": "^0.0.42",

View File

@@ -8,7 +8,7 @@
"name": "importer-yaak",
"version": "0.0.1",
"dependencies": {
"@yaakapp/api": "^0.1.14"
"@yaakapp/api": "^0.2.5"
},
"devDependencies": {
"@types/node": "^20.14.9",
@@ -395,25 +395,27 @@
}
},
"node_modules/@yaakapp/api": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.1.15.tgz",
"integrity": "sha512-4nrImM9r4Afih0CcG6PWtGA6Luap/Ki5ZVl56WejWA8WPpy8AhEpC0KErpJChNzzqRjgK9ZEWdQNsBHppzAs8A==",
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.2.5.tgz",
"integrity": "sha512-UXD4Vvm4IVGNqKQuORnlbZ/RSOqA3AkkvaBqcipqGCodkx/4kM1602fBFfBZMdiouq0RyyQ65ByWvJWVre/adg==",
"dependencies": {
"@types/node": "^22.0.0"
"@types/node": "^22.5.4"
}
},
"node_modules/@yaakapp/api/node_modules/@types/node": {
"version": "22.3.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.3.0.tgz",
"integrity": "sha512-nrWpWVaDZuaVc5X84xJ0vNrLvomM205oQyLsRt7OHNZbSHslcWsvgFR7O7hire2ZonjLrWBbedmotmIlJDVd6g==",
"version": "22.5.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz",
"integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.18.2"
"undici-types": "~6.19.2"
}
},
"node_modules/@yaakapp/api/node_modules/undici-types": {
"version": "6.18.2",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.18.2.tgz",
"integrity": "sha512-5ruQbENj95yDYJNS3TvcaxPMshV7aizdv/hWYjGIKoANWKjhWNBsr2YEuYZKodQulB1b8l7ILOuDQep3afowQQ=="
"version": "6.19.8",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"license": "MIT"
},
"node_modules/@yaakapp/cli": {
"version": "0.0.42",

View File

@@ -6,7 +6,7 @@
"build": "yaakcli build ./src/index.js"
},
"dependencies": {
"@yaakapp/api": "^0.1.14"
"@yaakapp/api": "^0.2.5"
},
"devDependencies": {
"@yaakapp/cli": "^0.0.42",

View File

@@ -9,7 +9,7 @@
"version": "0.0.1",
"dependencies": {
"@xmldom/xmldom": "^0.8.10",
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"jsonpath-plus": "^9.0.0",
"xpath": "^0.0.34"
},
@@ -742,25 +742,27 @@
}
},
"node_modules/@yaakapp/api": {
"version": "0.1.15",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.1.15.tgz",
"integrity": "sha512-4nrImM9r4Afih0CcG6PWtGA6Luap/Ki5ZVl56WejWA8WPpy8AhEpC0KErpJChNzzqRjgK9ZEWdQNsBHppzAs8A==",
"version": "0.2.5",
"resolved": "https://registry.npmjs.org/@yaakapp/api/-/api-0.2.5.tgz",
"integrity": "sha512-UXD4Vvm4IVGNqKQuORnlbZ/RSOqA3AkkvaBqcipqGCodkx/4kM1602fBFfBZMdiouq0RyyQ65ByWvJWVre/adg==",
"dependencies": {
"@types/node": "^22.0.0"
"@types/node": "^22.5.4"
}
},
"node_modules/@yaakapp/api/node_modules/@types/node": {
"version": "22.2.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.2.0.tgz",
"integrity": "sha512-bm6EG6/pCpkxDf/0gDNDdtDILMOHgaQBVOJGdwsqClnxA3xL6jtMv76rLBc006RVMWbmaf0xbmom4Z/5o2nRkQ==",
"version": "22.5.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.5.5.tgz",
"integrity": "sha512-Xjs4y5UPO/CLdzpgR6GirZJx36yScjh73+2NlLlkFRSoQN8B0DpfXPdZGnvVmLRLOsqDpOfTNv7D9trgGhmOIA==",
"license": "MIT",
"dependencies": {
"undici-types": "~6.13.0"
"undici-types": "~6.19.2"
}
},
"node_modules/@yaakapp/api/node_modules/undici-types": {
"version": "6.13.0",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.13.0.tgz",
"integrity": "sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg=="
"version": "6.19.8",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
"integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==",
"license": "MIT"
},
"node_modules/@yaakapp/cli": {
"version": "0.0.42",

View File

@@ -6,7 +6,7 @@
"build": "yaakcli build ./src/index.ts"
},
"dependencies": {
"@yaakapp/api": "^0.1.14",
"@yaakapp/api": "^0.2.5",
"jsonpath-plus": "^9.0.0",
"xpath": "^0.0.34",
"@xmldom/xmldom": "^0.8.10"

View File

@@ -1,10 +1,10 @@
import { DOMParser } from '@xmldom/xmldom';
import { CallTemplateFunctionArgs, Context, HttpResponse, Plugin } from '@yaakapp/api';
import { CallTemplateFunctionArgs, Context, HttpResponse, PluginDefinition } from '@yaakapp/api';
import { JSONPath } from 'jsonpath-plus';
import { readFileSync } from 'node:fs';
import xpath from 'xpath';
export const plugin: Plugin = {
export const plugin: PluginDefinition = {
templateFunctions: [{
name: 'response',
args: [