Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@highpoint/get-ps-token

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@highpoint/get-ps-token - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

3

CHANGELOG.md

@@ -0,1 +1,4 @@

# v0.1.2
* Throw an exception if HTTP username/password is missing or incorrect.
# v0.1.1

@@ -2,0 +5,0 @@ * Throw an exception if PS_TOKEN is not set, i.e. the username/password was

2

package.json
{
"name": "@highpoint/get-ps-token",
"version": "0.1.1",
"version": "0.1.2",
"description": "Populate cookie jar with PeopleSoft token",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -25,2 +25,6 @@ const request = require('request-promise');

if (response.statusCode === 401) {
throw new Error('Invalid web server username and/or password');
}
if (response.statusCode >= 400) {

@@ -31,3 +35,3 @@ throw new Error(response.message);

if (!jar.getCookieString(uri).includes('PS_TOKEN')) {
throw new Error('Invalid username and/or password');
throw new Error('Invalid PeopleSoft username and/or password');
}

@@ -34,0 +38,0 @@

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