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

@shaai/core

Package Overview
Dependencies
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shaai/core - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

7

dist/es5/lib/resources/medium/index.js

@@ -15,4 +15,9 @@ 'use strict';

get: async function get(from, size) {
var proxy = 'https://cors-anywhere.herokuapp.com/';
var mediumURL = 'https://medium.com/feed/' + sanitizedUsername(environment().medium.username);
return axios.get(mediumURL).then(function (response) {
return axios.get(proxy + mediumURL, {
headers: {
'x-requested-with': 'jj'
}
}).then(function (response) {
return mediumParser(response.data);

@@ -19,0 +24,0 @@ }).catch(function (error) {

2

package.json
{
"name": "@shaai/core",
"version": "0.2.0",
"version": "0.3.0",
"description": "A blogging npm",

@@ -5,0 +5,0 @@ "main": "dist/es5/lib/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