[Pkg-javascript-commits] [node-typescript] branch master updated (7cbd9cf -> f7a21ac)
Julien Puydt
julien.puydt at laposte.net
Fri Feb 16 20:59:32 UTC 2018
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a change to branch master
in repository node-typescript.
from 7cbd9cf Package upstream 2.7.1
new 95549ad New upstream version 2.7.2
new 51c5a73 Update upstream source from tag 'upstream/2.7.2'
new f7a21ac Package new upstream 2.7.2
The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
Jakefile.js | 2 +-
debian/changelog | 6 +
lib/enu/diagnosticMessages.generated.json.lcg | 6 +
lib/lib.d.ts | 15 +-
lib/lib.es5.d.ts | 15 +-
lib/lib.es6.d.ts | 15 +-
lib/tsc.js | 510 +++++++++------
lib/tsserver.js | 592 +++++++++++------
lib/tsserverlibrary.d.ts | 8 +-
lib/tsserverlibrary.js | 706 ++++++++++++--------
lib/typescript.d.ts | 12 +-
lib/typescript.js | 723 +++++++++++++--------
lib/typescriptServices.d.ts | 12 +-
lib/typescriptServices.js | 723 +++++++++++++--------
lib/typingsInstaller.js | 48 +-
package.json | 4 +-
src/compiler/checker.ts | 420 +++++++-----
src/compiler/commandLineParser.ts | 53 +-
src/compiler/core.ts | 2 +-
src/compiler/declarationEmitter.ts | 6 +-
src/compiler/diagnosticMessages.json | 4 +
src/compiler/emitter.ts | 2 +-
src/compiler/factory.ts | 4 +-
src/compiler/program.ts | 16 +-
src/compiler/sys.ts | 9 +-
src/compiler/transformers/es2015.ts | 115 ++--
src/compiler/transformers/esnext.ts | 2 +-
src/compiler/transformers/module/module.ts | 5 +-
src/compiler/transformers/utilities.ts | 30 +-
src/compiler/types.ts | 15 +-
src/compiler/watch.ts | 37 +-
src/harness/fourslash.ts | 6 +-
src/harness/harness.ts | 16 +-
src/harness/harnessLanguageService.ts | 5 +-
src/harness/unittests/builder.ts | 7 -
src/harness/unittests/tscWatchMode.ts | 77 ++-
src/harness/unittests/tsserverProjectSystem.ts | 44 ++
src/lib/es5.d.ts | 15 +-
src/services/completions.ts | 44 +-
src/services/importTracker.ts | 5 +
src/services/pathCompletions.ts | 63 +-
src/services/signatureHelp.ts | 8 +-
src/services/types.ts | 4 +-
src/services/utilities.ts | 2 +-
tests/baselines/reference/api/tsserverlibrary.d.ts | 8 +-
tests/baselines/reference/api/typescript.d.ts | 12 +-
.../argumentExpressionContextualTyping.types | 12 +-
.../baselines/reference/arrayBestCommonTypes.types | 20 +-
tests/baselines/reference/arrayConcat2.types | 12 +-
tests/baselines/reference/arrayConcat3.types | 4 +-
tests/baselines/reference/arrayConcatMap.types | 4 +-
...OfSubtypeIsAssignableToReadonlyArray.errors.txt | 8 +-
tests/baselines/reference/assignToFn.types | 6 +-
.../reference/assignmentTypeNarrowing.types | 26 +-
tests/baselines/reference/asyncAwait_es2017.js | 15 +-
.../baselines/reference/asyncAwait_es2017.symbols | 11 +-
tests/baselines/reference/asyncAwait_es2017.types | 17 +-
tests/baselines/reference/asyncAwait_es5.js | 20 +
tests/baselines/reference/asyncAwait_es5.symbols | 9 +
tests/baselines/reference/asyncAwait_es5.types | 15 +
tests/baselines/reference/asyncAwait_es6.js | 17 +-
tests/baselines/reference/asyncAwait_es6.symbols | 11 +-
tests/baselines/reference/asyncAwait_es6.types | 17 +-
.../reference/asyncFunctionReturnType.types | 2 +-
.../booleanLiteralsContextuallyTypedFromUnion.js | 38 ++
...oleanLiteralsContextuallyTypedFromUnion.symbols | 97 +++
...booleanLiteralsContextuallyTypedFromUnion.types | 139 ++++
.../reference/checkJsxChildrenProperty2.errors.txt | 20 +-
...eckJsxGenericTagHasCorrectInferences.errors.txt | 27 +
.../checkJsxGenericTagHasCorrectInferences.js | 23 +
.../checkJsxGenericTagHasCorrectInferences.symbols | 74 +++
.../checkJsxGenericTagHasCorrectInferences.types | 91 +++
.../computedPropertyNamesContextualType6_ES5.types | 2 +-
.../computedPropertyNamesContextualType6_ES6.types | 2 +-
tests/baselines/reference/concatError.types | 8 +-
tests/baselines/reference/concatTuples.types | 4 +-
.../reference/constEnumPropertyAccess1.types | 2 +-
.../reference/contextualTypeWithTuple.types | 2 +-
.../reference/declFileEmitDeclarationOnly.js | 26 +
.../reference/declFileEmitDeclarationOnly.symbols | 29 +
.../reference/declFileEmitDeclarationOnly.types | 32 +
.../declFileEmitDeclarationOnlyError1.errors.txt | 7 +
.../declFileEmitDeclarationOnlyError1.symbols | 4 +
.../declFileEmitDeclarationOnlyError1.types | 5 +
.../declFileEmitDeclarationOnlyError2.errors.txt | 9 +
.../declFileEmitDeclarationOnlyError2.symbols | 4 +
.../declFileEmitDeclarationOnlyError2.types | 5 +
...declarationEmitDestructuringArrayPattern2.types | 8 +-
.../declarationEmitTypeofDefaultExport.symbols | 4 +-
.../declarationEmitTypeofDefaultExport.types | 4 +-
.../declarationsAndAssignments.errors.txt | 16 +-
.../reference/declarationsAndAssignments.types | 36 +-
.../defaultDeclarationEmitDefaultImport.js | 35 +
.../defaultDeclarationEmitDefaultImport.symbols | 17 +
.../defaultDeclarationEmitDefaultImport.types | 20 +
.../defaultDeclarationEmitNamedCorrectly.js | 49 ++
.../defaultDeclarationEmitNamedCorrectly.symbols | 45 ++
.../defaultDeclarationEmitNamedCorrectly.types | 48 ++
...defaultDeclarationEmitShadowedNamedCorrectly.js | 61 ++
...ltDeclarationEmitShadowedNamedCorrectly.symbols | 56 ++
...aultDeclarationEmitShadowedNamedCorrectly.types | 60 ++
...uringArrayBindingPatternAndAssignment1ES5.types | 2 +-
...ayBindingPatternAndAssignment1ES5iterable.types | 2 +-
...uringArrayBindingPatternAndAssignment1ES6.types | 2 +-
...ucturingArrayBindingPatternAndAssignment2.types | 2 +-
...ringObjectBindingPatternAndAssignment1ES5.types | 4 +-
...ringObjectBindingPatternAndAssignment1ES6.types | 4 +-
.../destructuringParameterProperties1.types | 8 +-
.../destructuringParameterProperties2.types | 2 +-
.../destructuringParameterProperties3.types | 4 +-
.../destructuringVariableDeclaration1ES5.types | 8 +-
...tructuringVariableDeclaration1ES5iterable.types | 8 +-
.../destructuringVariableDeclaration1ES6.types | 8 +-
.../destructuringVariableDeclaration2.errors.txt | 4 +-
.../destructuringVariableDeclaration2.types | 10 +-
.../disallowLineTerminatorBeforeArrow.types | 4 +-
.../reference/duplicateLocalVariable1.types | 28 +-
tests/baselines/reference/duplicatePackage.types | 14 +-
tests/baselines/reference/emitArrowFunction.types | 4 +-
.../baselines/reference/emitArrowFunctionES6.types | 4 +-
.../reference/emitArrowFunctionThisCapturing.types | 2 +-
.../emitArrowFunctionThisCapturingES6.types | 2 +-
.../reference/emitSkipsThisWithRestParameter.types | 4 +-
.../esModuleInteropNamedDefaultImports.js | 49 ++
.../esModuleInteropNamedDefaultImports.symbols | 32 +
.../esModuleInteropNamedDefaultImports.types | 36 +
.../reference/esModuleInteropTslibHelpers.js | 64 ++
.../reference/esModuleInteropTslibHelpers.symbols | 45 ++
.../reference/esModuleInteropTslibHelpers.types | 61 ++
.../reference/esModuleIntersectionCrash.js | 27 +
.../reference/esModuleIntersectionCrash.symbols | 37 ++
.../reference/esModuleIntersectionCrash.types | 37 ++
.../excessPropertyCheckWithUnions.errors.txt | 8 +-
.../reference/excessPropertyCheckWithUnions.types | 6 +-
tests/baselines/reference/for-of36.types | 2 +-
tests/baselines/reference/for-of37.types | 4 +-
tests/baselines/reference/for-of38.types | 4 +-
tests/baselines/reference/for-of39.errors.txt | 24 +-
tests/baselines/reference/for-of40.types | 4 +-
tests/baselines/reference/for-of44.types | 4 +-
tests/baselines/reference/for-of45.types | 4 +-
tests/baselines/reference/for-of46.types | 4 +-
tests/baselines/reference/for-of49.types | 4 +-
tests/baselines/reference/for-of50.types | 4 +-
.../baselines/reference/functionOverloads39.types | 6 +-
.../genericArgumentCallSigAssignmentCompat.types | 2 +-
.../reference/genericTypeArgumentInference1.types | 2 +-
.../reference/getAndSetAsMemberNames.types | 2 +-
.../reference/getterSetterNonAccessor.types | 6 +-
tests/baselines/reference/indexerWithTuple.types | 2 +-
.../reference/interfaceContextualType.types | 16 +-
.../interfaceWithPropertyOfEveryType.types | 4 +-
.../reference/intersectionTypeInference3.types | 4 +-
.../reference/isomorphicMappedTypeInference.types | 4 +-
.../reference/iterableArrayPattern23.types | 4 +-
.../reference/iterableArrayPattern24.types | 4 +-
.../reference/iterableArrayPattern29.types | 6 +-
.../reference/iterableArrayPattern30.types | 6 +-
.../reference/iteratorSpreadInArray6.errors.txt | 40 +-
.../reference/iteratorSpreadInArray6.types | 4 +-
.../reference/iteratorSpreadInArray7.types | 4 +-
.../reference/jsdocParamTagTypeLiteral.types | 16 +-
.../jsxChildrenGenericContextualTypes.errors.txt | 68 ++
.../reference/jsxChildrenGenericContextualTypes.js | 38 ++
.../jsxChildrenGenericContextualTypes.symbols | 119 ++++
.../jsxChildrenGenericContextualTypes.types | 165 +++++
.../reference/jsxElementClassTooManyParams.js | 27 +
.../reference/jsxElementClassTooManyParams.symbols | 58 ++
.../reference/jsxElementClassTooManyParams.types | 61 ++
.../reference/keyofAndIndexedAccess.types | 44 +-
tests/baselines/reference/literalTypes2.types | 4 +-
tests/baselines/reference/mappedTypeErrors.types | 4 +-
...oduleAugmentationDuringSyntheticDefaultCheck.js | 43 ++
...AugmentationDuringSyntheticDefaultCheck.symbols | 63 ++
...leAugmentationDuringSyntheticDefaultCheck.types | 63 ++
.../objectLiteralNormalization.errors.txt | 12 +-
.../reference/objectLiteralNormalization.types | 6 +-
.../objectLiteralParameterResolution.types | 4 +-
tests/baselines/reference/objectSpread.types | 32 +-
.../baselines/reference/objectSpreadNegative.types | 8 +-
.../reference/optionalBindingParameters1.types | 2 +-
.../reference/optionalBindingParameters2.types | 4 +-
.../optionalBindingParametersInOverloads1.types | 2 +-
.../optionalBindingParametersInOverloads2.types | 4 +-
.../reference/overloadResolutionTest1.types | 10 +-
tests/baselines/reference/parserRealSource4.types | 4 +-
.../parserUsingConstructorAsIdentifier.types | 8 +-
tests/baselines/reference/parserharness.types | 8 +-
.../privacyCheckAnonymousFunctionParameter.types | 2 +-
.../reference/restInvalidArgumentType.types | 2 +-
.../reference/spreadInvalidArgumentType.types | 4 +-
...cAnonymousTypeNotReferencingTypeParameter.types | 4 +-
tests/baselines/reference/superElementAccess.js | 5 +-
tests/baselines/reference/superPropertyAccess.js | 5 +-
.../reference/symbolProperty21.errors.txt | 4 +-
tests/baselines/reference/targetTypeArgs.types | 8 +-
.../reference/tsxAttributeResolution6.types | 2 +-
.../tsxSpreadAttributesResolution6.errors.txt | 16 +-
.../reference/tsxSpreadAttributesResolution6.types | 2 +-
tests/baselines/reference/typeAliases.types | 2 +-
.../typeFromPropertyAssignmentWithExport.js | 18 +
.../typeFromPropertyAssignmentWithExport.symbols | 13 +
.../typeFromPropertyAssignmentWithExport.types | 22 +
.../reference/typeGuardsOnClassProperty.types | 4 +-
.../reference/typeInferenceLiteralUnion.types | 2 +-
...eterAsTypeParameterConstraintTransitively.types | 8 +-
...terAsTypeParameterConstraintTransitively2.types | 8 +-
tests/baselines/reference/underscoreTest1.types | 8 +-
tests/baselines/reference/unionTypeInference.types | 2 +-
.../reference/uniqueSymbolsErrors.errors.txt | 10 +-
tests/baselines/reference/uniqueSymbolsErrors.js | 8 +-
.../reference/uniqueSymbolsErrors.symbols | 6 +-
.../baselines/reference/uniqueSymbolsErrors.types | 7 +-
.../baselines/reference/unusedSemicolonInClass.js | 13 +
.../reference/unusedSemicolonInClass.symbols | 7 +
.../reference/unusedSemicolonInClass.types | 7 +
.../reference/useObjectValuesAndEntries1.types | 8 +-
tests/cases/compiler/arrayConcat3.ts | 1 +
.../booleanLiteralsContextuallyTypedFromUnion.tsx | 28 +
.../cases/compiler/declFileEmitDeclarationOnly.ts | 16 +
.../compiler/declFileEmitDeclarationOnlyError1.ts | 4 +
.../compiler/declFileEmitDeclarationOnlyError2.ts | 5 +
.../defaultDeclarationEmitDefaultImport.ts | 7 +
.../defaultDeclarationEmitNamedCorrectly.ts | 16 +
...defaultDeclarationEmitShadowedNamedCorrectly.ts | 21 +
.../compiler/esModuleInteropNamedDefaultImports.ts | 13 +
.../cases/compiler/esModuleInteropTslibHelpers.ts | 21 +
tests/cases/compiler/esModuleIntersectionCrash.ts | 12 +
.../compiler/jsxChildrenGenericContextualTypes.tsx | 24 +
.../compiler/jsxElementClassTooManyParams.tsx | 18 +
...oduleAugmentationDuringSyntheticDefaultCheck.ts | 34 +
tests/cases/compiler/unusedSemicolonInClass.ts | 4 +
.../conformance/async/es2017/asyncAwait_es2017.ts | 9 +-
.../cases/conformance/async/es5/asyncAwait_es5.ts | 7 +
.../cases/conformance/async/es6/asyncAwait_es6.ts | 9 +-
.../jsx/checkJsxGenericTagHasCorrectInferences.tsx | 18 +
.../salsa/typeFromPropertyAssignmentWithExport.ts | 12 +
.../types/uniqueSymbol/uniqueSymbolsErrors.ts | 4 +-
...completionListInvalidMemberNames_escapeQuote.ts | 7 +
...istInvalidMemberNames_withExistingIdentifier.ts | 9 +-
.../completionsJsxAttributeInitializer2.ts | 13 +
.../cases/fourslash/completionsKeywordsExtends.ts | 4 +
tests/cases/fourslash/completionsPaths_kinds.ts | 29 +
.../fourslash/completionsPaths_pathMapping.ts | 12 +-
.../completionsPaths_pathMapping_relativePath.ts | 23 +
.../completionsPaths_pathMapping_topLevel.ts | 17 +
.../fourslash/esModuleInteropFindAllReferences.ts | 12 +
tests/cases/fourslash/findAllRefsForMappedType.ts | 2 +-
tests/cases/fourslash/fourslash.ts | 1 +
249 files changed, 5922 insertions(+), 2048 deletions(-)
create mode 100644 tests/baselines/reference/booleanLiteralsContextuallyTypedFromUnion.js
create mode 100644 tests/baselines/reference/booleanLiteralsContextuallyTypedFromUnion.symbols
create mode 100644 tests/baselines/reference/booleanLiteralsContextuallyTypedFromUnion.types
create mode 100644 tests/baselines/reference/checkJsxGenericTagHasCorrectInferences.errors.txt
create mode 100644 tests/baselines/reference/checkJsxGenericTagHasCorrectInferences.js
create mode 100644 tests/baselines/reference/checkJsxGenericTagHasCorrectInferences.symbols
create mode 100644 tests/baselines/reference/checkJsxGenericTagHasCorrectInferences.types
create mode 100644 tests/baselines/reference/declFileEmitDeclarationOnly.js
create mode 100644 tests/baselines/reference/declFileEmitDeclarationOnly.symbols
create mode 100644 tests/baselines/reference/declFileEmitDeclarationOnly.types
create mode 100644 tests/baselines/reference/declFileEmitDeclarationOnlyError1.errors.txt
create mode 100644 tests/baselines/reference/declFileEmitDeclarationOnlyError1.symbols
create mode 100644 tests/baselines/reference/declFileEmitDeclarationOnlyError1.types
create mode 100644 tests/baselines/reference/declFileEmitDeclarationOnlyError2.errors.txt
create mode 100644 tests/baselines/reference/declFileEmitDeclarationOnlyError2.symbols
create mode 100644 tests/baselines/reference/declFileEmitDeclarationOnlyError2.types
create mode 100644 tests/baselines/reference/defaultDeclarationEmitDefaultImport.js
create mode 100644 tests/baselines/reference/defaultDeclarationEmitDefaultImport.symbols
create mode 100644 tests/baselines/reference/defaultDeclarationEmitDefaultImport.types
create mode 100644 tests/baselines/reference/defaultDeclarationEmitNamedCorrectly.js
create mode 100644 tests/baselines/reference/defaultDeclarationEmitNamedCorrectly.symbols
create mode 100644 tests/baselines/reference/defaultDeclarationEmitNamedCorrectly.types
create mode 100644 tests/baselines/reference/defaultDeclarationEmitShadowedNamedCorrectly.js
create mode 100644 tests/baselines/reference/defaultDeclarationEmitShadowedNamedCorrectly.symbols
create mode 100644 tests/baselines/reference/defaultDeclarationEmitShadowedNamedCorrectly.types
create mode 100644 tests/baselines/reference/esModuleInteropNamedDefaultImports.js
create mode 100644 tests/baselines/reference/esModuleInteropNamedDefaultImports.symbols
create mode 100644 tests/baselines/reference/esModuleInteropNamedDefaultImports.types
create mode 100644 tests/baselines/reference/esModuleInteropTslibHelpers.js
create mode 100644 tests/baselines/reference/esModuleInteropTslibHelpers.symbols
create mode 100644 tests/baselines/reference/esModuleInteropTslibHelpers.types
create mode 100644 tests/baselines/reference/esModuleIntersectionCrash.js
create mode 100644 tests/baselines/reference/esModuleIntersectionCrash.symbols
create mode 100644 tests/baselines/reference/esModuleIntersectionCrash.types
create mode 100644 tests/baselines/reference/jsxChildrenGenericContextualTypes.errors.txt
create mode 100644 tests/baselines/reference/jsxChildrenGenericContextualTypes.js
create mode 100644 tests/baselines/reference/jsxChildrenGenericContextualTypes.symbols
create mode 100644 tests/baselines/reference/jsxChildrenGenericContextualTypes.types
create mode 100644 tests/baselines/reference/jsxElementClassTooManyParams.js
create mode 100644 tests/baselines/reference/jsxElementClassTooManyParams.symbols
create mode 100644 tests/baselines/reference/jsxElementClassTooManyParams.types
create mode 100644 tests/baselines/reference/moduleAugmentationDuringSyntheticDefaultCheck.js
create mode 100644 tests/baselines/reference/moduleAugmentationDuringSyntheticDefaultCheck.symbols
create mode 100644 tests/baselines/reference/moduleAugmentationDuringSyntheticDefaultCheck.types
create mode 100644 tests/baselines/reference/typeFromPropertyAssignmentWithExport.js
create mode 100644 tests/baselines/reference/typeFromPropertyAssignmentWithExport.symbols
create mode 100644 tests/baselines/reference/typeFromPropertyAssignmentWithExport.types
create mode 100644 tests/baselines/reference/unusedSemicolonInClass.js
create mode 100644 tests/baselines/reference/unusedSemicolonInClass.symbols
create mode 100644 tests/baselines/reference/unusedSemicolonInClass.types
create mode 100644 tests/cases/compiler/booleanLiteralsContextuallyTypedFromUnion.tsx
create mode 100644 tests/cases/compiler/declFileEmitDeclarationOnly.ts
create mode 100644 tests/cases/compiler/declFileEmitDeclarationOnlyError1.ts
create mode 100644 tests/cases/compiler/declFileEmitDeclarationOnlyError2.ts
create mode 100644 tests/cases/compiler/defaultDeclarationEmitDefaultImport.ts
create mode 100644 tests/cases/compiler/defaultDeclarationEmitNamedCorrectly.ts
create mode 100644 tests/cases/compiler/defaultDeclarationEmitShadowedNamedCorrectly.ts
create mode 100644 tests/cases/compiler/esModuleInteropNamedDefaultImports.ts
create mode 100644 tests/cases/compiler/esModuleInteropTslibHelpers.ts
create mode 100644 tests/cases/compiler/esModuleIntersectionCrash.ts
create mode 100644 tests/cases/compiler/jsxChildrenGenericContextualTypes.tsx
create mode 100644 tests/cases/compiler/jsxElementClassTooManyParams.tsx
create mode 100644 tests/cases/compiler/moduleAugmentationDuringSyntheticDefaultCheck.ts
create mode 100644 tests/cases/compiler/unusedSemicolonInClass.ts
create mode 100644 tests/cases/conformance/jsx/checkJsxGenericTagHasCorrectInferences.tsx
create mode 100644 tests/cases/conformance/salsa/typeFromPropertyAssignmentWithExport.ts
create mode 100644 tests/cases/fourslash/completionListInvalidMemberNames_escapeQuote.ts
create mode 100644 tests/cases/fourslash/completionsJsxAttributeInitializer2.ts
create mode 100644 tests/cases/fourslash/completionsPaths_kinds.ts
create mode 100644 tests/cases/fourslash/completionsPaths_pathMapping_relativePath.ts
create mode 100644 tests/cases/fourslash/completionsPaths_pathMapping_topLevel.ts
create mode 100644 tests/cases/fourslash/esModuleInteropFindAllReferences.ts
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-typescript.git
More information about the Pkg-javascript-commits
mailing list