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

@specter/specter

Package Overview
Dependencies
Maintainers
3
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@specter/specter - npm Package Compare versions

Comparing version 0.2.3 to 0.3.0

2

lib/response.d.ts

@@ -15,2 +15,4 @@ import SpecterRequest from "./request";

getNextReqs(): SpecterRequest<any, any, any>[] | undefined;
static parse<H, B>(res: string): SpecterResponse<H, B>;
toString(): string;
}

@@ -27,3 +27,16 @@ "use strict";

}
static parse(res) {
const parsed = JSON.parse(res);
const response = new SpecterResponse(parsed.headers, parsed.body);
response.setStatus(parsed.status);
return response;
}
toString() {
return JSON.stringify({
status: this.status,
headers: this.headers,
body: this.body
});
}
}
exports.default = SpecterResponse;

6

package.json
{
"name": "@specter/specter",
"version": "0.2.3",
"version": "0.3.0",
"description": "> TODO: description",

@@ -36,6 +36,6 @@ "author": "Yosuke Furukawa <yosuke.furukawa@gmail.com>",

"isomorphic-unfetch": "3.0.0",
"jest": "25.4.0",
"jest": "25.5.4",
"typescript": "3.8.3"
},
"gitHead": "f1800febbca4e4159aff760c8efcaa4e6dae2882",
"gitHead": "f4ff1e14fb1a90a37e6d9299d67ab4607dc92d05",
"publishConfig": {

@@ -42,0 +42,0 @@ "access": "public"

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