@trautonen/cdk-dns-validated-certificate
Advanced tools
Comparing version 0.1.4 to 0.1.5
@@ -50,4 +50,3 @@ "use strict"; | ||
var containsSame = (array1, array2) => { | ||
if (array1.length !== array2.length) | ||
return false; | ||
if (array1.length !== array2.length) return false; | ||
return array1.every((v1) => array2.includes(v1)); | ||
@@ -280,16 +279,9 @@ }; | ||
const newHostedZoneIds = Object.values(newProperties.ValidationHostedZones ?? {}).map((zone) => zone.HostedZoneId); | ||
if (!containsSame(oldHostedZoneIds, newHostedZoneIds)) | ||
return true; | ||
if (oldProperties.DomainName !== newProperties.DomainName) | ||
return true; | ||
if (!containsSame(oldProperties.AlternativeDomainNames ?? [], newProperties.AlternativeDomainNames ?? [])) | ||
return true; | ||
if (oldProperties.CertificateRegion !== newProperties.CertificateRegion) | ||
return true; | ||
if (oldProperties.CleanupValidationRecords !== newProperties.CleanupValidationRecords) | ||
return true; | ||
if (oldProperties.TransparencyLoggingEnabled !== newProperties.TransparencyLoggingEnabled) | ||
return true; | ||
if (oldProperties.RemovalPolicy !== newProperties.RemovalPolicy) | ||
return true; | ||
if (!containsSame(oldHostedZoneIds, newHostedZoneIds)) return true; | ||
if (oldProperties.DomainName !== newProperties.DomainName) return true; | ||
if (!containsSame(oldProperties.AlternativeDomainNames ?? [], newProperties.AlternativeDomainNames ?? [])) return true; | ||
if (oldProperties.CertificateRegion !== newProperties.CertificateRegion) return true; | ||
if (oldProperties.CleanupValidationRecords !== newProperties.CleanupValidationRecords) return true; | ||
if (oldProperties.TransparencyLoggingEnabled !== newProperties.TransparencyLoggingEnabled) return true; | ||
if (oldProperties.RemovalPolicy !== newProperties.RemovalPolicy) return true; | ||
return false; | ||
@@ -296,0 +288,0 @@ }; |
@@ -226,3 +226,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
DnsValidatedCertificate[_a] = { fqn: "@trautonen/cdk-dns-validated-certificate.DnsValidatedCertificate", version: "0.1.4" }; | ||
DnsValidatedCertificate[_a] = { fqn: "@tr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W1lfWApLnRvU3RyaW5nKClcbiAgfVxuXG4gIHByaXZhdGUgdmFsaWRhdGVEb21haW5zVG9Ib3N0ZWRab25lcyhkb21haW5OYW1lczogc3RyaW5nW10sIHpvbmVOYW1lczogc3RyaW5nW10pOiBzdHJpbmdbXSB7XG4gICAgY29uc3QgZXJyb3JzOiBzdHJpbmdbXSA9IFtdXG4gICAgZm9yIChjb25zdCBkb21haW5OYW1lIG9mIGRvbWFpbk5hbWVzKSB7XG4gICAgICBjb25zdCByZXNvbHZhYmxlRG9tYWluTmFtZSA9ICFjZGsuVG9rZW4uaXNVbnJlc29sdmVkKGRvbWFpbk5hbWUpXG4gICAgICBjb25zdCByZXNvbHZhYmxlWm9uZU5hbWVzID0gIXpvbmVOYW1lcy5zb21lKCh6b25lTmFtZSkgPT4gY2RrLlRva2VuLmlzVW5yZXNvbHZlZCh6b25lTmFtZSkpXG4gICAgICBpZiAocmVzb2x2YWJsZURvbWFpbk5hbWUgJiYgcmVzb2x2YWJsZVpvbmVOYW1lcyAmJiAhem9uZU5hbWVzLnNvbWUoKHpvbmVOYW1lKSA9PiBkb21haW5OYW1lLmVuZHNXaXRoKHpvbmVOYW1lKSkpIHtcbiAgICAgICAgZXJyb3JzLnB1c2goYERvbWFpbiAke2RvbWFpbk5hbWV9IGlzIG5vdCBwcm92aWRlZCB3aXRoIGF1dGhvcml0YXRpdmUgaG9zdGVkIHpvbmVgKVxuICAgICAgfVxuICAgIH1cbiAgICByZXR1cm4gZXJyb3JzXG4gIH1cbn1cbiJdfQ== |
@@ -45,11 +45,11 @@ { | ||
"@aws-sdk/types": "^3.0.0", | ||
"@types/aws-lambda": "^8.10.137", | ||
"@types/aws-lambda": "^8.10.143", | ||
"@types/jest": "^29.5.12", | ||
"@types/node": "^18", | ||
"@typescript-eslint/eslint-plugin": "^6", | ||
"@typescript-eslint/parser": "^6", | ||
"@typescript-eslint/eslint-plugin": "^7", | ||
"@typescript-eslint/parser": "^7", | ||
"aws-cdk-lib": "2.83.1", | ||
"aws-lambda": "^1.0.7", | ||
"constructs": "10.0.5", | ||
"esbuild": "^0.20.2", | ||
"esbuild": "^0.23.0", | ||
"eslint": "^8", | ||
@@ -63,12 +63,12 @@ "eslint-config-prettier": "^8.10.0", | ||
"jsii": "~5.4.0", | ||
"jsii-diff": "^1.97.0", | ||
"jsii-diff": "^1.102.0", | ||
"jsii-docgen": "^8.0.56", | ||
"jsii-pacmak": "^1.97.0", | ||
"jsii-pacmak": "^1.102.0", | ||
"jsii-rosetta": "~5.4.0", | ||
"prettier": "^2.8.8", | ||
"projen": "^0.81.4", | ||
"projen": "^0.85.0", | ||
"standard-version": "^9", | ||
"ts-jest": "^29.1.2", | ||
"ts-jest": "^29.2.4", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.4.5" | ||
"typescript": "^5.5.4" | ||
}, | ||
@@ -92,7 +92,10 @@ "peerDependencies": { | ||
}, | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"jest": { | ||
"coverageProvider": "v8", | ||
"testMatch": [ | ||
"<rootDir>/src/**/__tests__/**/*.ts?(x)", | ||
"<rootDir>/@(test|src)/**/*(*.)@(spec|test).ts?(x)" | ||
"<rootDir>/@(src|test)/**/*(*.)@(spec|test).ts?(x)", | ||
"<rootDir>/@(src|test)/**/__tests__/**/*.ts?(x)", | ||
"<rootDir>/@(projenrc)/**/*(*.)@(spec|test).ts?(x)", | ||
"<rootDir>/@(projenrc)/**/__tests__/**/*.ts?(x)" | ||
], | ||
@@ -99,0 +102,0 @@ "clearMocks": true, |
Sorry, the diff of this file is not supported yet
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
320870
1236