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

gatsby-source-hire-with-google

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gatsby-source-hire-with-google - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

14

gatsby-node.js

@@ -24,3 +24,3 @@ "use strict";

function getJob(_x) {
function getJob(_x, _x2) {
return _getJob.apply(this, arguments);

@@ -30,3 +30,5 @@ }

function _getJob() {
_getJob = _asyncToGenerator(function* (replaceDivs) {
_getJob = _asyncToGenerator(function* (link, {
replaceDivs
}) {
const response = yield _axios.default.get(jobUrl);

@@ -49,3 +51,3 @@

function getJobs(_x2) {
function getJobs(_x3) {
return _getJobs.apply(this, arguments);

@@ -66,3 +68,5 @@ }

}).get();
return yield Promise.all(jobLinks.map(l => getJob(replaceDivs)));
return yield Promise.all(jobLinks.map(l => getJob(link, {
replaceDivs
})));
});

@@ -97,5 +101,5 @@ return _getJobs.apply(this, arguments);

return function (_x3, _x4) {
return function (_x4, _x5) {
return _ref.apply(this, arguments);
};
}();
{
"name": "gatsby-source-hire-with-google",
"version": "0.1.2",
"version": "0.1.3",
"description": "Gatsby source plugin for loading job openings from hire.withgoogle.com",

@@ -5,0 +5,0 @@ "main": "gatsby-node.js",

@@ -13,3 +13,3 @@ import crypto from 'crypto'

async function getJob(replaceDivs) {
async function getJob(link, { replaceDivs }) {
const response = await axios.get(jobUrl)

@@ -36,3 +36,3 @@ const $ = cheerio.load(response.data);

return await Promise.all(jobLinks.map(l => getJob(replaceDivs)))
return await Promise.all(jobLinks.map(l => getJob(link, { replaceDivs })))
}

@@ -39,0 +39,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