rest-on-couch-client
Advanced tools
Comparing version 2.0.0 to 2.1.0
export default class BaseRoc { | ||
} |
@@ -0,0 +0,0 @@ import { RocClientError } from '../Error'; |
@@ -0,0 +0,0 @@ export default class BaseRocQuery { |
@@ -0,0 +0,0 @@ export default class BaseRocReduceQuery { |
@@ -0,0 +0,0 @@ import BaseRoc from './BaseRoc'; |
@@ -0,0 +0,0 @@ export class RocHTTPError extends Error { |
@@ -0,0 +0,0 @@ import sampleToc from './sampleToc'; |
@@ -0,0 +0,0 @@ import { randomBytes } from 'crypto'; |
export * from './fake'; | ||
export * from './real'; | ||
export * from './base'; |
@@ -0,0 +0,0 @@ import Query from './Query'; |
@@ -0,0 +0,0 @@ import BaseRocQuery from '../base/BaseRocQuery'; |
@@ -0,0 +0,0 @@ import { BaseRocReduceQuery } from '../base'; |
@@ -0,0 +0,0 @@ import axios from 'axios'; |
@@ -12,2 +12,3 @@ import BaseRocDocument from '../base/BaseRocDocument'; | ||
const url = new URL(name, this.getBaseUrl()).href; | ||
// @ts-ignore | ||
const response = await this.request({ | ||
@@ -14,0 +15,0 @@ url, |
@@ -0,0 +0,0 @@ import { produce } from 'immer'; |
@@ -0,0 +0,0 @@ import { BaseRocReduceQuery } from '.'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { IQueryOptions, IQueryResult, PromisedQueryResult } from '../types'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { IReduceQueryOptions, IReduceQueryResult, PromisedReduceQueryResult } from '../types'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import BaseRoc from './BaseRoc'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export declare class RocHTTPError extends Error { |
@@ -0,0 +0,0 @@ "use strict"; |
import { IFakeRocData } from '..'; | ||
export declare function getTestData(): IFakeRocData; |
@@ -0,0 +0,0 @@ "use strict"; |
import { IQueryResult } from '../../types'; | ||
declare const data: IQueryResult[]; | ||
export default data; |
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ export * from './fake'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import Query from './Query'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { AxiosInstance } from 'axios'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { AxiosInstance } from 'axios'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ import { BaseRocReduceQuery } from '../base'; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ /// <reference types="node" /> |
@@ -14,2 +14,3 @@ "use strict"; | ||
const url = new URL(name, this.getBaseUrl()).href; | ||
// @ts-ignore | ||
const response = await this.request({ | ||
@@ -16,0 +17,0 @@ url, |
import { IDocumentDraft, INewAttachment } from '../types'; | ||
export declare function addInlineUploads(entry: IDocumentDraft, attachments: INewAttachment[]): Promise<IDocumentDraft>; | ||
export declare function deleteInlineUploads(entry: IDocumentDraft, attachmentNames: string[]): IDocumentDraft; |
@@ -0,0 +0,0 @@ "use strict"; |
/// <reference types="node" /> | ||
import { ResponseType } from 'axios'; | ||
export interface IRocOptions { | ||
@@ -66,3 +67,2 @@ url: string; | ||
} | ||
declare type ResponseType = 'arraybuffer' | 'blob' | 'document' | 'json' | 'text' | 'stream'; | ||
export interface IFetchAttachmentOptions { | ||
@@ -69,0 +69,0 @@ type: ResponseType | 'buffer'; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); |
{ | ||
"name": "rest-on-couch-client", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "A nodejs / browser client for rest-on-couch backend", | ||
@@ -38,12 +38,13 @@ "main": "./lib/index.js", | ||
"devDependencies": { | ||
"@types/jest": "^24.0.11", | ||
"jest": "^24.5.0", | ||
"rimraf": "^2.6.3", | ||
"ts-jest": "^24.0.0", | ||
"typescript": "^3.3.4000" | ||
"@types/jest": "^24.0.23", | ||
"jest": "^24.9.0", | ||
"rimraf": "^3.0.0", | ||
"ts-jest": "^24.2.0", | ||
"typescript": "^3.7.2" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.18.0", | ||
"immer": "^2.1.4" | ||
"@types/node": "^12.12.14", | ||
"axios": "^0.19.0", | ||
"immer": "^5.0.0" | ||
} | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
9
4794
0
211867
3
+ Added@types/node@^12.12.14
+ Added@types/node@12.20.55(transitive)
+ Addedaxios@0.19.2(transitive)
+ Addedimmer@5.3.6(transitive)
- Removedaxios@0.18.1(transitive)
- Removedimmer@2.1.5(transitive)
- Removedis-buffer@2.0.5(transitive)
Updatedaxios@^0.19.0
Updatedimmer@^5.0.0