Skip to content

Commit 51dc719

Browse files
ClearScript 7.3: Added V8ScriptEngineFlags.EnableStringifyEnhancements (GitHub Issue #376); the V8 ICU data is now packaged as a managed library to ease deployment; V8 and JScript startup scripts are now minified; fixed Exception.TargetSite reflection hole and added V8ScriptEngineFlags.HideHostExceptions (GitHub Issue #382); fixed typeof-literal comparison in V8; V8Update.cmd now works in a Visual Studio 2022 command prompt; Rosetta is no longer required for macOS builds on the arm64 (M1) architecture; updated build, deployment, and API documentation. Tested with V8 10.2.154.5.
1 parent cc2f946 commit 51dc719

File tree

774 files changed

+3319
-2839
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

774 files changed

+3319
-2839
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ _ReSharper*/
3434
*.VC.db
3535
V8/build/
3636
V8/DepotTools.zip
37+
V8/icudtl.dat
3738
.vs/
3839
packages/
3940
NuGet/Private/

ClearScript.sln

+21-10
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.29418.71
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.2.32519.379
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScriptTest", "NetFramework\ClearScriptTest\ClearScriptTest.csproj", "{EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D}"
77
ProjectSection(ProjectDependencies) = postProject
@@ -32,11 +32,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScriptConsole", "NetCo
3232
EndProject
3333
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScriptTest", "NetCore\ClearScriptTest\ClearScriptTest.csproj", "{269669D3-78D8-4AF3-A2AF-08D3446BD6BC}"
3434
ProjectSection(ProjectDependencies) = postProject
35-
{7B3EA81F-F60B-46DB-B3F0-22F68E8A8FAD} = {7B3EA81F-F60B-46DB-B3F0-22F68E8A8FAD}
36-
{EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D} = {EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D}
37-
{C8AE52BB-BFEE-4816-A9FE-8653CEE36C96} = {C8AE52BB-BFEE-4816-A9FE-8653CEE36C96}
3835
{497012BC-959C-43A0-90A6-156A35DF2F43} = {497012BC-959C-43A0-90A6-156A35DF2F43}
3936
{6576FFFD-BA73-4123-8E4B-8589E5163C04} = {6576FFFD-BA73-4123-8E4B-8589E5163C04}
37+
{7B3EA81F-F60B-46DB-B3F0-22F68E8A8FAD} = {7B3EA81F-F60B-46DB-B3F0-22F68E8A8FAD}
38+
{C8AE52BB-BFEE-4816-A9FE-8653CEE36C96} = {C8AE52BB-BFEE-4816-A9FE-8653CEE36C96}
39+
{EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D} = {EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D}
4040
EndProjectSection
4141
EndProject
4242
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".NET Framework", ".NET Framework", "{526BA3EF-4E1D-48C1-9923-2485B63993EE}"
@@ -68,6 +68,7 @@ EndProject
6868
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScript.V8", "NetFramework\ClearScript.V8\ClearScript.V8.csproj", "{59CC81A3-3D97-469A-9C8B-533F920085F1}"
6969
ProjectSection(ProjectDependencies) = postProject
7070
{2D63EA35-BA9C-4E77-B5A4-4938DBBFEFA6} = {2D63EA35-BA9C-4E77-B5A4-4938DBBFEFA6}
71+
{47FC5CB5-A6F2-4FEE-99F8-A758D3A7373C} = {47FC5CB5-A6F2-4FEE-99F8-A758D3A7373C}
7172
{725B6D7A-ECC7-4A28-AF52-B1CB22C37134} = {725B6D7A-ECC7-4A28-AF52-B1CB22C37134}
7273
{CDCF4EEA-1CA4-412E-8C77-78893A67A577} = {CDCF4EEA-1CA4-412E-8C77-78893A67A577}
7374
EndProjectSection
@@ -84,6 +85,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScript.Windows", "NetC
8485
EndProject
8586
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScript.V8", "NetCore\ClearScript.V8\ClearScript.V8.csproj", "{C8AE52BB-BFEE-4816-A9FE-8653CEE36C96}"
8687
ProjectSection(ProjectDependencies) = postProject
88+
{47FC5CB5-A6F2-4FEE-99F8-A758D3A7373C} = {47FC5CB5-A6F2-4FEE-99F8-A758D3A7373C}
8789
{59CC81A3-3D97-469A-9C8B-533F920085F1} = {59CC81A3-3D97-469A-9C8B-533F920085F1}
8890
EndProjectSection
8991
EndProject
@@ -101,8 +103,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScriptConsole", "Unix\
101103
EndProject
102104
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScriptTest", "Unix\ClearScriptTest\ClearScriptTest.csproj", "{052E036D-6D60-4FCA-AA8E-4CF56BC2058D}"
103105
ProjectSection(ProjectDependencies) = postProject
104-
{EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D} = {EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D}
105106
{3CD8AB65-BA34-4BB9-862F-D31CE861560F} = {3CD8AB65-BA34-4BB9-862F-D31CE861560F}
107+
{EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D} = {EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D}
106108
EndProjectSection
107109
EndProject
108110
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ClearScriptV8.win-arm64", "ClearScriptV8\win-arm64\ClearScriptV8.win-arm64.vcxproj", "{725B6D7A-ECC7-4A28-AF52-B1CB22C37134}"
@@ -119,8 +121,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClearScript.Core", "UWP\Cle
119121
EndProject
120122
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClearScript.V8", "UWP\ClearScript.V8\ClearScript.V8.csproj", "{CF1FD52F-A933-48D9-92A4-A39565896A42}"
121123
ProjectSection(ProjectDependencies) = postProject
122-
{D3391831-65CE-4C1E-A21B-01A283F3E193} = {D3391831-65CE-4C1E-A21B-01A283F3E193}
124+
{47FC5CB5-A6F2-4FEE-99F8-A758D3A7373C} = {47FC5CB5-A6F2-4FEE-99F8-A758D3A7373C}
123125
{59CC81A3-3D97-469A-9C8B-533F920085F1} = {59CC81A3-3D97-469A-9C8B-533F920085F1}
126+
{D3391831-65CE-4C1E-A21B-01A283F3E193} = {D3391831-65CE-4C1E-A21B-01A283F3E193}
124127
EndProjectSection
125128
EndProject
126129
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScript.Windows.Core", "NetCore\ClearScript.Windows.Core\ClearScript.Windows.Core.csproj", "{B9C99091-E616-4DC2-A711-4DCDAC602E38}"
@@ -139,6 +142,7 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScript.Core", "NetStan
139142
EndProject
140143
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScript.V8", "NetStandard\ClearScript.V8\ClearScript.V8.csproj", "{0DEC74E5-FF8A-4B61-B847-875BAD0AE781}"
141144
ProjectSection(ProjectDependencies) = postProject
145+
{47FC5CB5-A6F2-4FEE-99F8-A758D3A7373C} = {47FC5CB5-A6F2-4FEE-99F8-A758D3A7373C}
142146
{59CC81A3-3D97-469A-9C8B-533F920085F1} = {59CC81A3-3D97-469A-9C8B-533F920085F1}
143147
EndProjectSection
144148
EndProject
@@ -149,22 +153,24 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScript.Windows.Core",
149153
EndProject
150154
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScriptTest.NetStandard", "NetStandard\ClearScriptTest.NetStandard\ClearScriptTest.NetStandard.csproj", "{BF28C9F2-2935-4FDE-B812-977D601F9208}"
151155
ProjectSection(ProjectDependencies) = postProject
152-
{EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D} = {EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D}
153-
{C0E7BCAD-B4B3-4291-A87A-384D5F99C413} = {C0E7BCAD-B4B3-4291-A87A-384D5F99C413}
154156
{6F6B59D0-6538-4D02-91D2-07D24DAFE39A} = {6F6B59D0-6538-4D02-91D2-07D24DAFE39A}
157+
{C0E7BCAD-B4B3-4291-A87A-384D5F99C413} = {C0E7BCAD-B4B3-4291-A87A-384D5F99C413}
158+
{EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D} = {EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D}
155159
EndProjectSection
156160
EndProject
157161
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScriptTest.NetStandard", "Unix\ClearScriptTest.NetStandard\ClearScriptTest.NetStandard.csproj", "{EF6090B9-7349-4868-9C43-D7D3F048C54F}"
158162
ProjectSection(ProjectDependencies) = postProject
159-
{EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D} = {EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D}
160163
{3CD8AB65-BA34-4BB9-862F-D31CE861560F} = {3CD8AB65-BA34-4BB9-862F-D31CE861560F}
164+
{EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D} = {EDC7144E-FDA9-4CC7-B2CD-B5EBFD610A7D}
161165
EndProjectSection
162166
EndProject
163167
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScriptConsole", "NetStandard\ClearScriptConsole\ClearScriptConsole.csproj", "{C0E7BCAD-B4B3-4291-A87A-384D5F99C413}"
164168
ProjectSection(ProjectDependencies) = postProject
165169
{28980C99-77E7-4B62-8484-AF06C5745B8C} = {28980C99-77E7-4B62-8484-AF06C5745B8C}
166170
EndProjectSection
167171
EndProject
172+
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ClearScript.V8.ICUData", "NetStandard\ClearScript.V8.ICUData\ClearScript.V8.ICUData.csproj", "{47FC5CB5-A6F2-4FEE-99F8-A758D3A7373C}"
173+
EndProject
168174
Global
169175
GlobalSection(SolutionConfigurationPlatforms) = preSolution
170176
Debug|Any CPU = Debug|Any CPU
@@ -283,6 +289,10 @@ Global
283289
{C0E7BCAD-B4B3-4291-A87A-384D5F99C413}.Debug|Any CPU.Build.0 = Debug|Any CPU
284290
{C0E7BCAD-B4B3-4291-A87A-384D5F99C413}.Release|Any CPU.ActiveCfg = Release|Any CPU
285291
{C0E7BCAD-B4B3-4291-A87A-384D5F99C413}.Release|Any CPU.Build.0 = Release|Any CPU
292+
{47FC5CB5-A6F2-4FEE-99F8-A758D3A7373C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
293+
{47FC5CB5-A6F2-4FEE-99F8-A758D3A7373C}.Debug|Any CPU.Build.0 = Debug|Any CPU
294+
{47FC5CB5-A6F2-4FEE-99F8-A758D3A7373C}.Release|Any CPU.ActiveCfg = Release|Any CPU
295+
{47FC5CB5-A6F2-4FEE-99F8-A758D3A7373C}.Release|Any CPU.Build.0 = Release|Any CPU
286296
EndGlobalSection
287297
GlobalSection(SolutionProperties) = preSolution
288298
HideSolutionNode = FALSE
@@ -316,6 +326,7 @@ Global
316326
{BF28C9F2-2935-4FDE-B812-977D601F9208} = {3047C214-A12B-4C8B-AEED-021FAA0B4CD3}
317327
{EF6090B9-7349-4868-9C43-D7D3F048C54F} = {48C9730D-CA6C-47ED-B72C-DB9B6EE24D47}
318328
{C0E7BCAD-B4B3-4291-A87A-384D5F99C413} = {3047C214-A12B-4C8B-AEED-021FAA0B4CD3}
329+
{47FC5CB5-A6F2-4FEE-99F8-A758D3A7373C} = {3047C214-A12B-4C8B-AEED-021FAA0B4CD3}
319330
EndGlobalSection
320331
GlobalSection(ExtensibilityGlobals) = postSolution
321332
SolutionGuid = {3BAF1393-35E4-45F1-AC56-4A22646B56E5}

ClearScript/ContinuationCallback.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ namespace Microsoft.ClearScript
77
/// Represents a method that specifies to a script engine whether script execution should continue.
88
/// </summary>
99
/// <returns><c>True</c> to continue script execution, <c>false</c> to interrupt it.</returns>
10-
/// <seealso cref="ScriptEngine.ContinuationCallback"/>
10+
/// <c><seealso cref="ScriptEngine.ContinuationCallback"/></c>
1111
public delegate bool ContinuationCallback();
1212
}

ClearScript/CustomAttributeLoader.cs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) Microsoft Corporation. All rights reserved.
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT license.
33

44
using System;
@@ -15,7 +15,7 @@ public class CustomAttributeLoader
1515
// ReSharper disable EmptyConstructor
1616

1717
/// <summary>
18-
/// Initializes a new <see cref="CustomAttributeLoader"/> instance.
18+
/// Initializes a new <c><see cref="CustomAttributeLoader"/></c> instance.
1919
/// </summary>
2020
public CustomAttributeLoader()
2121
{

ClearScript/DefaultScriptUsageAttribute.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@ namespace Microsoft.ClearScript
1010
/// </summary>
1111
/// <remarks>
1212
/// This attribute is applicable to classes, enums, interfaces, structs, and assemblies. Use
13-
/// <see cref="ScriptUsageAttribute"/>, <see cref="ScriptMemberAttribute"/>, or
14-
/// <see cref="NoScriptAccessAttribute"/> to override it for individual type members.
13+
/// <c><see cref="ScriptUsageAttribute"/></c>, <c><see cref="ScriptMemberAttribute"/></c>, or
14+
/// <c><see cref="NoScriptAccessAttribute"/></c> to override it for individual type members.
1515
/// </remarks>
1616
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Enum | AttributeTargets.Interface | AttributeTargets.Struct | AttributeTargets.Assembly)]
1717
public class DefaultScriptUsageAttribute : Attribute
1818
{
1919
/// <summary>
20-
/// Initializes a new <see cref="DefaultScriptUsageAttribute"/> instance.
20+
/// Initializes a new <c><see cref="DefaultScriptUsageAttribute"/></c> instance.
2121
/// </summary>
2222
public DefaultScriptUsageAttribute()
2323
{
2424
}
2525

2626
/// <summary>
27-
/// Initializes a new <see cref="DefaultScriptUsageAttribute"/> instance with the specified default script access setting.
27+
/// Initializes a new <c><see cref="DefaultScriptUsageAttribute"/></c> instance with the specified default script access setting.
2828
/// </summary>
2929
/// <param name="access">The default script access setting for type members.</param>
3030
public DefaultScriptUsageAttribute(ScriptAccess access)

ClearScript/Document.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public abstract class Document
1414
// ReSharper disable EmptyConstructor
1515

1616
/// <summary>
17-
/// Initializes a new <see cref="Document"/> instance.
17+
/// Initializes a new <c><see cref="Document"/></c> instance.
1818
/// </summary>
1919
protected Document()
2020
{

ClearScript/DocumentCategory.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ internal DocumentCategory()
2626
/// categories. These are distinct from the caches used by document loaders.
2727
/// </para>
2828
/// </remarks>
29-
/// <seealso cref="DocumentLoader.MaxCacheSize"/>
29+
/// <c><seealso cref="DocumentLoader.MaxCacheSize"/></c>
3030
public uint MaxCacheSize { get; set; }
3131

3232
/// <summary>

ClearScript/DocumentInfo.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public struct DocumentInfo
2121
private ulong uniqueId;
2222

2323
/// <summary>
24-
/// Initializes a new <see cref="DocumentInfo"/> structure with the specified document name.
24+
/// Initializes a new <c><see cref="DocumentInfo"/></c> structure with the specified document name.
2525
/// </summary>
2626
/// <param name="name">The document name.</param>
2727
public DocumentInfo(string name)
@@ -32,7 +32,7 @@ public DocumentInfo(string name)
3232
}
3333

3434
/// <summary>
35-
/// Initializes a new <see cref="DocumentInfo"/> structure with the specified document URI.
35+
/// Initializes a new <c><see cref="DocumentInfo"/></c> structure with the specified document URI.
3636
/// </summary>
3737
/// <param name="uri">The document URI.</param>
3838
public DocumentInfo(Uri uri)
@@ -94,8 +94,8 @@ public DocumentCategory Category
9494
/// <para>
9595
/// Use
9696
/// <c><see href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import.meta">import.meta</see></c>
97-
/// to access the context information of a <see cref="ModuleCategory.Standard"/> JavaScript
98-
/// module. In a <see cref="ModuleCategory.CommonJS"/> module, use <c>module.meta</c>.
97+
/// to access the context information of a <c><see cref="ModuleCategory.Standard"/></c> JavaScript
98+
/// module. In a <c><see cref="ModuleCategory.CommonJS"/></c> module, use <c>module.meta</c>.
9999
/// </para>
100100
/// </remarks>
101101
public DocumentContextCallback ContextCallback { get; set; }

ClearScript/DocumentLoader.cs

+6-6
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public abstract class DocumentLoader
2121
// ReSharper disable EmptyConstructor
2222

2323
/// <summary>
24-
/// Initializes a new <see cref="DocumentLoader"/> instance.
24+
/// Initializes a new <c><see cref="DocumentLoader"/></c> instance.
2525
/// </summary>
2626
protected DocumentLoader()
2727
{
@@ -42,7 +42,7 @@ protected DocumentLoader()
4242
/// This property specifies the maximum number of documents to be cached by the document
4343
/// loader. For the default document loader, its initial value is 1024.
4444
/// </remarks>
45-
/// <seealso cref="Default"/>
45+
/// <c><seealso cref="Default"/></c>
4646
public virtual uint MaxCacheSize
4747
{
4848
get => 0;
@@ -57,11 +57,11 @@ public virtual uint MaxCacheSize
5757
/// <param name="specifier">A string specifying the document to be loaded.</param>
5858
/// <param name="category">An optional category for the requested document.</param>
5959
/// <param name="contextCallback">An optional context callback for the requested document.</param>
60-
/// <returns>A <see cref="Document"/> instance that represents the loaded document.</returns>
60+
/// <returns>A <c><see cref="Document"/></c> instance that represents the loaded document.</returns>
6161
/// <remarks>
6262
/// A loaded document must have an absolute <see cref="DocumentInfo.Uri">URI</see>. Once a
6363
/// load operation has completed successfully, subsequent requests that resolve to the same
64-
/// URI are expected to return the same <see cref="Document"/> reference, although loaders
64+
/// URI are expected to return the same <c><see cref="Document"/></c> reference, although loaders
6565
/// are not required to manage document caches of unlimited size.
6666
/// </remarks>
6767
public virtual Document LoadDocument(DocumentSettings settings, DocumentInfo? sourceInfo, string specifier, DocumentCategory category, DocumentContextCallback contextCallback)
@@ -92,11 +92,11 @@ public virtual Document LoadDocument(DocumentSettings settings, DocumentInfo? so
9292
/// <param name="specifier">A string specifying the document to be loaded.</param>
9393
/// <param name="category">An optional category for the requested document.</param>
9494
/// <param name="contextCallback">An optional context callback for the requested document.</param>
95-
/// <returns>A task that represents the asynchronous operation. Upon completion, the task's result is a <see cref="Document"/> instance that represents the loaded document.</returns>
95+
/// <returns>A task that represents the asynchronous operation. Upon completion, the task's result is a <c><see cref="Document"/></c> instance that represents the loaded document.</returns>
9696
/// <remarks>
9797
/// A loaded document must have an absolute <see cref="DocumentInfo.Uri">URI</see>. Once a
9898
/// load operation has completed successfully, subsequent requests that resolve to the same
99-
/// URI are expected to return the same <see cref="Document"/> reference, although loaders
99+
/// URI are expected to return the same <c><see cref="Document"/></c> reference, although loaders
100100
/// are not required to manage document caches of unlimited size.
101101
/// </remarks>
102102
public abstract Task<Document> LoadDocumentAsync(DocumentSettings settings, DocumentInfo? sourceInfo, string specifier, DocumentCategory category, DocumentContextCallback contextCallback);

ClearScript/DocumentSettings.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public class DocumentSettings
2424
// ReSharper disable EmptyConstructor
2525

2626
/// <summary>
27-
/// Initializes a new <see cref="DocumentSettings"/> instance.
27+
/// Initializes a new <c><see cref="DocumentSettings"/></c> instance.
2828
/// </summary>
2929
public DocumentSettings()
3030
{
@@ -67,7 +67,7 @@ public DocumentLoader Loader
6767
/// </summary>
6868
/// <remarks>
6969
/// <para>
70-
/// This property is used as an alternative to <see cref="DocumentInfo.ContextCallback"/>.
70+
/// This property is used as an alternative to <c><see cref="DocumentInfo.ContextCallback"/></c>.
7171
/// If specified, the callback is invoked the first time a module attempts to retrieve its
7272
/// context information. The properties it returns are made available to the module
7373
/// implementation. This mechanism can be used to expose host resources selectively,
@@ -76,8 +76,8 @@ public DocumentLoader Loader
7676
/// <para>
7777
/// Use
7878
/// <c><see href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import.meta">import.meta</see></c>
79-
/// to access the context information of a <see cref="ModuleCategory.Standard"/> JavaScript
80-
/// module. In a <see cref="ModuleCategory.CommonJS"/> module, use <c>module.meta</c>.
79+
/// to access the context information of a <c><see cref="ModuleCategory.Standard"/></c> JavaScript
80+
/// module. In a <c><see cref="ModuleCategory.CommonJS"/></c> module, use <c>module.meta</c>.
8181
/// </para>
8282
/// </remarks>
8383
public DocumentContextCallback ContextCallback { get; set; }
@@ -90,7 +90,7 @@ public DocumentLoader Loader
9090
/// <remarks>
9191
/// System documents take precedence over loaded documents. Once this method is invoked,
9292
/// document access using this configuration will always map the combination of
93-
/// <paramref name="identifier"/> and <see cref="DocumentCategory.Script"/> to the
93+
/// <paramref name="identifier"/> and <c><see cref="DocumentCategory.Script"/></c> to the
9494
/// specified document, bypassing the configuration's document loader.
9595
/// </remarks>
9696
public void AddSystemDocument(string identifier, string contents)

ClearScript/DynamicHostObject.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright (c) Microsoft Corporation. All rights reserved.
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
22
// Licensed under the MIT license.
33

44
using System;
@@ -8,14 +8,14 @@
88
namespace Microsoft.ClearScript
99
{
1010
/// <summary>
11-
/// Extends <see cref="DynamicObject"/> for enhanced behavior and performance in a scripting environment.
11+
/// Extends <c><see cref="DynamicObject"/></c> for enhanced behavior and performance in a scripting environment.
1212
/// </summary>
1313
public abstract class DynamicHostObject : DynamicObject
1414
{
1515
// ReSharper disable EmptyConstructor
1616

1717
/// <summary>
18-
/// Initializes a new <see cref="DynamicHostObject"/> instance.
18+
/// Initializes a new <c><see cref="DynamicHostObject"/></c> instance.
1919
/// </summary>
2020
protected DynamicHostObject()
2121
{

ClearScript/Exports/VersionSymbols.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
#pragma once
77

8-
#define CLEARSCRIPT_VERSION_STRING "7.2.5"
9-
#define CLEARSCRIPT_VERSION_COMMA_SEPARATED 7,2,5
10-
#define CLEARSCRIPT_VERSION_STRING_INFORMATIONAL "7.2.5"
8+
#define CLEARSCRIPT_VERSION_STRING "7.3.0"
9+
#define CLEARSCRIPT_VERSION_COMMA_SEPARATED 7,3,0
10+
#define CLEARSCRIPT_VERSION_STRING_INFORMATIONAL "7.3.0"
1111
#define CLEARSCRIPT_FILE_FLAGS 0L

0 commit comments

Comments
 (0)