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

@comunica/actor-http-wayback

Package Overview
Dependencies
Maintainers
5
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@comunica/actor-http-wayback - npm Package Compare versions

Comparing version 2.6.9 to 2.6.11-alpha.40.0

1

lib/ActorHttpWayback.d.ts
import type { IActionHttp, IActorHttpArgs, IActorHttpOutput, MediatorHttp } from '@comunica/bus-http';
import { ActorHttp } from '@comunica/bus-http';
import type { IActorTest } from '@comunica/core';
import 'cross-fetch/polyfill';
/**

@@ -5,0 +6,0 @@ * A Comunica actor to intercept HTTP requests to recover broken links using the WayBack Machine

6

lib/ActorHttpWayback.js

@@ -6,9 +6,9 @@ "use strict";

const context_entries_1 = require("@comunica/context-entries");
const cross_fetch_1 = require("cross-fetch");
const stringifyStream = require("stream-to-string");
require("cross-fetch/polyfill");
const WAYBACK_URL = 'http://wayback.archive-it.org/';
function addWayback(action) {
const request = new cross_fetch_1.Request(action.input, action.init);
const request = new Request(action.input, action.init);
return {
input: new cross_fetch_1.Request(new URL(`/${request.url}`, WAYBACK_URL), request),
input: new Request(new URL(`/${request.url}`, WAYBACK_URL), request),
};

@@ -15,0 +15,0 @@ }

{
"name": "@comunica/actor-http-wayback",
"version": "2.6.9",
"version": "2.6.11-alpha.40.0",
"description": "A wayback http actor",

@@ -35,5 +35,5 @@ "lsd:module": true,

"dependencies": {
"@comunica/bus-http": "^2.6.9",
"@comunica/context-entries": "^2.6.8",
"@comunica/core": "^2.6.8",
"@comunica/bus-http": "2.6.11-alpha.40.0",
"@comunica/context-entries": "2.6.11-alpha.40.0",
"@comunica/core": "2.6.11-alpha.40.0",
"cross-fetch": "^3.1.5",

@@ -47,3 +47,3 @@ "stream-to-string": "^1.2.0"

},
"gitHead": "739f55dbe1b95743866f4e393ffe7a62f0410436"
"gitHead": "b4e12e9d015d4bdb6b2668f3065826eb8aea3dc4"
}

Sorry, the diff of this file is not supported yet

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