This repository was archived by the owner on Mar 11, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +24
-2
lines changed
Expand file tree Collapse file tree 6 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 66node_modules /
77templates /
88test /legacy /
9+ test /typescript /
910tmp /
Original file line number Diff line number Diff line change 1+ # UNRELEASED
2+ - [ FIXED] Use named import for ` request.CoreOptions ` type.
3+
14# 3.0.0 (2018-11-20)
25- [ FIXED] Expose ` BasePlugin ` type in Cloudant client.
36- [ FIXED] Set ` parseUrl = false ` on underlying Nano instance.
Original file line number Diff line number Diff line change 5353 "uuid" : " ^3.0.1"
5454 },
5555 "scripts" : {
56- "test" : " eslint --ignore-path .eslintignore . && mocha && npm run tslint && npm audit" ,
56+ "test" : " eslint --ignore-path .eslintignore . && tsc test/typescript/*.ts && mocha && npm run tslint && npm audit" ,
5757 "test-verbose" : " env DEBUG='*,-mocha:*' npm run test" ,
5858 "test-live" : " NOCK_OFF=true mocha" ,
5959 "test-live-verbose" : " env DEBUG='*,-mocha:*' npm run test-live" ,
Original file line number Diff line number Diff line change 1+ --exclude test/typescript/*.js
12--recursive
23--timeout 10000
Original file line number Diff line number Diff line change 1+ // Copyright © 2018 IBM Corp. All rights reserved.
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS,
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
14+
15+ // Ensure Cloudant type declaration files can be imported without error.
16+
17+ export import cloudant = require ( '../../types/index' ) ;
Original file line number Diff line number Diff line change 1313// limitations under the License.
1414
1515import * as nano from 'nano' ;
16- import CoreOptions from " request" ;
16+ import { CoreOptions } from ' request' ;
1717
1818declare function cloudant (
1919 config : cloudant . Configuration | string ,
You can’t perform that action at this time.
0 commit comments