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

cc-api-next

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cc-api-next - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

4

index.js

@@ -28,4 +28,2 @@ const fetch = require('isomorphic-unfetch');

const { headers } = config;
if (!config.method) {

@@ -45,3 +43,3 @@ config.method = 'get';

const handleResponse = response => {
switch (headers['Content-Type']) {
switch (response.headers.get('Content-Type').split(';')[0]) {
case 'application/octet-stream':

@@ -48,0 +46,0 @@ case 'application/pdf':

{
"name": "cc-api-next",
"version": "1.0.11",
"version": "1.0.12",
"description": "cc api next",

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

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