docker-composer 5.0.1 → 5.1.0

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.
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Generate Docker Compose descriptor from a JSON document.
4
4
 
5
- ![Node.js CI](https://github.com/tudvari/docker-composer/workflows/Node.js%20CI/badge.svg)
5
+ [![Build & Test](https://github.com/tudvari/docker-composer/actions/workflows/nodejs.yml/badge.svg)](https://github.com/tudvari/docker-composer/actions/workflows/nodejs.yml)
6
6
  [![npm version](https://badge.fury.io/js/docker-composer.svg)](https://badge.fury.io/js/docker-composer)
7
7
  [![CodeQL](https://github.com/tudvari/docker-composer/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/tudvari/docker-composer/actions/workflows/codeql-analysis.yml)
8
8
  ## About the package
@@ -14,8 +14,10 @@ Docker Compose Reference is [HERE](https://docs.docker.com/compose/compose-file/
14
14
 
15
15
  ### Changes of the Latest Release
16
16
 
17
- ## Version 5.0.1 (19.09.2023)
17
+ ## Version 5.1.0 (26.05.2024)
18
18
  - Update dependencies
19
+ - Support aux_addresses keyword in network/ipam config object
20
+ - Support attachable keyword in network config object
19
21
 
20
22
  You can find all Release Notes [HERE](https://github.com/tudvari/docker-composer/blob/master/ReleaseNotes.md).
21
23
 
package/ReleaseNotes.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release Notes
2
2
 
3
+ ## Version 5.1.0 (26.05.2024)
4
+ - Update dependencies
5
+ - Support aux_addresses keyword in network/ipam config object
6
+ - Support attachable keyword in network config object
7
+
8
+ ## Version 5.0.2 (21.10.2023)
9
+ - Update dependencies
10
+
3
11
  ## Version 5.0.1 (19.09.2023)
4
12
  - Update dependencies
5
13
 
@@ -0,0 +1,9 @@
1
+ import globals from "globals";
2
+ import pluginJs from "@eslint/js";
3
+
4
+
5
+ export default [
6
+ {files: ["**/*.js"], languageOptions: {sourceType: "commonjs"}},
7
+ {languageOptions: { globals: globals.browser }},
8
+ pluginJs.configs.recommended,
9
+ ];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "docker-composer",
3
- "version": "5.0.1",
3
+ "version": "5.1.0",
4
4
  "description": "Library for generating docker-compose.yml from JSON.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -35,11 +35,11 @@
35
35
  "jsonschema": "^1.4.0"
36
36
  },
37
37
  "devDependencies": {
38
- "eslint": "^8.30.0",
39
- "eslint-config-google": "^0.14.0",
38
+ "@eslint/js": "^9.0.0",
39
+ "globals": "^15.0.0",
40
40
  "js-yaml": "^4.0.0",
41
- "json-schema-to-typescript": "^13.0.1",
42
- "mocha": "10.2.0",
41
+ "json-schema-to-typescript": "^14.0.0",
42
+ "mocha": "10.4.0",
43
43
  "nyc": "^15.1.0",
44
44
  "should": "13.2.3"
45
45
  },
package/schema.json CHANGED
@@ -290,12 +290,16 @@
290
290
  "type": "object",
291
291
  "properties": {
292
292
  "driver": {"type": "string"},
293
+ "attachable": {"type": "boolean"},
293
294
  "config": {
294
295
  "type": "array",
295
296
  "items": {
296
297
  "type": "object",
297
298
  "properties": {
298
- "subnet": {"type": "string", "format": "subnet_ip_address"}
299
+ "subnet": {"type": "string", "format": "subnet_ip_address"},
300
+ "aux_addresses" : {
301
+ "type" : "#/definitions/list_or_dict"
302
+ }
299
303
  },
300
304
  "additionalProperties": false
301
305
  }