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

orq

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

orq - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Change Log

<a name="0.1.2"></a>
## [0.1.2](https://github.com/Kriegslustig/orq/compare/v0.1.1...v0.1.2) (2017-05-24)
<a name="0.1.1"></a>

@@ -7,0 +12,0 @@ ## [0.1.1](https://github.com/Kriegslustig/orq/compare/v0.1.0...v0.1.1) (2017-05-21)

2

index.flow.js
// @flow
import type {Request as RequestType} from "./request";
declare class Class0 extends EventTarget<> {

@@ -11,2 +12,3 @@

}
export type Request = (url: string, options?: {body?: any, cacheResponse?: boolean, cancelable?: boolean, fromRemote?: boolean, headers?: {[_: string]: string}, method?: "GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "CONNECT" | "TRACE"}) => rxjs$Observable<any>;
declare export function mkCachePolicy(policy: {resources?: {[BaseUrl: string]: {[Path: string]: {contains?: Array<string>, ttl?: number}}}, ttl?: number}): (cache: {clear: <string>() => rxjs$Observable<true>, delete: (key: K) => rxjs$Observable<true>, get: (key: K) => rxjs$Observable<any>, has: (key: K) => rxjs$Observable<boolean>, set: (key: K, value: any) => rxjs$Observable<any>}) => {clear: <[string, string]>() => rxjs$Observable<true>, delete: (key: K) => rxjs$Observable<true>, get: (key: K) => rxjs$Observable<any>, has: (key: K) => rxjs$Observable<boolean>, set: (key: K, value: any) => rxjs$Observable<any>};

@@ -13,0 +15,0 @@ declare export function mkInterface<UrlMap, Responses>(worker: Class0): {addRequest: <RequestPayload, Response>(url: string, options?: {body?: RequestPayload, cacheResponse?: boolean, cancelable?: boolean, fromRemote?: boolean, headers?: {[_: string]: string}, method?: "GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "CONNECT" | "TRACE"}) => rxjs$Observable<Response>, clear: () => rxjs$Observable<void>, invalidate: (url: string, method?: string) => rxjs$Observable<void>} | {addRequest: <RequestPayload, Response>(url: string, options?: {body?: RequestPayload, cacheResponse?: boolean, cancelable?: boolean, fromRemote?: boolean, headers?: {[_: string]: string}, method?: "GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "CONNECT" | "TRACE"}) => rxjs$Observable<Response>, clear: () => rxjs$Observable<void>, invalidate: (url: string, method?: string) => rxjs$Observable<void>} | {addRequest: <RequestPayload, Response>(url: string, options?: {body?: RequestPayload, cacheResponse?: boolean, cancelable?: boolean, fromRemote?: boolean, headers?: {[_: string]: string}, method?: "GET" | "HEAD" | "POST" | "PUT" | "PATCH" | "OPTIONS" | "CONNECT" | "TRACE"}) => rxjs$Observable<Response>, clear: () => rxjs$Observable<void>, invalidate: (url: string, method?: string) => rxjs$Observable<void>};

2

package.json
{
"name": "orq",
"version": "0.1.1",
"version": "0.1.2",
"description": "HTTP Request Queue Optimized for Web Workers.",

@@ -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