SILENT KILLERPanel

Current Path: > > lib > node_modules > npm > node_modules > request > lib


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: //lib/node_modules/npm/node_modules/request/lib

NameTypeSizeLast ModifiedActions
auth.js File 4774 bytes March 10 2021 14:36:37.
cookies.js File 974 bytes March 10 2021 14:36:37.
getProxyFromURI.js File 2241 bytes March 10 2021 14:36:37.
har.js File 4806 bytes March 10 2021 14:36:37.
hawk.js File 2750 bytes March 10 2021 14:36:37.
helpers.js File 1411 bytes March 10 2021 14:36:37.
multipart.js File 2674 bytes March 10 2021 14:36:37.
oauth.js File 4136 bytes March 10 2021 14:36:37.
querystring.js File 1334 bytes March 10 2021 14:36:37.
redirect.js File 4635 bytes March 10 2021 14:36:37.
tunnel.js File 4416 bytes March 10 2021 14:36:37.

Reading File: //lib/node_modules/npm/node_modules/request/lib/cookies.js

'use strict'

var tough = require('tough-cookie')

var Cookie = tough.Cookie
var CookieJar = tough.CookieJar

exports.parse = function (str) {
  if (str && str.uri) {
    str = str.uri
  }
  if (typeof str !== 'string') {
    throw new Error('The cookie function only accepts STRING as param')
  }
  return Cookie.parse(str, {loose: true})
}

// Adapt the sometimes-Async api of tough.CookieJar to our requirements
function RequestJar (store) {
  var self = this
  self._jar = new CookieJar(store, {looseMode: true})
}
RequestJar.prototype.setCookie = function (cookieOrStr, uri, options) {
  var self = this
  return self._jar.setCookieSync(cookieOrStr, uri, options || {})
}
RequestJar.prototype.getCookieString = function (uri) {
  var self = this
  return self._jar.getCookieStringSync(uri)
}
RequestJar.prototype.getCookies = function (uri) {
  var self = this
  return self._jar.getCookiesSync(uri)
}

exports.jar = function (store) {
  return new RequestJar(store)
}

SILENT KILLER Tool