@jsii/kernel 1.105.0 → 1.106.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.
@@ -1,3 +1,4 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  export declare function digestFile(path: string, ...comments: readonly string[]): Buffer;
3
4
  //# sourceMappingURL=digest-file.d.ts.map
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  export declare class DiskCache {
3
4
  #private;
4
5
  static inDirectory(path: string): DiskCache;
package/lib/kernel.js CHANGED
@@ -441,6 +441,7 @@ _Kernel_assemblies = new WeakMap(), _Kernel_objects = new WeakMap(), _Kernel_cbs
441
441
  };
442
442
  case spec.TypeKind.Interface:
443
443
  throw new JsiiFault(`Cannot create an object with an FQN of an interface: ${fqn}`);
444
+ case spec.TypeKind.Enum:
444
445
  default:
445
446
  throw new JsiiFault(`Unexpected FQN kind: ${fqn}`);
446
447
  }
@@ -787,6 +787,8 @@ function describeTypeOf(value, isVisibleType) {
787
787
  case 'function':
788
788
  case 'number':
789
789
  case 'string':
790
+ case 'bigint':
791
+ case 'symbol':
790
792
  default:
791
793
  return `a ${type}`;
792
794
  }
@@ -4,6 +4,7 @@ exports.defaultCacheRoot = void 0;
4
4
  const os_1 = require("os");
5
5
  const path_1 = require("path");
6
6
  function defaultCacheRoot() {
7
+ // eslint-disable-next-line @typescript-eslint/switch-exhaustiveness-check
7
8
  switch (process.platform) {
8
9
  case 'darwin':
9
10
  if (process.env.HOME)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsii/kernel",
3
- "version": "1.105.0",
3
+ "version": "1.106.0",
4
4
  "description": "kernel for jsii execution environment",
5
5
  "license": "Apache-2.0",
6
6
  "author": {
@@ -31,19 +31,19 @@
31
31
  "package": "package-js"
32
32
  },
33
33
  "dependencies": {
34
- "@jsii/spec": "^1.105.0",
34
+ "@jsii/spec": "^1.106.0",
35
35
  "fs-extra": "^10.1.0",
36
36
  "lockfile": "^1.0.4",
37
37
  "tar": "^6.2.1"
38
38
  },
39
39
  "devDependencies": {
40
- "@scope/jsii-calc-base": "^1.105.0",
41
- "@scope/jsii-calc-lib": "^1.105.0",
40
+ "@scope/jsii-calc-base": "^1.106.0",
41
+ "@scope/jsii-calc-lib": "^1.106.0",
42
42
  "@types/fs-extra": "^9.0.13",
43
43
  "@types/lockfile": "^1.0.4",
44
44
  "@types/tar": "^6.1.13",
45
45
  "jest-expect-message": "^1.1.3",
46
- "jsii-build-tools": "^1.105.0",
46
+ "jsii-build-tools": "^1.106.0",
47
47
  "jsii-calc": "^3.20.120"
48
48
  }
49
49
  }