@angular-devkit/core 19.0.0-next.0 → 19.0.0-next.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-devkit/core",
3
- "version": "19.0.0-next.0",
3
+ "version": "19.0.0-next.2",
4
4
  "description": "Angular DevKit - Core Utility Library",
5
5
  "main": "src/index.js",
6
6
  "typings": "src/index.d.ts",
@@ -5,9 +5,6 @@
5
5
  * Use of this source code is governed by an MIT-style license that can be
6
6
  * found in the LICENSE file at https://angular.dev/license
7
7
  */
8
- import { TemplateTag } from '../../utils/literals';
9
8
  import { FileBuffer } from './interface';
10
9
  export declare function stringToFileBuffer(str: string): FileBuffer;
11
10
  export declare function fileBufferToString(fileBuffer: FileBuffer): string;
12
- /** @deprecated use `stringToFileBuffer` instead. */
13
- export declare const fileBuffer: TemplateTag<FileBuffer>;
@@ -7,7 +7,6 @@
7
7
  * found in the LICENSE file at https://angular.dev/license
8
8
  */
9
9
  Object.defineProperty(exports, "__esModule", { value: true });
10
- exports.fileBuffer = void 0;
11
10
  exports.stringToFileBuffer = stringToFileBuffer;
12
11
  exports.fileBufferToString = fileBufferToString;
13
12
  const node_util_1 = require("node:util");
@@ -20,8 +19,3 @@ function fileBufferToString(fileBuffer) {
20
19
  }
21
20
  return new node_util_1.TextDecoder('utf-8').decode(new Uint8Array(fileBuffer));
22
21
  }
23
- /** @deprecated use `stringToFileBuffer` instead. */
24
- const fileBuffer = (strings, ...values) => {
25
- return stringToFileBuffer(String.raw(strings, ...values));
26
- };
27
- exports.fileBuffer = fileBuffer;