Skip to content

Commit 302a96d

Browse files
author
Angular Builds
committed
144f2bf build: update to TypeScript 5.5
1 parent 310031f commit 302a96d

25 files changed

+59
-79
lines changed

node/cli-logger.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8-
/// <reference types="node" />
98
import { logging } from '../src';
109
export interface ProcessOutput {
1110
write(buffer: string | Buffer): boolean;

node/cli-logger.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* found in the LICENSE file at https://angular.io/license
88
*/
99
Object.defineProperty(exports, "__esModule", { value: true });
10-
exports.createConsoleLogger = void 0;
10+
exports.createConsoleLogger = createConsoleLogger;
1111
const rxjs_1 = require("rxjs");
1212
const src_1 = require("../src");
1313
/**
@@ -55,4 +55,3 @@ function createConsoleLogger(verbose = false, stdout = process.stdout, stderr =
5555
});
5656
return logger;
5757
}
58-
exports.createConsoleLogger = createConsoleLogger;

node/host.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8-
/// <reference types="node" />
98
import { Stats } from 'node:fs';
109
import { Observable } from 'rxjs';
1110
import { Path, PathFragment, virtualFs } from '../src';

node/testing/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* Use of this source code is governed by an MIT-style license that can be
66
* found in the LICENSE file at https://angular.io/license
77
*/
8-
/// <reference types="node" />
98
import * as fs from 'fs';
109
import { Path, virtualFs } from '../../src';
1110
/**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular-devkit/core",
3-
"version": "18.1.0-next.0+sha-43f3650",
3+
"version": "18.1.0-next.0+sha-144f2bf",
44
"description": "Angular DevKit - Core Utility Library",
55
"main": "src/index.js",
66
"typings": "src/index.d.ts",

src/json/schema/pointer.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@
77
* found in the LICENSE file at https://angular.io/license
88
*/
99
Object.defineProperty(exports, "__esModule", { value: true });
10-
exports.parseJsonPointer = exports.joinJsonPointer = exports.buildJsonPointer = void 0;
10+
exports.buildJsonPointer = buildJsonPointer;
11+
exports.joinJsonPointer = joinJsonPointer;
12+
exports.parseJsonPointer = parseJsonPointer;
1113
function buildJsonPointer(fragments) {
1214
return ('/' +
1315
fragments
@@ -16,14 +18,12 @@ function buildJsonPointer(fragments) {
1618
})
1719
.join('/'));
1820
}
19-
exports.buildJsonPointer = buildJsonPointer;
2021
function joinJsonPointer(root, ...others) {
2122
if (root == '/') {
2223
return buildJsonPointer(others);
2324
}
2425
return (root + buildJsonPointer(others));
2526
}
26-
exports.joinJsonPointer = joinJsonPointer;
2727
function parseJsonPointer(pointer) {
2828
if (pointer === '') {
2929
return [];
@@ -36,4 +36,3 @@ function parseJsonPointer(pointer) {
3636
.split(/\//)
3737
.map((str) => str.replace(/~1/g, '/').replace(/~0/g, '~'));
3838
}
39-
exports.parseJsonPointer = parseJsonPointer;

src/json/schema/schema.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
* found in the LICENSE file at https://angular.io/license
88
*/
99
Object.defineProperty(exports, "__esModule", { value: true });
10-
exports.mergeSchemas = exports.isJsonSchema = void 0;
10+
exports.isJsonSchema = isJsonSchema;
11+
exports.mergeSchemas = mergeSchemas;
1112
const utils_1 = require("../utils");
1213
function isJsonSchema(value) {
1314
return (0, utils_1.isJsonObject)(value) || value === false || value === true;
1415
}
15-
exports.isJsonSchema = isJsonSchema;
1616
/**
1717
* Return a schema that is the merge of all subschemas, ie. it should validate all the schemas
1818
* that were passed in. It is possible to make an invalid schema this way, e.g. by using
@@ -49,4 +49,3 @@ function mergeSchemas(...schemas) {
4949
}
5050
}, true);
5151
}
52-
exports.mergeSchemas = mergeSchemas;

src/json/schema/transforms.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* found in the LICENSE file at https://angular.io/license
88
*/
99
Object.defineProperty(exports, "__esModule", { value: true });
10-
exports.addUndefinedDefaults = void 0;
10+
exports.addUndefinedDefaults = addUndefinedDefaults;
1111
const utils_1 = require("../utils");
1212
const utility_1 = require("./utility");
1313
function addUndefinedDefaults(value, _pointer, schema) {
@@ -91,4 +91,3 @@ function addUndefinedDefaults(value, _pointer, schema) {
9191
}
9292
return value;
9393
}
94-
exports.addUndefinedDefaults = addUndefinedDefaults;

src/json/schema/utility.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* found in the LICENSE file at https://angular.io/license
88
*/
99
Object.defineProperty(exports, "__esModule", { value: true });
10-
exports.getTypesOfSchema = void 0;
10+
exports.getTypesOfSchema = getTypesOfSchema;
1111
const utils_1 = require("../utils");
1212
const allTypes = ['string', 'integer', 'number', 'object', 'array', 'boolean', 'null'];
1313
function getTypesOfSchema(schema) {
@@ -85,4 +85,3 @@ function getTypesOfSchema(schema) {
8585
}
8686
return potentials;
8787
}
88-
exports.getTypesOfSchema = getTypesOfSchema;

src/json/schema/visitor.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
* found in the LICENSE file at https://angular.io/license
88
*/
99
Object.defineProperty(exports, "__esModule", { value: true });
10-
exports.visitJsonSchema = exports.visitJson = void 0;
10+
exports.visitJson = visitJson;
11+
exports.visitJsonSchema = visitJsonSchema;
1112
const rxjs_1 = require("rxjs");
1213
const pointer_1 = require("./pointer");
1314
function _getObjectSubSchema(schema, key) {
@@ -84,7 +85,6 @@ function _visitJsonRecursive(json, visitor, ptr, schema, refResolver, context, r
8485
function visitJson(json, visitor, schema, refResolver, context) {
8586
return _visitJsonRecursive(json, visitor, (0, pointer_1.buildJsonPointer)([]), schema, refResolver, context);
8687
}
87-
exports.visitJson = visitJson;
8888
function visitJsonSchema(schema, visitor) {
8989
if (schema === false || schema === true) {
9090
// Nothing to visit.
@@ -144,4 +144,3 @@ function visitJsonSchema(schema, visitor) {
144144
}
145145
_traverse(schema, (0, pointer_1.buildJsonPointer)([]), schema);
146146
}
147-
exports.visitJsonSchema = visitJsonSchema;

0 commit comments

Comments
 (0)