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

feat-skip-requests-package-collection

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feat-skip-requests-package-collection - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

21

lib/collection/item.js

@@ -332,3 +332,24 @@ var _ = require('../util').lodash,

return this.request.authorizeUsing(type, options);
},
/**
* Returns the path of the item
*
* @returns {Array<string>}
*/
getPath: function () {
const path = [];
let item = this;
while (item) {
if (typeof item.name === 'string') {
path.push(item.name);
}
item = item.__parent;
}
return path.reverse();
}
});

@@ -335,0 +356,0 @@

22

lib/collection/property-base.js

@@ -173,24 +173,2 @@ var _ = require('../util').lodash,

/**
* Returns the path of the item
*
* @returns {Array<string>}
*/
getPath () {
const path = [];
let item = this;
while (item) {
if (item.name) {
path.push(item.name);
}
item = item.__parent;
}
path.reverse();
return path;
},
/**
* Accepts an object and sets it as the parent of the current property.

@@ -197,0 +175,0 @@ *

23

lib/collection/variable.js

@@ -210,2 +210,3 @@ var _ = require('../util').lodash,

_.has(options, 'disabled') && (this.disabled = options.disabled);
_.has(options, 'description') && (this.describe(options.description));
}

@@ -365,24 +366,2 @@ });

}
},
/**
* Free-form type of a value. This is the default for any variable, unless specified otherwise. It ensures that
* the variable can store data in any type and no conversion is done while using {@link Variable#get}.
*/
secret: {
/**
* @param {*} val -
* @returns {*}
*/
in (val) {
return val; // pass through
},
/**
* @param {*} val -
* @returns {*}
*/
out (val) {
return val; // pass through
}
}

@@ -389,0 +368,0 @@ },

{
"name": "feat-skip-requests-package-collection",
"version": "0.0.1",
"version": "0.0.2",
"description": "Enables developers to use a unified Postman Collection format Object across projects",

@@ -53,3 +53,3 @@ "author": "Postman Inc.",

"btoa": "^1.2.1",
"chai": "^4.3.7",
"chai": "^4.3.8",
"chalk": "^4.1.2",

@@ -56,0 +56,0 @@ "dependency-check": "^4.1.0",

Sorry, the diff of this file is not supported yet

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