@angular-builders/timestamp
Advanced tools
Comparing version 10.0.1-beta.12 to 10.0.1
@@ -6,106 +6,58 @@ # Change Log | ||
## <small>10.0.1-beta.12 (2020-09-06)</small> | ||
## <small>10.0.1 (2020-09-09)</small> | ||
* chore: update dependencies (#831) ([b475080](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/b475080)), closes [#831](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/issues/831) | ||
**Note:** Version bump only for package @angular-builders/timestamp | ||
## <small>10.0.1-beta.12 (2020-09-06)</small> | ||
- chore: update dependencies (#831) ([b475080](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/b475080)), closes [#831](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/issues/831) | ||
## <small>10.0.1-beta.11 (2020-09-04)</small> | ||
* chore(deps-dev): bump typescript from 3.9.7 to 4.0.2 ([418d8ed](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/418d8ed)) | ||
- chore(deps-dev): bump typescript from 3.9.7 to 4.0.2 ([418d8ed](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/418d8ed)) | ||
## <small>10.0.1-beta.10 (2020-09-03)</small> | ||
* chore(deps): bump @angular-devkit/build-angular ([1e6ea84](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/1e6ea84)) | ||
- chore(deps): bump @angular-devkit/build-angular ([1e6ea84](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/1e6ea84)) | ||
## <small>10.0.1-beta.9 (2020-09-01)</small> | ||
* chore(deps): bump ts-node from 8.10.2 to 9.0.0 ([7de38ff](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/7de38ff)) | ||
- chore(deps): bump ts-node from 8.10.2 to 9.0.0 ([7de38ff](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/7de38ff)) | ||
## <small>10.0.1-beta.8 (2020-09-01)</small> | ||
* chore(deps): bump @angular-devkit/build-angular ([f0b361a](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/f0b361a)) | ||
- chore(deps): bump @angular-devkit/build-angular ([f0b361a](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/f0b361a)) | ||
## <small>10.0.1-beta.7 (2020-09-01)</small> | ||
* chore(deps-dev): bump karma from 5.1.1 to 5.2.0 ([a58b0d6](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/a58b0d6)) | ||
- chore(deps-dev): bump karma from 5.1.1 to 5.2.0 ([a58b0d6](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/a58b0d6)) | ||
## <small>10.0.1-beta.6 (2020-08-21)</small> | ||
* chore(deps): bump @angular-devkit/build-angular ([ac8c8f3](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/ac8c8f3)) | ||
- chore(deps): bump @angular-devkit/build-angular ([ac8c8f3](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/ac8c8f3)) | ||
## <small>10.0.1-beta.5 (2020-08-18)</small> | ||
* chore(deps): bump zone.js from 0.10.3 to 0.11.0 ([ed4e820](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/ed4e820)) | ||
- chore(deps): bump zone.js from 0.10.3 to 0.11.0 ([ed4e820](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/ed4e820)) | ||
## <small>10.0.1-beta.4 (2020-08-13)</small> | ||
* chore(deps): bump @angular-devkit/build-angular ([fe2fd7b](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/fe2fd7b)) | ||
- chore(deps): bump @angular-devkit/build-angular ([fe2fd7b](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/fe2fd7b)) | ||
## <small>10.0.1-beta.3 (2020-08-11)</small> | ||
* chore(deps-dev): bump karma-jasmine from 3.3.1 to 4.0.0 ([03cc6c7](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/03cc6c7)) | ||
- chore(deps-dev): bump karma-jasmine from 3.3.1 to 4.0.0 ([03cc6c7](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/03cc6c7)) | ||
## <small>10.0.1-beta.2 (2020-08-01)</small> | ||
* chore(deps): bump @angular-devkit/build-angular ([4d85c19](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/4d85c19)) | ||
- chore(deps): bump @angular-devkit/build-angular ([4d85c19](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/4d85c19)) | ||
## <small>10.0.1-beta.1 (2020-07-30)</small> | ||
* chore(deps-dev): bump jasmine-core from 3.5.0 to 3.6.0 ([7928992](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/7928992)) | ||
- chore(deps-dev): bump jasmine-core from 3.5.0 to 3.6.0 ([7928992](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/7928992)) | ||
## <small>10.0.1-beta.0 (2020-07-30)</small> | ||
* chore(deps): bump @angular-devkit/build-angular ([1bb4f68](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/1bb4f68)) | ||
- chore(deps): bump @angular-devkit/build-angular ([1bb4f68](https://github.com/just-jeb/angular-builders/tree/master/packages/timestamp/commit/1bb4f68)) | ||
## 10.0.0 (2020-07-21) | ||
@@ -112,0 +64,0 @@ |
@@ -23,6 +23,3 @@ "use strict"; | ||
exports.Convert = Convert; | ||
function invalidValue(typ, val, key = '') { | ||
if (key) { | ||
throw Error(`Invalid value for key "${key}". Expected type ${JSON.stringify(typ)} but got ${JSON.stringify(val)}`); | ||
} | ||
function invalidValue(typ, val) { | ||
throw Error(`Invalid value ${JSON.stringify(val)} for type ${JSON.stringify(typ)}`); | ||
@@ -46,7 +43,7 @@ } | ||
} | ||
function transform(val, typ, getProps, key = '') { | ||
function transform(val, typ, getProps) { | ||
function transformPrimitive(typ, val) { | ||
if (typeof typ === typeof val) | ||
return val; | ||
return invalidValue(typ, val, key); | ||
return invalidValue(typ, val); | ||
} | ||
@@ -94,7 +91,7 @@ function transformUnion(typs, val) { | ||
const v = Object.prototype.hasOwnProperty.call(val, key) ? val[key] : undefined; | ||
result[prop.key] = transform(v, prop.typ, getProps, prop.key); | ||
result[prop.key] = transform(v, prop.typ, getProps); | ||
}); | ||
Object.getOwnPropertyNames(val).forEach(key => { | ||
if (!Object.prototype.hasOwnProperty.call(props, key)) { | ||
result[key] = transform(val[key], additional, getProps, key); | ||
result[key] = transform(val[key], additional, getProps); | ||
} | ||
@@ -101,0 +98,0 @@ }); |
{ | ||
"name": "@angular-builders/timestamp", | ||
"version": "10.0.1-beta.12", | ||
"version": "10.0.1", | ||
"repository": { | ||
@@ -35,3 +35,3 @@ "type": "git", | ||
}, | ||
"gitHead": "92c114e327a2874a56b11b1a64495200916ae3d7" | ||
"gitHead": "c37cb510e96f1f22b8f2f2836536f5d0809cc888" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1
29495
215