@angular/tsc-wrapped
Advanced tools
Comparing version 4.0.0-beta.6 to 4.0.0-beta.7
@@ -8,3 +8,3 @@ /** | ||
*/ | ||
export { DecoratorDownlevelCompilerHost, MetadataWriterHost } from './src/compiler_host'; | ||
export { MetadataWriterHost } from './src/compiler_host'; | ||
export { CodegenExtension, UserError, main } from './src/main'; | ||
@@ -11,0 +11,0 @@ export { default as AngularCompilerOptions } from './src/options'; |
11
index.js
@@ -12,11 +12,10 @@ /** | ||
} | ||
var compiler_host_1 = require('./src/compiler_host'); | ||
exports.DecoratorDownlevelCompilerHost = compiler_host_1.DecoratorDownlevelCompilerHost; | ||
var compiler_host_1 = require("./src/compiler_host"); | ||
exports.MetadataWriterHost = compiler_host_1.MetadataWriterHost; | ||
var main_1 = require('./src/main'); | ||
var main_1 = require("./src/main"); | ||
exports.UserError = main_1.UserError; | ||
exports.main = main_1.main; | ||
__export(require('./src/cli_options')); | ||
__export(require('./src/collector')); | ||
__export(require('./src/schema')); | ||
__export(require("./src/cli_options")); | ||
__export(require("./src/collector")); | ||
__export(require("./src/schema")); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@angular/tsc-wrapped", | ||
"version": "4.0.0-beta.6", | ||
"version": "4.0.0-beta.7", | ||
"description": "Wraps the tsc CLI, allowing extensions.", | ||
@@ -14,7 +14,7 @@ "homepage": "https://github.com/angular/angular/tree/master/tools/tsc-wrapped", | ||
"dependencies": { | ||
"tsickle": "^0.2" | ||
"tsickle": "^0.21.0" | ||
}, | ||
"peerDependencies": { | ||
"typescript": "^2.0.2" | ||
"typescript": "^2.1.5" | ||
} | ||
} |
@@ -26,4 +26,5 @@ "use strict"; | ||
var _b = _a.i18nFormat, i18nFormat = _b === void 0 ? null : _b; | ||
_super.call(this, {}); | ||
this.i18nFormat = i18nFormat; | ||
var _this = _super.call(this, {}) || this; | ||
_this.i18nFormat = i18nFormat; | ||
return _this; | ||
} | ||
@@ -37,6 +38,7 @@ return I18nExtractionCliOptions; | ||
var _b = _a.i18nFormat, i18nFormat = _b === void 0 ? null : _b, _c = _a.i18nFile, i18nFile = _c === void 0 ? null : _c, _d = _a.locale, locale = _d === void 0 ? null : _d, _e = _a.basePath, basePath = _e === void 0 ? null : _e; | ||
_super.call(this, { basePath: basePath }); | ||
this.i18nFormat = i18nFormat; | ||
this.i18nFile = i18nFile; | ||
this.locale = locale; | ||
var _this = _super.call(this, { basePath: basePath }) || this; | ||
_this.i18nFormat = i18nFormat; | ||
_this.i18nFile = i18nFile; | ||
_this.locale = locale; | ||
return _this; | ||
} | ||
@@ -43,0 +45,0 @@ return NgcCliOptions; |
@@ -9,6 +9,6 @@ /** | ||
"use strict"; | ||
var ts = require('typescript'); | ||
var evaluator_1 = require('./evaluator'); | ||
var schema_1 = require('./schema'); | ||
var symbols_1 = require('./symbols'); | ||
var ts = require("typescript"); | ||
var evaluator_1 = require("./evaluator"); | ||
var schema_1 = require("./schema"); | ||
var symbols_1 = require("./symbols"); | ||
// In TypeScript 2.1 these flags moved | ||
@@ -389,3 +389,3 @@ // These helpers work for both 2.0 and 2.1. | ||
var variableStatement = node; | ||
var _loop_1 = function(variableDeclaration) { | ||
var _loop_1 = function (variableDeclaration) { | ||
if (variableDeclaration.name.kind == ts.SyntaxKind.Identifier) { | ||
@@ -392,0 +392,0 @@ var nameNode = variableDeclaration.name; |
@@ -26,18 +26,2 @@ import * as ts from 'typescript'; | ||
} | ||
export declare class DecoratorDownlevelCompilerHost extends DelegatingHost { | ||
private program; | ||
private ANNOTATION_SUPPORT; | ||
/** Error messages produced by tsickle, if any. */ | ||
diagnostics: ts.Diagnostic[]; | ||
constructor(delegate: ts.CompilerHost, program: ts.Program); | ||
getSourceFile: (fileName: string, languageVersion: ts.ScriptTarget, onError?: (message: string) => void) => ts.SourceFile; | ||
} | ||
export declare class TsickleCompilerHost extends DelegatingHost { | ||
private oldProgram; | ||
private options; | ||
/** Error messages produced by tsickle, if any. */ | ||
diagnostics: ts.Diagnostic[]; | ||
constructor(delegate: ts.CompilerHost, oldProgram: ts.Program, options: NgOptions); | ||
getSourceFile: (fileName: string, languageVersion: ts.ScriptTarget, onError?: (message: string) => void) => ts.SourceFile; | ||
} | ||
export declare class MetadataWriterHost extends DelegatingHost { | ||
@@ -44,0 +28,0 @@ private ngOptions; |
@@ -14,6 +14,5 @@ /** | ||
}; | ||
var fs_1 = require('fs'); | ||
var tsickle = require('tsickle'); | ||
var ts = require('typescript'); | ||
var collector_1 = require('./collector'); | ||
var fs_1 = require("fs"); | ||
var ts = require("typescript"); | ||
var collector_1 = require("./collector"); | ||
function formatDiagnostics(d) { | ||
@@ -60,59 +59,2 @@ var host = { | ||
exports.DelegatingHost = DelegatingHost; | ||
var DecoratorDownlevelCompilerHost = (function (_super) { | ||
__extends(DecoratorDownlevelCompilerHost, _super); | ||
function DecoratorDownlevelCompilerHost(delegate, program) { | ||
var _this = this; | ||
_super.call(this, delegate); | ||
this.program = program; | ||
this.ANNOTATION_SUPPORT = "\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"; | ||
/** Error messages produced by tsickle, if any. */ | ||
this.diagnostics = []; | ||
this.getSourceFile = function (fileName, languageVersion, onError) { | ||
var originalContent = _this.delegate.readFile(fileName); | ||
var newContent = originalContent; | ||
if (!/\.d\.ts$/.test(fileName)) { | ||
try { | ||
var converted = tsickle.convertDecorators(_this.program.getTypeChecker(), _this.program.getSourceFile(fileName)); | ||
if (converted.diagnostics) { | ||
(_a = _this.diagnostics).push.apply(_a, converted.diagnostics); | ||
} | ||
newContent = converted.output + _this.ANNOTATION_SUPPORT; | ||
} | ||
catch (e) { | ||
console.error('Cannot convertDecorators on file', fileName); | ||
throw e; | ||
} | ||
} | ||
return ts.createSourceFile(fileName, newContent, languageVersion, true); | ||
var _a; | ||
}; | ||
} | ||
return DecoratorDownlevelCompilerHost; | ||
}(DelegatingHost)); | ||
exports.DecoratorDownlevelCompilerHost = DecoratorDownlevelCompilerHost; | ||
var TsickleCompilerHost = (function (_super) { | ||
__extends(TsickleCompilerHost, _super); | ||
function TsickleCompilerHost(delegate, oldProgram, options) { | ||
var _this = this; | ||
_super.call(this, delegate); | ||
this.oldProgram = oldProgram; | ||
this.options = options; | ||
/** Error messages produced by tsickle, if any. */ | ||
this.diagnostics = []; | ||
this.getSourceFile = function (fileName, languageVersion, onError) { | ||
var sourceFile = _this.oldProgram.getSourceFile(fileName); | ||
var isDefinitions = /\.d\.ts$/.test(fileName); | ||
// Don't tsickle-process any d.ts that isn't a compilation target; | ||
// this means we don't process e.g. lib.d.ts. | ||
if (isDefinitions) | ||
return sourceFile; | ||
var es2015Target = _this.options.target == ts.ScriptTarget.ES2015; // This covers ES6 too | ||
var _a = tsickle.annotate(_this.oldProgram, sourceFile, { untyped: true, convertIndexImportShorthand: es2015Target }, _this.delegate, _this.options), output = _a.output, externs = _a.externs, diagnostics = _a.diagnostics; | ||
_this.diagnostics = diagnostics; | ||
return ts.createSourceFile(fileName, output, languageVersion, true); | ||
}; | ||
} | ||
return TsickleCompilerHost; | ||
}(DelegatingHost)); | ||
exports.TsickleCompilerHost = TsickleCompilerHost; | ||
var IGNORED_FILES = /\.ngfactory\.js$|\.ngstyle\.js$/; | ||
@@ -122,8 +64,7 @@ var MetadataWriterHost = (function (_super) { | ||
function MetadataWriterHost(delegate, ngOptions) { | ||
var _this = this; | ||
_super.call(this, delegate); | ||
this.ngOptions = ngOptions; | ||
this.metadataCollector = new collector_1.MetadataCollector({ quotedNames: true }); | ||
this.metadataCollector1 = new collector_1.MetadataCollector({ version: 1 }); | ||
this.writeFile = function (fileName, data, writeByteOrderMark, onError, sourceFiles) { | ||
var _this = _super.call(this, delegate) || this; | ||
_this.ngOptions = ngOptions; | ||
_this.metadataCollector = new collector_1.MetadataCollector({ quotedNames: true }); | ||
_this.metadataCollector1 = new collector_1.MetadataCollector({ version: 1 }); | ||
_this.writeFile = function (fileName, data, writeByteOrderMark, onError, sourceFiles) { | ||
if (/\.d\.ts$/.test(fileName)) { | ||
@@ -149,2 +90,3 @@ // Let the original file be written first; this takes care of creating parent directories | ||
}; | ||
return _this; | ||
} | ||
@@ -151,0 +93,0 @@ MetadataWriterHost.prototype.writeMetadata = function (emitFilePath, sourceFile) { |
@@ -9,4 +9,4 @@ /** | ||
"use strict"; | ||
var ts = require('typescript'); | ||
var schema_1 = require('./schema'); | ||
var ts = require("typescript"); | ||
var schema_1 = require("./schema"); | ||
// In TypeScript 2.1 the spread element kind was renamed. | ||
@@ -13,0 +13,0 @@ var spreadElementSyntaxKind = ts.SyntaxKind.SpreadElement || ts.SyntaxKind.SpreadElementExpression; |
@@ -9,10 +9,11 @@ /** | ||
"use strict"; | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var ts = require('typescript'); | ||
var tsc_1 = require('./tsc'); | ||
var compiler_host_1 = require('./compiler_host'); | ||
var cli_options_1 = require('./cli_options'); | ||
var vinyl_file_1 = require('./vinyl_file'); | ||
var tsc_2 = require('./tsc'); | ||
var fs = require("fs"); | ||
var path = require("path"); | ||
var tsickle = require("tsickle"); | ||
var ts = require("typescript"); | ||
var tsc_1 = require("./tsc"); | ||
var compiler_host_1 = require("./compiler_host"); | ||
var cli_options_1 = require("./cli_options"); | ||
var vinyl_file_1 = require("./vinyl_file"); | ||
var tsc_2 = require("./tsc"); | ||
exports.UserError = tsc_2.UserError; | ||
@@ -65,11 +66,23 @@ function main(project, cliOptions, codegen, options) { | ||
var programForJsEmit = programWithCodegen; | ||
var tsickleCompilerHostOptions = { | ||
googmodule: false, | ||
untyped: true, | ||
convertIndexImportShorthand: ngOptions_1.target === ts.ScriptTarget.ES2015, | ||
}; | ||
var tsickleHost = { | ||
shouldSkipTsickleProcessing: function (fileName) { return /\.d\.ts$/.test(fileName); }, | ||
pathToModuleName: function (context, importPath) { return ''; }, | ||
shouldIgnoreWarningsForPath: function (filePath) { return false; }, | ||
fileNameToModuleId: function (fileName) { return fileName; }, | ||
}; | ||
var tsickleCompilerHost = new tsickle.TsickleCompilerHost(preprocessHost, ngOptions_1, tsickleCompilerHostOptions, tsickleHost); | ||
if (ngOptions_1.annotationsAs !== 'decorators') { | ||
if (diagnostics_1) | ||
console.time('NG downlevel'); | ||
var downlevelHost = new compiler_host_1.DecoratorDownlevelCompilerHost(preprocessHost, programForJsEmit); | ||
tsickleCompilerHost.reconfigureForRun(programForJsEmit, tsickle.Pass.DECORATOR_DOWNLEVEL); | ||
// A program can be re-used only once; save the programWithCodegen to be reused by | ||
// metadataWriter | ||
programForJsEmit = createProgram_1(downlevelHost); | ||
tsc_1.check(downlevelHost.diagnostics); | ||
preprocessHost = downlevelHost; | ||
programForJsEmit = createProgram_1(tsickleCompilerHost); | ||
tsc_1.check(tsickleCompilerHost.diagnostics); | ||
preprocessHost = tsickleCompilerHost; | ||
if (diagnostics_1) | ||
@@ -81,5 +94,5 @@ console.timeEnd('NG downlevel'); | ||
console.time('NG JSDoc'); | ||
var tsickleHost = new compiler_host_1.TsickleCompilerHost(preprocessHost, programForJsEmit, ngOptions_1); | ||
programForJsEmit = createProgram_1(tsickleHost); | ||
tsc_1.check(tsickleHost.diagnostics); | ||
tsickleCompilerHost.reconfigureForRun(programForJsEmit, tsickle.Pass.CLOSURIZE); | ||
programForJsEmit = createProgram_1(tsickleCompilerHost); | ||
tsc_1.check(tsickleCompilerHost.diagnostics); | ||
if (diagnostics_1) | ||
@@ -86,0 +99,0 @@ console.timeEnd('NG JSDoc'); |
@@ -8,3 +8,3 @@ /** | ||
*/ | ||
export declare const VERSION: number; | ||
export declare const VERSION = 3; | ||
export declare type MetadataEntry = ClassMetadata | FunctionMetadata | MetadataValue; | ||
@@ -11,0 +11,0 @@ export interface ModuleMetadata { |
@@ -9,3 +9,3 @@ /** | ||
"use strict"; | ||
var ts = require('typescript'); | ||
var ts = require("typescript"); | ||
var Symbols = (function () { | ||
@@ -12,0 +12,0 @@ function Symbols(sourceFile) { |
@@ -21,3 +21,3 @@ import * as ts from 'typescript'; | ||
message: string; | ||
readonly name: string; | ||
name: string; | ||
stack: any; | ||
@@ -24,0 +24,0 @@ toString(): string; |
@@ -14,17 +14,23 @@ /** | ||
}; | ||
var fs_1 = require('fs'); | ||
var path = require('path'); | ||
var ts = require('typescript'); | ||
var vinyl_file_1 = require('./vinyl_file'); | ||
var fs_1 = require("fs"); | ||
var path = require("path"); | ||
var ts = require("typescript"); | ||
var vinyl_file_1 = require("./vinyl_file"); | ||
var UserError = (function (_super) { | ||
__extends(UserError, _super); | ||
function UserError(message) { | ||
// Errors don't use current this, instead they create a new instance. | ||
// We have to do forward all of our api to the nativeInstance. | ||
var nativeError = _super.call(this, message); | ||
this._nativeError = nativeError; | ||
var _this = _super.call(this, message) || this; | ||
// Required for TS 2.1, see | ||
// https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#extending-built-ins-like-error-array-and-map-may-no-longer-work | ||
Object.setPrototypeOf(_this, UserError.prototype); | ||
var nativeError = new Error(message); | ||
_this._nativeError = nativeError; | ||
return _this; | ||
} | ||
Object.defineProperty(UserError.prototype, "message", { | ||
get: function () { return this._nativeError.message; }, | ||
set: function (message) { this._nativeError.message = message; }, | ||
set: function (message) { | ||
if (this._nativeError) | ||
this._nativeError.message = message; | ||
}, | ||
enumerable: true, | ||
@@ -34,3 +40,7 @@ configurable: true | ||
Object.defineProperty(UserError.prototype, "name", { | ||
get: function () { return 'UserError'; }, | ||
get: function () { return this._nativeError.name; }, | ||
set: function (name) { | ||
if (this._nativeError) | ||
this._nativeError.name = name; | ||
}, | ||
enumerable: true, | ||
@@ -41,3 +51,6 @@ configurable: true | ||
get: function () { return this._nativeError.stack; }, | ||
set: function (value) { this._nativeError.stack = value; }, | ||
set: function (value) { | ||
if (this._nativeError) | ||
this._nativeError.stack = value; | ||
}, | ||
enumerable: true, | ||
@@ -137,3 +150,4 @@ configurable: true | ||
fileExists: fs_1.existsSync, | ||
readDirectory: this.readDirectory | ||
readDirectory: this.readDirectory, | ||
readFile: ts.sys.readFile | ||
}; | ||
@@ -140,0 +154,0 @@ this.parsed = ts.parseJsonConfigFileContent(config, host, basePath, existingOptions); |
@@ -0,1 +1,2 @@ | ||
/// <reference types="node" /> | ||
/** | ||
@@ -2,0 +3,0 @@ * @license |
@@ -9,6 +9,6 @@ /** | ||
"use strict"; | ||
var ts = require('typescript'); | ||
var collector_1 = require('../src/collector'); | ||
var schema_1 = require('../src/schema'); | ||
var typescript_mocks_1 = require('./typescript.mocks'); | ||
var ts = require("typescript"); | ||
var collector_1 = require("../src/collector"); | ||
var schema_1 = require("../src/schema"); | ||
var typescript_mocks_1 = require("./typescript.mocks"); | ||
describe('Collector', function () { | ||
@@ -15,0 +15,0 @@ var documentRegistry = ts.createDocumentRegistry(); |
@@ -9,6 +9,6 @@ /** | ||
"use strict"; | ||
var ts = require('typescript'); | ||
var evaluator_1 = require('../src/evaluator'); | ||
var symbols_1 = require('../src/symbols'); | ||
var typescript_mocks_1 = require('./typescript.mocks'); | ||
var ts = require("typescript"); | ||
var evaluator_1 = require("../src/evaluator"); | ||
var symbols_1 = require("../src/symbols"); | ||
var typescript_mocks_1 = require("./typescript.mocks"); | ||
describe('Evaluator', function () { | ||
@@ -15,0 +15,0 @@ var documentRegistry = ts.createDocumentRegistry(); |
@@ -9,6 +9,6 @@ /** | ||
"use strict"; | ||
var fs = require('fs'); | ||
var path = require('path'); | ||
var main_1 = require('../src/main'); | ||
var test_support_1 = require('./test_support'); | ||
var fs = require("fs"); | ||
var path = require("path"); | ||
var main_1 = require("../src/main"); | ||
var test_support_1 = require("./test_support"); | ||
describe('tsc-wrapped', function () { | ||
@@ -130,3 +130,13 @@ var basePath; | ||
}); | ||
it('should produce valid source maps', function (done) { | ||
write('tsconfig.json', "{\n \"compilerOptions\": {\n \"experimentalDecorators\": true,\n \"types\": [],\n \"outDir\": \"built\",\n \"declaration\": true,\n \"moduleResolution\": \"node\",\n \"target\": \"es2015\",\n \"sourceMap\": true\n },\n \"angularCompilerOptions\": {\n \"annotateForClosureCompiler\": true\n },\n \"files\": [\"test.ts\"]\n }"); | ||
main_1.main(basePath, { basePath: basePath }) | ||
.then(function () { | ||
var out = readOut('js.map'); | ||
expect(out).toContain('"sources":["../test.ts"]'); | ||
done(); | ||
}) | ||
.catch(function (e) { return done.fail(e); }); | ||
}); | ||
}); | ||
//# sourceMappingURL=main.spec.js.map |
@@ -9,6 +9,6 @@ /** | ||
"use strict"; | ||
var ts = require('typescript'); | ||
var schema_1 = require('../src/schema'); | ||
var symbols_1 = require('../src/symbols'); | ||
var typescript_mocks_1 = require('./typescript.mocks'); | ||
var ts = require("typescript"); | ||
var schema_1 = require("../src/schema"); | ||
var symbols_1 = require("../src/symbols"); | ||
var typescript_mocks_1 = require("./typescript.mocks"); | ||
describe('Symbols', function () { | ||
@@ -15,0 +15,0 @@ var symbols; |
@@ -9,5 +9,5 @@ /** | ||
"use strict"; | ||
var fs = require('fs'); | ||
var os = require('os'); | ||
var path = require('path'); | ||
var fs = require("fs"); | ||
var os = require("os"); | ||
var path = require("path"); | ||
var tmpdir = process.env.TEST_TMPDIR || os.tmpdir(); | ||
@@ -14,0 +14,0 @@ function writeTempFile(name, contents) { |
@@ -9,4 +9,4 @@ /** | ||
"use strict"; | ||
var ts = require('typescript'); | ||
var tsc_1 = require('../src/tsc'); | ||
var ts = require("typescript"); | ||
var tsc_1 = require("../src/tsc"); | ||
describe('options parsing', function () { | ||
@@ -28,3 +28,3 @@ var configData = "\n{\n \"angularCompilerOptions\": {\n \"googleClosureOutput\": true\n },\n \"compilerOptions\": {\n \"module\": \"commonjs\",\n \"outDir\": \"built\"\n }\n}"; | ||
it('should combine all options into ngOptions from vinyl like object', function () { | ||
var _a = tsc_1.tsc.readConfiguration(config, 'basePath'), parsed = _a.parsed, ngOptions = _a.ngOptions; | ||
var _a = tsc.readConfiguration(config, 'basePath'), parsed = _a.parsed, ngOptions = _a.ngOptions; | ||
expect(ngOptions).toEqual({ | ||
@@ -31,0 +31,0 @@ genDir: 'basePath', |
@@ -44,2 +44,3 @@ import * as ts from 'typescript'; | ||
name: string; | ||
kind: ts.SyntaxKind.Identifier; | ||
text: string; | ||
@@ -52,8 +53,9 @@ _primaryExpressionBrand: any; | ||
_expressionBrand: any; | ||
constructor(name: string, kind?: ts.SyntaxKind, flags?: ts.NodeFlags, pos?: number, end?: number); | ||
constructor(name: string, kind?: ts.SyntaxKind.Identifier, flags?: ts.NodeFlags, pos?: number, end?: number); | ||
} | ||
export declare class MockVariableDeclaration extends MockNode implements ts.VariableDeclaration { | ||
name: ts.Identifier; | ||
kind: ts.SyntaxKind.VariableDeclaration; | ||
_declarationBrand: any; | ||
constructor(name: ts.Identifier, kind?: ts.SyntaxKind, flags?: ts.NodeFlags, pos?: number, end?: number); | ||
constructor(name: ts.Identifier, kind?: ts.SyntaxKind.VariableDeclaration, flags?: ts.NodeFlags, pos?: number, end?: number); | ||
static of(name: string): MockVariableDeclaration; | ||
@@ -70,2 +72,3 @@ } | ||
getDocumentationComment(): ts.SymbolDisplayPart[]; | ||
getJsDocTags(): ts.JSDocTagInfo[]; | ||
static of(name: string): MockSymbol; | ||
@@ -72,0 +75,0 @@ } |
@@ -7,4 +7,4 @@ "use strict"; | ||
}; | ||
var fs = require('fs'); | ||
var ts = require('typescript'); | ||
var fs = require("fs"); | ||
var ts = require("typescript"); | ||
var Host = (function () { | ||
@@ -99,5 +99,7 @@ function Host(directory, scripts) { | ||
if (end === void 0) { end = 0; } | ||
_super.call(this, kind, flags, pos, end); | ||
this.name = name; | ||
this.text = name; | ||
var _this = _super.call(this, kind, flags, pos, end) || this; | ||
_this.name = name; | ||
_this.kind = kind; | ||
_this.text = name; | ||
return _this; | ||
} | ||
@@ -114,4 +116,6 @@ return MockIdentifier; | ||
if (end === void 0) { end = 0; } | ||
_super.call(this, kind, flags, pos, end); | ||
this.name = name; | ||
var _this = _super.call(this, kind, flags, pos, end) || this; | ||
_this.name = name; | ||
_this.kind = kind; | ||
return _this; | ||
} | ||
@@ -136,2 +140,4 @@ MockVariableDeclaration.of = function (name) { | ||
MockSymbol.prototype.getDocumentationComment = function () { return []; }; | ||
MockSymbol.prototype.getJsDocTags = function () { return []; }; | ||
; | ||
MockSymbol.of = function (name) { return new MockSymbol(name); }; | ||
@@ -138,0 +144,0 @@ return MockSymbol; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Mixed license
License(Experimental) Package contains multiple licenses.
Found 1 instance in 1 package
Unidentified License
License(Experimental) Something that seems like a license was found, but its contents could not be matched with a known license.
Found 4 instances in 1 package
0
100
487880
55
3883
+ Addedtsickle@0.21.6(transitive)
- Removedtsickle@0.2.6(transitive)
Updatedtsickle@^0.21.0