Skip to content

Commit

Permalink
0513fbc docs: set syntax highlighting of code examples MD code blocks…
Browse files Browse the repository at this point in the history
… (#59026)
  • Loading branch information
pkozlowski-opensource committed Dec 4, 2024
1 parent 8be7487 commit 0b77b3e
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 25 deletions.
4 changes: 2 additions & 2 deletions BUILD_INFO
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Wed Dec 4 15:26:15 UTC 2024
dc7d555e42839bb9554f77732b213f51d7b09a1c
Wed Dec 4 16:35:13 UTC 2024
0513fbc9fc8d32a4b40e7908cae594754741e587
36 changes: 18 additions & 18 deletions fesm2022/compiler.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.1.0-next.1+sha-dc7d555
* @license Angular v19.1.0-next.1+sha-0513fbc
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -3936,7 +3936,7 @@ function convertFromMaybeForwardRefExpression({ expression, forwardRef, }) {
/**
* Generate an expression that has the given `expr` wrapped in the following form:
*
* ```
* ```ts
* forwardRef(() => expr)
* ```
*/
Expand Down Expand Up @@ -11881,14 +11881,14 @@ const MAX_CHAIN_LENGTH = 256;
*
* For example, two `elementStart` operations in sequence:
*
* ```typescript
* ```ts
* elementStart(0, 'div');
* elementStart(1, 'span');
* ```
*
* Can be called as a chain instead:
*
* ```typescript
* ```ts
* elementStart(0, 'div')(1, 'span');
* ```
*/
Expand Down Expand Up @@ -20931,7 +20931,7 @@ const GOOG_GET_MSG = 'goog.getMsg';
*
* Generates:
*
* ```typescript
* ```ts
* const MSG_FOO = goog.getMsg(
* // Message template.
* 'Sent from {$interpolation} to {$startTagSpan}{$interpolation_1}{$closeTagSpan}.',
Expand Down Expand Up @@ -21375,7 +21375,7 @@ function addSubMessageParams(messageOp, subMessagePlaceholders) {
/**
* Generate statements that define a given translation message.
*
* ```
* ```ts
* var I18N_1;
* if (typeof ngI18nClosureMode !== undefined && ngI18nClosureMode) {
* var MSG_EXTERNAL_XXX = goog.getMsg(
Expand Down Expand Up @@ -21414,7 +21414,7 @@ function getTranslationDeclStmts(message, variable, closureVar, params, transfor
* Create the expression that will be used to guard the closure mode block
* It is equivalent to:
*
* ```
* ```ts
* typeof ngI18nClosureMode !== undefined && ngI18nClosureMode
* ```
*/
Expand Down Expand Up @@ -26520,7 +26520,7 @@ const queryAdvancePlaceholder = Symbol('queryAdvancePlaceholder');
*
* --> will turn into
*
* ```
* ```ts
* bla();
* queryAdvance(2);
* bla();
Expand Down Expand Up @@ -30883,7 +30883,7 @@ function publishFacade(global) {
* @description
* Entry point for all public APIs of the compiler package.
*/
const VERSION = new Version('19.1.0-next.1+sha-dc7d555');
const VERSION = new Version('19.1.0-next.1+sha-0513fbc');

class CompilerConfig {
defaultEncapsulation;
Expand Down Expand Up @@ -32538,7 +32538,7 @@ function internalCompileClassMetadata(metadata) {
* loads dependencies from `@defer` blocks.
*
* Generates a call like this:
* ```
* ```ts
* setClassMetadataAsync(type, () => [
* import('./cmp-a').then(m => m.CmpA);
* import('./cmp-b').then(m => m.CmpB);
Expand Down Expand Up @@ -32735,7 +32735,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
function compileDeclareClassMetadata(metadata) {
const definitionMap = new DefinitionMap();
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
definitionMap.set('ngImport', importExpr(Identifiers.core));
definitionMap.set('type', metadata.type);
definitionMap.set('decorators', metadata.decorators);
Expand All @@ -32753,7 +32753,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
definitionMap.set('ngImport', importExpr(Identifiers.core));
definitionMap.set('type', metadata.type);
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
Expand Down Expand Up @@ -32848,7 +32848,7 @@ function createDirectiveDefinitionMap(meta) {
const definitionMap = new DefinitionMap();
const minVersion = getMinimumVersionForPartialOutput(meta);
definitionMap.set('minVersion', literal(minVersion));
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
// e.g. `type: MyDirective`
definitionMap.set('type', meta.type.value);
if (meta.isStandalone !== undefined) {
Expand Down Expand Up @@ -33267,7 +33267,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
function compileDeclareFactoryFunction(meta) {
const definitionMap = new DefinitionMap();
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
definitionMap.set('ngImport', importExpr(Identifiers.core));
definitionMap.set('type', meta.type.value);
definitionMap.set('deps', compileDependencies(meta.deps));
Expand Down Expand Up @@ -33302,7 +33302,7 @@ function compileDeclareInjectableFromMetadata(meta) {
function createInjectableDefinitionMap(meta) {
const definitionMap = new DefinitionMap();
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
definitionMap.set('ngImport', importExpr(Identifiers.core));
definitionMap.set('type', meta.type.value);
// Only generate providedIn property if it has a non-null value
Expand Down Expand Up @@ -33353,7 +33353,7 @@ function compileDeclareInjectorFromMetadata(meta) {
function createInjectorDefinitionMap(meta) {
const definitionMap = new DefinitionMap();
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
definitionMap.set('ngImport', importExpr(Identifiers.core));
definitionMap.set('type', meta.type.value);
definitionMap.set('providers', meta.providers);
Expand Down Expand Up @@ -33386,7 +33386,7 @@ function createNgModuleDefinitionMap(meta) {
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
}
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
definitionMap.set('ngImport', importExpr(Identifiers.core));
definitionMap.set('type', meta.type.value);
// We only generate the keys in the metadata if the arrays contain values.
Expand Down Expand Up @@ -33437,7 +33437,7 @@ function compileDeclarePipeFromMetadata(meta) {
function createPipeDefinitionMap(meta) {
const definitionMap = new DefinitionMap();
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
definitionMap.set('ngImport', importExpr(Identifiers.core));
// e.g. `type: MyPipe`
definitionMap.set('type', meta.type.value);
Expand Down
2 changes: 1 addition & 1 deletion fesm2022/compiler.mjs.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.1.0-next.1+sha-dc7d555
* @license Angular v19.1.0-next.1+sha-0513fbc
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -677,7 +677,7 @@ export declare type CompileClassMetadataFn = (metadata: R3ClassMetadata) => outp
* loads dependencies from `@defer` blocks.
*
* Generates a call like this:
* ```
* ```ts
* setClassMetadataAsync(type, () => [
* import('./cmp-a').then(m => m.CmpA);
* import('./cmp-b').then(m => m.CmpB);
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@angular/compiler",
"version": "19.1.0-next.1+sha-dc7d555",
"version": "19.1.0-next.1+sha-0513fbc",
"description": "Angular - the compiler library",
"author": "angular",
"license": "MIT",
Expand All @@ -11,7 +11,7 @@
"tslib": "^2.3.0"
},
"peerDependencies": {
"@angular/core": "19.1.0-next.1+sha-dc7d555"
"@angular/core": "19.1.0-next.1+sha-0513fbc"
},
"peerDependenciesMeta": {
"@angular/core": {
Expand Down

0 comments on commit 0b77b3e

Please sign in to comment.