@angular-devkit/core 12.0.4 → 12.0.5

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/node/BUILD.bazel CHANGED
@@ -53,8 +53,6 @@ ts_library(
53
53
  jasmine_node_test(
54
54
  name = "node_test",
55
55
  srcs = [":node_test_lib"],
56
- # TODO: Audit tests to determine if tests can be run in RBE environments
57
- local = True,
58
56
  deps = [
59
57
  "@npm//chokidar",
60
58
  "@npm//temp",
package/node/host.js CHANGED
@@ -50,7 +50,7 @@ class NodeJsAsyncHost {
50
50
  return { synchronous: false };
51
51
  }
52
52
  write(path, content) {
53
- return rxjs_1.from(fs_1.promises.mkdir(src_1.getSystemPath(src_1.dirname(path)), { recursive: true })).pipe(operators_1.mergeMap(() => fs_1.promises.writeFile(src_1.getSystemPath(path), content)));
53
+ return rxjs_1.from(fs_1.promises.mkdir(src_1.getSystemPath(src_1.dirname(path)), { recursive: true })).pipe(operators_1.mergeMap(() => fs_1.promises.writeFile(src_1.getSystemPath(path), new Uint8Array(content))));
54
54
  }
55
55
  read(path) {
56
56
  return rxjs_1.from(fs_1.promises.readFile(src_1.getSystemPath(path))).pipe(operators_1.map((buffer) => new Uint8Array(buffer).buffer));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-devkit/core",
3
- "version": "12.0.4",
3
+ "version": "12.0.5",
4
4
  "description": "Angular DevKit - Core Utility Library",
5
5
  "main": "src/index.js",
6
6
  "typings": "src/index.d.ts",