Adds @xuqm/h5-sdk/private entry point with JSON-based initialization, feature gating, and error codes for private deployment scenarios. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 行
453 B
JavaScript
9 行
453 B
JavaScript
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
|
|
// See LICENSE in the project root for license information.
|
|
export function escapeSprintf(input) {
|
|
// Escape sprintf-style escape characters
|
|
// The primary special character in sprintf format strings is '%'
|
|
// which introduces format specifiers like %s, %d, %f, etc.
|
|
return input.replace(/%/g, '%%');
|
|
}
|
|
//# sourceMappingURL=escapeSprintf.js.map
|