aurelia-json
Advanced tools
Comparing version 0.3.1 to 0.4.0
@@ -6,3 +6,3 @@ "use strict"; | ||
for (var _i = 0; _i < arguments.length; _i++) { | ||
properties[_i - 0] = arguments[_i]; | ||
properties[_i] = arguments[_i]; | ||
} | ||
@@ -12,1 +12,3 @@ return Reflect.metadata(metadataKeys.jsonIgnore, properties); | ||
exports.jsonIgnore = jsonIgnore; | ||
//# sourceMappingURL=decorators.js.map |
@@ -26,1 +26,3 @@ "use strict"; | ||
exports.configure = configure; | ||
//# sourceMappingURL=index.js.map |
@@ -36,1 +36,3 @@ "use strict"; | ||
exports.JsonDecoder = JsonDecoder; | ||
//# sourceMappingURL=json-decoder.js.map |
@@ -58,3 +58,2 @@ "use strict"; | ||
}()); | ||
exports.JsonEncoder = JsonEncoder; | ||
JsonEncoder.START_OBJECT = "{"; | ||
@@ -71,1 +70,4 @@ JsonEncoder.END_OBJECT = "}"; | ||
JsonEncoder.SEPARATOR = ","; | ||
exports.JsonEncoder = JsonEncoder; | ||
//# sourceMappingURL=json-encoder.js.map |
@@ -23,1 +23,3 @@ "use strict"; | ||
exports.JsonMultipartRelatedInterceptor = JsonMultipartRelatedInterceptor; | ||
//# sourceMappingURL=json-multipart-related-interceptor.js.map |
@@ -142,1 +142,3 @@ "use strict"; | ||
exports.JsonPatch = JsonPatch; | ||
//# sourceMappingURL=json-patch.js.map |
@@ -8,1 +8,3 @@ "use strict"; | ||
exports.JsonPointer = JsonPointer; | ||
//# sourceMappingURL=json-pointer.js.map |
@@ -30,1 +30,3 @@ "use strict"; | ||
exports.JsonSchema = JsonSchema; | ||
//# sourceMappingURL=json-schema.js.map |
"use strict"; | ||
exports.jsonIgnore = "json:ignore"; | ||
//# sourceMappingURL=metadata-keys.js.map |
@@ -36,1 +36,3 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=json-encoder.js.map |
@@ -110,1 +110,3 @@ "use strict"; | ||
}); | ||
//# sourceMappingURL=json-patch.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-json", | ||
"version": "0.3.1", | ||
"version": "0.4.0", | ||
"description": "A JSON plugin for Aurelia based projects.", | ||
@@ -26,9 +26,10 @@ "keywords": [ | ||
"dependencies": { | ||
"aurelia-dependency-injection": "^1.2.0", | ||
"aurelia-framework": "^1.0.7", | ||
"aurelia-dependency-injection": "^1.2.1", | ||
"aurelia-framework": "^1.0.8", | ||
"aurelia-http-client": "^1.0.3", | ||
"aurelia-http-utils": "^0.2.2", | ||
"type-binder": "^0.2.0" | ||
"aurelia-http-utils": "^0.3.0", | ||
"type-binder": "^0.3.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jasmine": "^2.5.38", | ||
"babel-preset-es2015": "^6.18.0", | ||
@@ -39,5 +40,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", | ||
@@ -47,5 +48,5 @@ "jasmine-reporters": "^2.2.0", | ||
"run-sequence": "^1.2.2", | ||
"typescript": "^2.1.1", | ||
"typescript": "^2.1.4", | ||
"vinyl-paths": "^2.1.0" | ||
} | ||
} |
@@ -1,10 +0,10 @@ | ||
import { FrameworkConfiguration} from "aurelia-framework"; | ||
import { Container} from "aurelia-dependency-injection"; | ||
import { HttpClient} from "aurelia-http-client"; | ||
import { JsonSchema} from "./json-schema"; | ||
import { JsonPatch} from "./json-patch"; | ||
import { JsonPointer} from "./json-pointer"; | ||
import { JsonEncoder} from "./json-encoder"; | ||
import { JsonDecoder} from "./json-decoder"; | ||
import { JsonMultipartRelatedInterceptor} from "./json-multipart-related-interceptor"; | ||
import { FrameworkConfiguration } from "aurelia-framework"; | ||
import { Container } from "aurelia-dependency-injection"; | ||
import { HttpClient } from "aurelia-http-client"; | ||
import { JsonSchema } from "./json-schema"; | ||
import { JsonPatch } from "./json-patch"; | ||
import { JsonPointer } from "./json-pointer"; | ||
import { JsonEncoder } from "./json-encoder"; | ||
import { JsonDecoder } from "./json-decoder"; | ||
import { JsonMultipartRelatedInterceptor } from "./json-multipart-related-interceptor"; | ||
@@ -22,2 +22,2 @@ export function configure(frameworkConfiguration: FrameworkConfiguration, pluginConfiguration: Function) { | ||
export { JsonSchema, JsonPatch, JsonPointer, JsonEncoder, JsonDecoder, JsonMultipartRelatedInterceptor}; | ||
export { JsonSchema, JsonPatch, JsonPointer, JsonEncoder, JsonDecoder, JsonMultipartRelatedInterceptor }; |
@@ -6,4 +6,6 @@ { | ||
"target": "es5", | ||
"lib": ["es2015", "dom"], | ||
"lib": [ "es2017", "dom" ], | ||
"types": [ "jasmine" ], | ||
"declaration": true, | ||
"allowSyntheticDefaultImports": true, | ||
"experimentalDecorators": true, | ||
@@ -10,0 +12,0 @@ "emitDecoratorMetadata": true |
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
82110
52
968
15
+ Addedaurelia-http-utils@0.3.1(transitive)
+ Addedtype-binder@0.3.1(transitive)
- Removedaurelia-http-utils@0.2.2(transitive)
- Removedtype-binder@0.2.1(transitive)
Updatedaurelia-framework@^1.0.8
Updatedaurelia-http-utils@^0.3.0
Updatedtype-binder@^0.3.0