aurelia-http-utils
Advanced tools
Comparing version 0.2.2 to 0.3.0
export declare class ContentType { | ||
static APPLICATION_JSON: ContentType; | ||
static APPLICATION_JSON_PATCH: ContentType; | ||
type: string; | ||
protected type: string; | ||
protected subtype: string; | ||
@@ -6,0 +6,0 @@ protected params: Map<string, string>; |
@@ -49,4 +49,6 @@ "use strict"; | ||
}()); | ||
exports.ContentType = ContentType; | ||
ContentType.APPLICATION_JSON = ContentType.valueOf(media_type_1.MediaType.APPLICATION_JSON); | ||
ContentType.APPLICATION_JSON_PATCH = ContentType.valueOf(media_type_1.MediaType.APPLICATION_JSON_PATCH); | ||
exports.ContentType = ContentType; | ||
//# sourceMappingURL=content-type.js.map |
@@ -40,1 +40,3 @@ "use strict"; | ||
exports.Headers = Headers; | ||
//# sourceMappingURL=headers.js.map |
@@ -7,3 +7,2 @@ "use strict"; | ||
}()); | ||
exports.HttpHeaders = HttpHeaders; | ||
HttpHeaders.ACCEPT = "Accept"; | ||
@@ -16,1 +15,4 @@ HttpHeaders.AUTHORIZATION = "Authorization"; | ||
HttpHeaders.WWW_AUTHENTICATE = "WWW-Authenticate"; | ||
exports.HttpHeaders = HttpHeaders; | ||
//# sourceMappingURL=http-headers.js.map |
@@ -18,1 +18,3 @@ "use strict"; | ||
exports.Part = part_1.Part; | ||
//# sourceMappingURL=index.js.map |
@@ -27,1 +27,3 @@ "use strict"; | ||
exports.LinkHeaderParser = LinkHeaderParser; | ||
//# sourceMappingURL=link-header-parser.js.map |
@@ -7,3 +7,2 @@ "use strict"; | ||
}()); | ||
exports.MediaType = MediaType; | ||
MediaType.APPLICATION_JSON = "application/json"; | ||
@@ -16,1 +15,4 @@ MediaType.APPLICATION_JSON_SCHEMA = "application/schema+json"; | ||
MediaType.WILDCARD = "*/*"; | ||
exports.MediaType = MediaType; | ||
//# sourceMappingURL=media-type.js.map |
@@ -46,3 +46,5 @@ "use strict"; | ||
}(multipart_1.Multipart)); | ||
MultipartRelated.CONTENT_ID = "Content-ID"; | ||
exports.MultipartRelated = MultipartRelated; | ||
MultipartRelated.CONTENT_ID = "Content-ID"; | ||
//# sourceMappingURL=multipart-related.js.map |
@@ -9,1 +9,3 @@ "use strict"; | ||
exports.Multipart = Multipart; | ||
//# sourceMappingURL=multipart.js.map |
@@ -17,1 +17,3 @@ "use strict"; | ||
exports.Part = Part; | ||
//# sourceMappingURL=part.js.map |
@@ -9,6 +9,6 @@ import gulp from "gulp"; | ||
import typescript from "typescript"; | ||
import typings from "gulp-typings"; | ||
import gts from "gulp-typescript"; | ||
import sass from "gulp-sass"; | ||
import merge from "merge2"; | ||
import sourcemaps from "gulp-sourcemaps"; | ||
import tsconfig from "./tsconfig.json"; | ||
@@ -20,3 +20,2 @@ import pkconfig from "./package.json"; | ||
}; | ||
const typingsConfig = "src/typings.json"; | ||
const typescriptSources = [ tsconfig.compilerOptions.rootDir + "/**/*.ts" ]; | ||
@@ -32,7 +31,6 @@ const htmlSources = [ tsconfig.compilerOptions.rootDir + "/**/*.html" ]; | ||
gulp.task("clean", done => gulp.src(clean).pipe(paths(del))); | ||
gulp.task("typings", done => gulp.src(typingsConfig).pipe(typings())); | ||
gulp.task("build-typescript", [ "typings" ], done => { | ||
let stream = gulp.src(typescriptSources).pipe(tsc); | ||
gulp.task("build-typescript", done => { | ||
let stream = gulp.src(typescriptSources).pipe(sourcemaps.init()).pipe(tsc); | ||
return merge([ | ||
stream.js.pipe(gulp.dest(output)), | ||
stream.js.pipe(sourcemaps.write(".", { mapSources: sourcePath => "../" + sourcePath })).pipe(gulp.dest(output)), | ||
stream.dts.pipe(gulp.dest(output)) | ||
@@ -39,0 +37,0 @@ ]); |
{ | ||
"name": "aurelia-http-utils", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"description": "A collection of utilities to interact via HTTP.", | ||
@@ -28,2 +28,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"@types/jasmine": "^2.5.38", | ||
"babel-preset-es2015": "^6.18.0", | ||
@@ -34,5 +35,5 @@ "babel-register": "^6.18.0", | ||
"gulp-jasmine": "^2.4.2", | ||
"gulp-sass": "^2.3.2", | ||
"gulp-sass": "^3.0.0", | ||
"gulp-sourcemaps": "^1.9.1", | ||
"gulp-typescript": "^3.1.3", | ||
"gulp-typings": "^2.0.4", | ||
"jasmine": "^2.5.2", | ||
@@ -42,5 +43,5 @@ "jasmine-reporters": "^2.2.0", | ||
"run-sequence": "^1.2.2", | ||
"typescript": "^2.1.1", | ||
"typescript": "^2.1.4", | ||
"vinyl-paths": "^2.1.0" | ||
} | ||
} |
@@ -9,3 +9,3 @@ import { MediaType } from "./media-type"; | ||
public type: string; | ||
protected type: string; | ||
@@ -12,0 +12,0 @@ protected subtype: string; |
@@ -6,4 +6,6 @@ { | ||
"target": "es5", | ||
"lib": ["es2015", "dom"], | ||
"lib": [ "es2017", "dom" ], | ||
"types": [ "jasmine" ], | ||
"declaration": true, | ||
"allowSyntheticDefaultImports": true, | ||
"experimentalDecorators": true, | ||
@@ -15,3 +17,3 @@ "emitDecoratorMetadata": true | ||
], | ||
"compileOnSave": true | ||
"compileOnSave": false | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
46290
44
560
0
15