File tree Expand file tree Collapse file tree 5 files changed +20
-20
lines changed
Expand file tree Collapse file tree 5 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 1- import { isDefined } from "tns- core-modules /utils/types" ;
2- import { HttpResponseEncoding } from "tns- core-modules /http" ;
3- import { ImageSource } from "tns- core-modules /image-source" ;
1+ import { isDefined } from "@nativescript/ core/utils/types" ;
2+ import { HttpResponseEncoding } from "@nativescript/ core/http" ;
3+ import { ImageSource } from "@nativescript/ core/image-source" ;
44import * as Https from "./https.common" ;
5- import { File } from "tns- core-modules /file-system" ;
5+ import { File } from "@nativescript/ core/file-system" ;
66
77interface Ipeer {
88 enabled : boolean ;
Original file line number Diff line number Diff line change 1- import { Headers , HttpRequestOptions } from "tns- core-modules /http" ;
2- import { ImageSource } from "tns- core-modules /image-source" ;
3- import { File } from "tns- core-modules /file-system" ;
1+ import { Headers , HttpRequestOptions } from "@nativescript/ core/http" ;
2+ import { ImageSource } from "@nativescript/ core/image-source" ;
3+ import { File } from "@nativescript/ core/file-system" ;
44export interface HttpsSSLPinningOptions {
55 host : string ;
66 certificate : string ;
@@ -31,6 +31,7 @@ export interface HttpsRequestOptions extends HttpRequestOptions {
3131 body ?: HttpsRequestObject | HttpsFormDataParam [ ] ;
3232 content ?: string ;
3333 timeout ?: number ;
34+ allowLargeResponse ?: boolean ;
3435 onProgress ?: ( current : number , total : number ) => void ;
3536 cachePolicy ?: CachePolicy ;
3637 useLegacy ?: boolean ;
Original file line number Diff line number Diff line change 1- import { Headers , HttpRequestOptions } from "tns- core-modules /http" ;
2- import { ImageSource } from "tns- core-modules /image-source" ;
3- import { File , knownFolders , path } from "tns- core-modules /file-system" ;
1+ import { Headers , HttpRequestOptions } from "@nativescript/ core/http" ;
2+ import { ImageSource } from "@nativescript/ core/image-source" ;
3+ import { File , knownFolders , path } from "@nativescript/ core/file-system" ;
44
55export interface HttpsSSLPinningOptions {
66 host : string ;
Original file line number Diff line number Diff line change @@ -2,11 +2,10 @@ import {
22 isDefined ,
33 isNullOrUndefined ,
44 isObject ,
5- } from "tns- core-modules /utils/types" ;
5+ } from "@nativescript/ core/utils/types" ;
66import * as Https from "./https.common" ;
7- import { HttpResponseEncoding } from "tns-core-modules/http" ;
8- import { ImageSource } from "tns-core-modules/image-source" ;
9- import { File } from "tns-core-modules/file-system" ;
7+ import { File } from "@nativescript/core/file-system" ;
8+ import { ImageSource } from "@nativescript/core/image-source" ;
109
1110let cache : NSURLCache ;
1211
Original file line number Diff line number Diff line change 2929 },
3030 "dependencies" : {},
3131 "devDependencies" : {
32- "tns- core-modules " : " ~6.4.0 " ,
33- "tns-platform-declarations" : " ~6.4.0 " ,
34- "typescript" : " 3.4.5 " ,
32+ "@nativescript/ core" : " ~6.5.1 " ,
33+ "tns-platform-declarations" : " ~6.5.1 " ,
34+ "typescript" : " 3.8.3 " ,
3535 "prompt" : " ^1.0.0" ,
36- "rimraf" : " ^2.6 .2" ,
37- "tslint" : " ^5.11.0 " ,
38- "semver" : " ^5.6.0 "
36+ "rimraf" : " ^3.0 .2" ,
37+ "tslint" : " ^6.1.1 " ,
38+ "semver" : " ^7.3.2 "
3939 },
4040 "author" : " Eddy Verbruggen <eddyverbruggen@gmail.com> (https://github.com/EddyVerbruggen)" ,
4141 "contributors" : [
You can’t perform that action at this time.
0 commit comments