@fluidframework/container-definitions 1.4.0-111997 → 1.4.0-121020

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/.eslintrc.js CHANGED
@@ -21,5 +21,12 @@ module.exports = {
21
21
  "import/no-nodejs-modules": ["error", { allow: ["assert","events"] }],
22
22
  },
23
23
  },
24
+ {
25
+ // Rules only for type validation files
26
+ files: ["**/types/*validate*Previous*.ts"],
27
+ rules: {
28
+ "@typescript-eslint/comma-spacing": "off",
29
+ },
30
+ },
24
31
  ],
25
32
  };
@@ -2,7 +2,6 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- /// <reference types="node" />
6
5
  import { EventEmitter } from "events";
7
6
  import { IClient } from "@fluidframework/protocol-definitions";
8
7
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"audience.d.ts","sourceRoot":"","sources":["../src/audience.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC3C;;OAEG;IACH,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,cAAc,EAAE,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI,CAAC;IAErG;;OAEG;IACH,UAAU,IAAI,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEnC;;;OAGG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CACpD"}
1
+ {"version":3,"file":"audience.d.ts","sourceRoot":"","sources":["../src/audience.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC3C;;OAEG;IACH,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,cAAc,EAAE,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI,CAAC;IAErG;;OAEG;IACH,UAAU,IAAI,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEnC;;;OAGG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CACpD"}
package/lib/audience.d.ts CHANGED
@@ -2,7 +2,6 @@
2
2
  * Copyright (c) Microsoft Corporation and contributors. All rights reserved.
3
3
  * Licensed under the MIT License.
4
4
  */
5
- /// <reference types="node" />
6
5
  import { EventEmitter } from "events";
7
6
  import { IClient } from "@fluidframework/protocol-definitions";
8
7
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"audience.d.ts","sourceRoot":"","sources":["../src/audience.ts"],"names":[],"mappings":"AAAA;;;GAGG;;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC3C;;OAEG;IACH,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,cAAc,EAAE,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI,CAAC;IAErG;;OAEG;IACH,UAAU,IAAI,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEnC;;;OAGG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CACpD"}
1
+ {"version":3,"file":"audience.d.ts","sourceRoot":"","sources":["../src/audience.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,sCAAsC,CAAC;AAE/D;;;;;GAKG;AACH,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC3C;;OAEG;IACH,EAAE,CAAC,KAAK,EAAE,WAAW,GAAG,cAAc,EAAE,QAAQ,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI,CAAC;IAErG;;OAEG;IACH,UAAU,IAAI,GAAG,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAEnC;;;OAGG;IACH,SAAS,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;CACpD"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluidframework/container-definitions",
3
- "version": "1.4.0-111997",
3
+ "version": "1.4.0-121020",
4
4
  "description": "Fluid container definitions",
5
5
  "homepage": "https://fluidframework.com",
6
6
  "repository": {
@@ -36,23 +36,24 @@
36
36
  "tsc:watch": "tsc --watch",
37
37
  "tsfmt": "tsfmt --verify",
38
38
  "tsfmt:fix": "tsfmt --replace",
39
- "typetests:gen": "fluid-type-validator -g -d ."
39
+ "typetests:gen": "flub generate typetests --generate --dir . --no-generateInName",
40
+ "typetests:prepare": "flub generate typetests --prepare --dir . --pin"
40
41
  },
41
42
  "dependencies": {
42
43
  "@fluidframework/common-definitions": "^0.20.1",
43
- "@fluidframework/core-interfaces": "1.4.0-111997",
44
- "@fluidframework/driver-definitions": "1.4.0-111997",
44
+ "@fluidframework/core-interfaces": "1.4.0-121020",
45
+ "@fluidframework/driver-definitions": "1.4.0-121020",
45
46
  "@fluidframework/protocol-definitions": "^0.1028.2000",
46
47
  "events": "^3.1.0"
47
48
  },
48
49
  "devDependencies": {
49
50
  "@fluidframework/build-common": "^0.24.0",
50
- "@fluidframework/build-tools": "^0.2.74327",
51
- "@fluidframework/container-definitions-previous": "npm:@fluidframework/container-definitions@^1.2.0",
51
+ "@fluidframework/build-tools": "^0.6.0-110101",
52
+ "@fluidframework/container-definitions-previous": "npm:@fluidframework/container-definitions@1.3.1",
52
53
  "@fluidframework/eslint-config-fluid": "^0.28.2000",
53
54
  "@microsoft/api-extractor": "^7.22.2",
54
55
  "@rushstack/eslint-config": "^2.5.1",
55
- "@types/node": "^14.18.0",
56
+ "@types/events": "^3.0.0",
56
57
  "concurrently": "^6.2.0",
57
58
  "copyfiles": "^2.1.0",
58
59
  "eslint": "~8.6.0",
@@ -61,7 +62,9 @@
61
62
  "typescript-formatter": "7.1.0"
62
63
  },
63
64
  "typeValidation": {
64
- "version": "1.3.0",
65
+ "version": "1.4.0",
66
+ "baselineRange": "~1.3.0",
67
+ "baselineVersion": "1.3.1",
65
68
  "broken": {}
66
69
  }
67
70
  }
package/tsconfig.json CHANGED
@@ -7,9 +7,6 @@
7
7
  "rootDir": "./src",
8
8
  "outDir": "./dist",
9
9
  "composite": true,
10
- "types": [
11
- "node"
12
- ]
13
10
  },
14
11
  "include": [
15
12
  "src/**/*"