Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added fromLiteral implementation to the polyfill #355

Merged
merged 3 commits into from
Jan 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions Gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,14 @@ function compileSettings(entryPoint, fileName, languageOut) {
}

var flags = {
dependency_mode: 'STRICT',
dependency_mode: 'PRUNE',
isolation_mode: 'IIFE',
strict_mode_input: null,
compilation_level: 'ADVANCED',
language_in: 'ECMASCRIPT6_STRICT',
jscomp_warning: [],
jscomp_error: [
"accessControls",
"ambiguousFunctionDecl",
"checkDebuggerStatement",
"checkPrototypalTypes",
"checkRegExp",
Expand All @@ -43,16 +42,12 @@ var flags = {
"deprecatedAnnotations",
"duplicate",
"duplicateMessage",
"es3",
"es5Strict",
"externsValidation",
"fileoverviewTags",
"functionParams",
"globalThis",
"internetExplorerChecks",
"invalidCasts",
"misplacedTypeAnnotation",
"missingGetCssName",
"missingOverride",
"missingPolyfill",
"missingProperties",
Expand All @@ -62,24 +57,20 @@ var flags = {
// "missingSourcesWarnings", // Implies reportUnknownTypes.
"moduleLoad",
"msgDescriptions",
"newCheckTypes",
"nonStandardJsDocs",
// "reportUnknownTypes", // Too many "could not determine the type of this expression" errors
"strictCheckTypes",
"strictMissingProperties",
"strictMissingRequire",
"strictModuleDepCheck",
"strictPrimitiveOperators",
"suspiciousCode",
"tooManyTypeParams",
"typeInvalidation",
"undefinedNames",
"undefinedVars",
"underscore",
"unknownDefines",
"unusedLocalVariables",
"unusedPrivateMembers",
"useOfGoogBase",
"uselessCode",
"visibility",
],
Expand Down
43 changes: 23 additions & 20 deletions dist/es5/trustedtypes.api_only.build.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/es5/trustedtypes.api_only.build.js.map

Large diffs are not rendered by default.

93 changes: 48 additions & 45 deletions dist/es5/trustedtypes.build.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/es5/trustedtypes.build.js.map

Large diffs are not rendered by default.

23 changes: 12 additions & 11 deletions dist/es6/trustedtypes.api_only.build.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/es6/trustedtypes.api_only.build.js.map

Large diffs are not rendered by default.

Loading