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

insomnia-plugin-request

Package Overview
Dependencies
Maintainers
3
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

insomnia-plugin-request - npm Package Compare versions

Comparing version 2.2.9 to 2.2.10

33

__tests__/index.test.js

@@ -89,35 +89,2 @@ const { jarFromCookies, cookiesFromJar } = require('insomnia-cookies');

});
describe('RequestExtension id', () => {
it('should get id', async () => {
const requests = [
{
_id: 'req_1',
parameters: [{ name: 'foo', value: '{{ foo }}' }],
url: 'https://insomnia.rest/foo/bar',
},
];
const context = _getTestContext([{ _id: 'wrk_1' }], requests);
const result = await tag.run(context, 'id');
expect(result).toBe('req_1');
});
});
describe('RequestExtension name', () => {
it('should get name', async () => {
const requests = [
{
_id: 'req_1',
name: 'Foo',
parameters: [{ name: 'foo', value: '{{ foo }}' }],
url: 'https://insomnia.rest/foo/bar',
},
];
const context = _getTestContext([{ _id: 'wrk_1' }], requests);
const result = await tag.run(context, 'name');
expect(result).toBe('Foo');
});
});
});

@@ -124,0 +91,0 @@

@@ -53,7 +53,2 @@ const {

},
{
displayName: 'ID',
value: 'id',
description: 'ID of request',
},
],

@@ -166,4 +161,2 @@ },

return request.name;
case 'id':
return request._id;
case 'folder':

@@ -170,0 +163,0 @@ const ancestors = await context.util.models.request.getAncestors(request);

8

package.json
{
"name": "insomnia-plugin-request",
"version": "2.2.9",
"version": "2.2.10",
"author": "Gregory Schier <greg.schier@konghq.com>",

@@ -21,6 +21,6 @@ "description": "Insomnia request template tag",

"dependencies": {
"insomnia-cookies": "^2.2.9",
"insomnia-url": "^2.2.9"
"insomnia-cookies": "^2.2.10",
"insomnia-url": "^2.2.10"
},
"gitHead": "7076669f542c4c4367b1b48f55f85d933cebe67c"
"gitHead": "55be1de2bd9b0c18f3a2d9e4e1475d3566286949"
}
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