cdk-ecr-deployment 0.0.81 → 0.0.85

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/.jsii +8 -8
  2. package/lambda/Makefile +6 -3
  3. package/lambda/go.mod +3 -1
  4. package/lambda/go.sum +237 -66
  5. package/lib/index.js +3 -3
  6. package/node_modules/@types/cacheable-request/node_modules/@types/node/README.md +1 -1
  7. package/node_modules/@types/cacheable-request/node_modules/@types/node/package.json +2 -2
  8. package/node_modules/@types/cacheable-request/node_modules/@types/node/stream/web.d.ts +385 -0
  9. package/node_modules/@types/keyv/node_modules/@types/node/README.md +1 -1
  10. package/node_modules/@types/keyv/node_modules/@types/node/package.json +2 -2
  11. package/node_modules/@types/keyv/node_modules/@types/node/stream/web.d.ts +385 -0
  12. package/node_modules/@types/responselike/node_modules/@types/node/README.md +1 -1
  13. package/node_modules/@types/responselike/node_modules/@types/node/package.json +2 -2
  14. package/node_modules/@types/responselike/node_modules/@types/node/stream/web.d.ts +385 -0
  15. package/node_modules/got/dist/source/as-promise/parse-body.d.ts +1 -1
  16. package/node_modules/got/dist/source/as-promise/types.js +2 -0
  17. package/node_modules/got/dist/source/core/index.d.ts +1 -1
  18. package/node_modules/got/dist/source/core/index.js +9 -3
  19. package/node_modules/got/dist/source/types.d.ts +14 -12
  20. package/node_modules/got/package.json +2 -2
  21. package/node_modules/got/readme.md +11 -10
  22. package/node_modules/keyv/LICENSE +1 -1
  23. package/node_modules/keyv/README.md +12 -10
  24. package/node_modules/keyv/package.json +17 -12
  25. package/node_modules/keyv/src/index.js +14 -16
  26. package/package.json +22 -22
package/.jsii CHANGED
@@ -6,13 +6,13 @@
6
6
  ]
7
7
  },
8
8
  "bundled": {
9
- "got": "^11.8.2"
9
+ "got": "^11.8.3"
10
10
  },
11
11
  "dependencies": {
12
- "@aws-cdk/aws-ec2": "^1.128.0",
13
- "@aws-cdk/aws-iam": "^1.128.0",
14
- "@aws-cdk/aws-lambda": "^1.128.0",
15
- "@aws-cdk/core": "^1.128.0",
12
+ "@aws-cdk/aws-ec2": "^1.134.0",
13
+ "@aws-cdk/aws-iam": "^1.134.0",
14
+ "@aws-cdk/aws-lambda": "^1.134.0",
15
+ "@aws-cdk/core": "^1.134.0",
16
16
  "constructs": "^3.2.27"
17
17
  },
18
18
  "dependencyClosure": {
@@ -668,7 +668,7 @@
668
668
  "stability": "stable"
669
669
  },
670
670
  "homepage": "https://github.com/cdklabs/cdk-ecr-deployment",
671
- "jsiiVersion": "1.39.0 (build 8af72c2)",
671
+ "jsiiVersion": "1.46.0 (build cd08c55)",
672
672
  "keywords": [
673
673
  "cdk"
674
674
  ],
@@ -1096,6 +1096,6 @@
1096
1096
  "symbolId": "src/index:S3ArchiveName"
1097
1097
  }
1098
1098
  },
1099
- "version": "0.0.81",
1100
- "fingerprint": "5B4QU5vY2Z1gF+eXYJA/sqVl72Qwrvh/3p9MCmy4z5A="
1099
+ "version": "0.0.85",
1100
+ "fingerprint": "qa6WYFntbl5LaxNBg3jN+pQSWbA7oIQzpQzdmokFIdI="
1101
1101
  }
package/lambda/Makefile CHANGED
@@ -1,7 +1,7 @@
1
1
  # Taken from https://github.com/containers/skopeo
2
2
  # Modifications Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
3
3
 
4
- .PHONY: all lambda test
4
+ .PHONY: all lambda test upgrade-deps
5
5
 
6
6
  GPGME_ENV := CGO_CFLAGS="$(shell gpgme-config --cflags 2>/dev/null)" CGO_LDFLAGS="$(shell gpgme-config --libs 2>/dev/null)"
7
7
  GO ?= go
@@ -21,10 +21,13 @@ endif
21
21
  BUILDTAGS := exclude_graphdriver_devicemapper exclude_graphdriver_btrfs containers_image_openpgp
22
22
  OUTPUT ?= cdk-ecr-deployment-handler
23
23
 
24
- all: lambda
24
+ all: test lambda
25
+
26
+ upgrade-deps:
27
+ CGO_ENABLED=0 $(GPGME_ENV) $(GO) get -u -tags "$(BUILDTAGS)"
25
28
 
26
29
  lambda:
27
30
  CGO_ENABLED=0 $(GPGME_ENV) $(GO) build ${GO_DYN_FLAGS} -gcflags "$(GOGCFLAGS)" -tags "$(BUILDTAGS)" -o $(OUTPUT)
28
31
 
29
32
  test:
30
- $(GO) test -v ./...
33
+ CGO_ENABLED=0 $(GPGME_ENV) $(GO) test -v -tags "$(BUILDTAGS)" ./...
package/lambda/go.mod CHANGED
@@ -8,9 +8,11 @@ require (
8
8
  github.com/aws/aws-sdk-go-v2/config v1.1.6
9
9
  github.com/aws/aws-sdk-go-v2/service/ecr v1.2.2
10
10
  github.com/aws/aws-sdk-go-v2/service/s3 v1.5.0
11
- github.com/containers/image/v5 v5.11.0
11
+ github.com/containerd/containerd v1.5.8 // indirect
12
+ github.com/containers/image/v5 v5.17.0
12
13
  github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da
13
14
  github.com/opencontainers/go-digest v1.0.0
15
+ github.com/opencontainers/image-spec v1.0.2-0.20211123152302-43a7dee1ec31 // indirect
14
16
  github.com/pkg/errors v0.9.1
15
17
  github.com/sirupsen/logrus v1.8.1
16
18
  github.com/stretchr/testify v1.7.0