chore(typescript 1.6 upgrade): fix build.js and docs

This commit is contained in:
Alex Eagle 2015-09-23 15:02:37 -07:00 committed by Victor Savkin
parent 2ee32fb02c
commit 7a53f82516
12 changed files with 148 additions and 124 deletions

View File

@ -59,7 +59,10 @@ module.exports = function readTypeScriptModules(tsParser, modules, getFileInfo,
if (anyMatches(ignoreExportsMatching, exportSymbol.name)) return; if (anyMatches(ignoreExportsMatching, exportSymbol.name)) return;
// If the symbol is an Alias then for most things we want the original resolved symbol // If the symbol is an Alias then for most things we want the original resolved symbol
var resolvedExport = exportSymbol.resolvedSymbol || exportSymbol; var resolvedExport = exportSymbol;
if (exportSymbol.resolvedSymbol && exportSymbol.resolvedSymbol.name !== "unknown") {
resolvedExport = exportSymbol.resolvedSymbol;
}
var exportDoc = createExportDoc(exportSymbol.name, resolvedExport, moduleDoc, basePath, parseInfo.typeChecker); var exportDoc = createExportDoc(exportSymbol.name, resolvedExport, moduleDoc, basePath, parseInfo.typeChecker);
log.debug('>>>> EXPORT: ' + exportDoc.name + ' (' + exportDoc.docType + ') from ' + moduleDoc.id); log.debug('>>>> EXPORT: ' + exportDoc.name + ' (' + exportDoc.docType + ') from ' + moduleDoc.id);
@ -282,7 +285,11 @@ module.exports = function readTypeScriptModules(tsParser, modules, getFileInfo,
function getDecorators(symbol) { function getDecorators(symbol) {
var declaration = symbol.valueDeclaration || symbol.declarations[0]; var declaration = symbol.valueDeclaration;
if (!declaration) {
console.log("missing declaration for symbol", declaration);
return [];
}
var sourceFile = ts.getSourceFileOfNode(declaration); var sourceFile = ts.getSourceFileOfNode(declaration);
var decorators = declaration.decorators && declaration.decorators.map(function(decorator) { var decorators = declaration.decorators && declaration.decorators.map(function(decorator) {

View File

@ -56,7 +56,14 @@ module.exports = function createCompilerHost(log) {
}, },
getNewLine: function() { getNewLine: function() {
return ts.sys.newLine; return ts.sys.newLine;
},
fileExists: function(fileName) {
var stats;
fs.stat(fileName, function(err, s) {
stats = s;
});
return !!stats;
} }
}; };
}; };
}; };

View File

@ -38,7 +38,7 @@ describe('createCompilerHost', function() {
describe('getDefaultLibFileName', function() { describe('getDefaultLibFileName', function() {
it('should return a path to the default library', function() { it('should return a path to the default library', function() {
expect(host.getDefaultLibFileName(options)).toContain('typescript/bin/lib.d.ts'); expect(host.getDefaultLibFileName(options)).toContain('typescript/lib/lib.d.ts');
}); });
}); });
@ -77,4 +77,4 @@ describe('createCompilerHost', function() {
expect(host.getNewLine()).toEqual(require('os').EOL); expect(host.getNewLine()).toEqual(require('os').EOL);
}); });
}); });
}); });

View File

@ -4,6 +4,9 @@ var ts = require('typescript');
module.exports = function getFileInfo(log) { module.exports = function getFileInfo(log) {
return function (symbol, basePath) { return function (symbol, basePath) {
if (!symbol.declarations) {
console.log("ouch", symbol);
}
var fileName = ts.getSourceFileOfNode(symbol.declarations[0]).fileName; var fileName = ts.getSourceFileOfNode(symbol.declarations[0]).fileName;
var file = path.resolve(basePath, fileName); var file = path.resolve(basePath, fileName);
@ -17,4 +20,4 @@ module.exports = function getFileInfo(log) {
}; };
return fileInfo; return fileInfo;
}; };
}; };

View File

@ -40,7 +40,6 @@ var insert = require('gulp-insert');
var buildRouter = require('./modules/angular1_router/build'); var buildRouter = require('./modules/angular1_router/build');
var uglify = require('gulp-uglify'); var uglify = require('gulp-uglify');
var shouldLog = require('./tools/build/logging'); var shouldLog = require('./tools/build/logging');
var tslint = require('gulp-tslint');
var dartSdk = require('./tools/build/dart'); var dartSdk = require('./tools/build/dart');
var sauceConf = require('./sauce.conf'); var sauceConf = require('./sauce.conf');
var os = require('os'); var os = require('os');
@ -288,6 +287,7 @@ gulp.task('enforce-format', function() {
}); });
gulp.task('lint', ['build.tools'], function() { gulp.task('lint', ['build.tools'], function() {
var tslint = require('gulp-tslint');
// Built-in rules are at // Built-in rules are at
// https://github.com/palantir/tslint#supported-rules // https://github.com/palantir/tslint#supported-rules
var tslintConfig = { var tslintConfig = {
@ -297,7 +297,6 @@ gulp.task('lint', ['build.tools'], function() {
"requireParameterType": true "requireParameterType": true
} }
}; };
return gulp.src(['modules/angular2/src/**/*.ts', '!modules/angular2/src/test_lib/**']) return gulp.src(['modules/angular2/src/**/*.ts', '!modules/angular2/src/test_lib/**'])
.pipe(tslint({configuration: tslintConfig, rulesDirectory: 'dist/tools/tslint'})) .pipe(tslint({configuration: tslintConfig, rulesDirectory: 'dist/tools/tslint'}))
.pipe(tslint.report('prose', {emitError: true})); .pipe(tslint.report('prose', {emitError: true}));

View File

@ -40,6 +40,9 @@ export type RequestOptionsArgs = {
headers?: Headers; headers?: Headers;
// TODO: Support Blob, ArrayBuffer, JSON, URLSearchParams, FormData // TODO: Support Blob, ArrayBuffer, JSON, URLSearchParams, FormData
body?: string; body?: string;
mode?: any;
credentials?: any;
cache?: any;
} }
/** /**

View File

@ -10026,7 +10026,7 @@
} }
}, },
"ts2dart": { "ts2dart": {
"version": "0.7.4", "version": "0.7.5",
"dependencies": { "dependencies": {
"source-map": { "source-map": {
"version": "0.4.4", "version": "0.4.4",

226
npm-shrinkwrap.json generated
View File

@ -10580,103 +10580,103 @@
}, },
"gulp-typescript": { "gulp-typescript": {
"version": "2.9.0", "version": "2.9.0",
"from": "gulp-typescript@2.9.0", "from": "https://registry.npmjs.org/gulp-typescript/-/gulp-typescript-2.9.0.tgz",
"resolved": "https://registry.npmjs.org/gulp-typescript/-/gulp-typescript-2.9.0.tgz", "resolved": "https://registry.npmjs.org/gulp-typescript/-/gulp-typescript-2.9.0.tgz",
"dependencies": { "dependencies": {
"gulp-util": { "gulp-util": {
"version": "3.0.6", "version": "3.0.6",
"from": "gulp-util@>=3.0.6 <3.1.0", "from": "https://registry.npmjs.org/gulp-util/-/gulp-util-3.0.6.tgz",
"resolved": "https://registry.npmjs.org/gulp-util/-/gulp-util-3.0.6.tgz", "resolved": "https://registry.npmjs.org/gulp-util/-/gulp-util-3.0.6.tgz",
"dependencies": { "dependencies": {
"array-differ": { "array-differ": {
"version": "1.0.0", "version": "1.0.0",
"from": "array-differ@>=1.0.0 <2.0.0", "from": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz" "resolved": "https://registry.npmjs.org/array-differ/-/array-differ-1.0.0.tgz"
}, },
"array-uniq": { "array-uniq": {
"version": "1.0.2", "version": "1.0.2",
"from": "array-uniq@>=1.0.2 <2.0.0", "from": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.2.tgz",
"resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.2.tgz" "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.2.tgz"
}, },
"beeper": { "beeper": {
"version": "1.1.0", "version": "1.1.0",
"from": "beeper@>=1.0.0 <2.0.0", "from": "https://registry.npmjs.org/beeper/-/beeper-1.1.0.tgz",
"resolved": "https://registry.npmjs.org/beeper/-/beeper-1.1.0.tgz" "resolved": "https://registry.npmjs.org/beeper/-/beeper-1.1.0.tgz"
}, },
"chalk": { "chalk": {
"version": "1.1.1", "version": "1.1.1",
"from": "chalk@>=1.0.0 <2.0.0", "from": "https://registry.npmjs.org/chalk/-/chalk-1.1.1.tgz",
"resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.1.tgz", "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.1.tgz",
"dependencies": { "dependencies": {
"ansi-styles": { "ansi-styles": {
"version": "2.1.0", "version": "2.1.0",
"from": "ansi-styles@>=2.1.0 <3.0.0", "from": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.1.0.tgz",
"resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.1.0.tgz" "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.1.0.tgz"
}, },
"escape-string-regexp": { "escape-string-regexp": {
"version": "1.0.3", "version": "1.0.3",
"from": "escape-string-regexp@>=1.0.2 <2.0.0", "from": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.3.tgz",
"resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.3.tgz" "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.3.tgz"
}, },
"has-ansi": { "has-ansi": {
"version": "2.0.0", "version": "2.0.0",
"from": "has-ansi@>=2.0.0 <3.0.0", "from": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
"resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz",
"dependencies": { "dependencies": {
"ansi-regex": { "ansi-regex": {
"version": "2.0.0", "version": "2.0.0",
"from": "ansi-regex@>=2.0.0 <3.0.0", "from": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz" "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz"
} }
} }
}, },
"strip-ansi": { "strip-ansi": {
"version": "3.0.0", "version": "3.0.0",
"from": "strip-ansi@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.0.tgz",
"resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.0.tgz", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.0.tgz",
"dependencies": { "dependencies": {
"ansi-regex": { "ansi-regex": {
"version": "2.0.0", "version": "2.0.0",
"from": "ansi-regex@>=2.0.0 <3.0.0", "from": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz",
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz" "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.0.0.tgz"
} }
} }
}, },
"supports-color": { "supports-color": {
"version": "2.0.0", "version": "2.0.0",
"from": "supports-color@>=2.0.0 <3.0.0", "from": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
"resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz" "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz"
} }
} }
}, },
"dateformat": { "dateformat": {
"version": "1.0.11", "version": "1.0.11",
"from": "dateformat@>=1.0.11 <2.0.0", "from": "https://registry.npmjs.org/dateformat/-/dateformat-1.0.11.tgz",
"resolved": "https://registry.npmjs.org/dateformat/-/dateformat-1.0.11.tgz", "resolved": "https://registry.npmjs.org/dateformat/-/dateformat-1.0.11.tgz",
"dependencies": { "dependencies": {
"get-stdin": { "get-stdin": {
"version": "5.0.0", "version": "5.0.0",
"from": "get-stdin@*", "from": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.0.tgz",
"resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.0.tgz" "resolved": "https://registry.npmjs.org/get-stdin/-/get-stdin-5.0.0.tgz"
}, },
"meow": { "meow": {
"version": "3.3.0", "version": "3.3.0",
"from": "meow@*", "from": "https://registry.npmjs.org/meow/-/meow-3.3.0.tgz",
"resolved": "https://registry.npmjs.org/meow/-/meow-3.3.0.tgz", "resolved": "https://registry.npmjs.org/meow/-/meow-3.3.0.tgz",
"dependencies": { "dependencies": {
"camelcase-keys": { "camelcase-keys": {
"version": "1.0.0", "version": "1.0.0",
"from": "camelcase-keys@>=1.0.0 <2.0.0", "from": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-1.0.0.tgz", "resolved": "https://registry.npmjs.org/camelcase-keys/-/camelcase-keys-1.0.0.tgz",
"dependencies": { "dependencies": {
"camelcase": { "camelcase": {
"version": "1.2.1", "version": "1.2.1",
"from": "camelcase@>=1.0.1 <2.0.0", "from": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz",
"resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz" "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz"
}, },
"map-obj": { "map-obj": {
"version": "1.0.1", "version": "1.0.1",
"from": "map-obj@>=1.0.0 <2.0.0", "from": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz" "resolved": "https://registry.npmjs.org/map-obj/-/map-obj-1.0.1.tgz"
} }
} }
@ -10687,116 +10687,116 @@
}, },
"lodash._reescape": { "lodash._reescape": {
"version": "3.0.0", "version": "3.0.0",
"from": "lodash._reescape@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash._reescape/-/lodash._reescape-3.0.0.tgz",
"resolved": "https://registry.npmjs.org/lodash._reescape/-/lodash._reescape-3.0.0.tgz" "resolved": "https://registry.npmjs.org/lodash._reescape/-/lodash._reescape-3.0.0.tgz"
}, },
"lodash._reevaluate": { "lodash._reevaluate": {
"version": "3.0.0", "version": "3.0.0",
"from": "lodash._reevaluate@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz",
"resolved": "https://registry.npmjs.org/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz" "resolved": "https://registry.npmjs.org/lodash._reevaluate/-/lodash._reevaluate-3.0.0.tgz"
}, },
"lodash._reinterpolate": { "lodash._reinterpolate": {
"version": "3.0.0", "version": "3.0.0",
"from": "lodash._reinterpolate@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz",
"resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz" "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz"
}, },
"lodash.template": { "lodash.template": {
"version": "3.6.2", "version": "3.6.2",
"from": "lodash.template@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash.template/-/lodash.template-3.6.2.tgz",
"resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-3.6.2.tgz", "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-3.6.2.tgz",
"dependencies": { "dependencies": {
"lodash._basecopy": { "lodash._basecopy": {
"version": "3.0.1", "version": "3.0.1",
"from": "lodash._basecopy@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz",
"resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz" "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz"
}, },
"lodash._basetostring": { "lodash._basetostring": {
"version": "3.0.1", "version": "3.0.1",
"from": "lodash._basetostring@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash._basetostring/-/lodash._basetostring-3.0.1.tgz",
"resolved": "https://registry.npmjs.org/lodash._basetostring/-/lodash._basetostring-3.0.1.tgz" "resolved": "https://registry.npmjs.org/lodash._basetostring/-/lodash._basetostring-3.0.1.tgz"
}, },
"lodash._basevalues": { "lodash._basevalues": {
"version": "3.0.0", "version": "3.0.0",
"from": "lodash._basevalues@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz",
"resolved": "https://registry.npmjs.org/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz" "resolved": "https://registry.npmjs.org/lodash._basevalues/-/lodash._basevalues-3.0.0.tgz"
}, },
"lodash._isiterateecall": { "lodash._isiterateecall": {
"version": "3.0.9", "version": "3.0.9",
"from": "lodash._isiterateecall@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz",
"resolved": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz" "resolved": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz"
}, },
"lodash.escape": { "lodash.escape": {
"version": "3.0.0", "version": "3.0.0",
"from": "lodash.escape@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-3.0.0.tgz",
"resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-3.0.0.tgz" "resolved": "https://registry.npmjs.org/lodash.escape/-/lodash.escape-3.0.0.tgz"
}, },
"lodash.keys": { "lodash.keys": {
"version": "3.1.2", "version": "3.1.2",
"from": "lodash.keys@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz",
"resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz", "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz",
"dependencies": { "dependencies": {
"lodash._getnative": { "lodash._getnative": {
"version": "3.9.1", "version": "3.9.1",
"from": "lodash._getnative@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz",
"resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz" "resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz"
}, },
"lodash.isarguments": { "lodash.isarguments": {
"version": "3.0.4", "version": "3.0.4",
"from": "lodash.isarguments@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.0.4.tgz",
"resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.0.4.tgz" "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.0.4.tgz"
}, },
"lodash.isarray": { "lodash.isarray": {
"version": "3.0.4", "version": "3.0.4",
"from": "lodash.isarray@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz",
"resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz" "resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz"
} }
} }
}, },
"lodash.restparam": { "lodash.restparam": {
"version": "3.6.1", "version": "3.6.1",
"from": "lodash.restparam@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash.restparam/-/lodash.restparam-3.6.1.tgz",
"resolved": "https://registry.npmjs.org/lodash.restparam/-/lodash.restparam-3.6.1.tgz" "resolved": "https://registry.npmjs.org/lodash.restparam/-/lodash.restparam-3.6.1.tgz"
}, },
"lodash.templatesettings": { "lodash.templatesettings": {
"version": "3.1.0", "version": "3.1.0",
"from": "lodash.templatesettings@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-3.1.0.tgz",
"resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-3.1.0.tgz" "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-3.1.0.tgz"
} }
} }
}, },
"multipipe": { "multipipe": {
"version": "0.1.2", "version": "0.1.2",
"from": "multipipe@>=0.1.2 <0.2.0", "from": "https://registry.npmjs.org/multipipe/-/multipipe-0.1.2.tgz",
"resolved": "https://registry.npmjs.org/multipipe/-/multipipe-0.1.2.tgz", "resolved": "https://registry.npmjs.org/multipipe/-/multipipe-0.1.2.tgz",
"dependencies": { "dependencies": {
"duplexer2": { "duplexer2": {
"version": "0.0.2", "version": "0.0.2",
"from": "duplexer2@0.0.2", "from": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz",
"resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz", "resolved": "https://registry.npmjs.org/duplexer2/-/duplexer2-0.0.2.tgz",
"dependencies": { "dependencies": {
"readable-stream": { "readable-stream": {
"version": "1.1.13", "version": "1.1.13",
"from": "readable-stream@>=1.1.9 <1.2.0", "from": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13.tgz",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13.tgz", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13.tgz",
"dependencies": { "dependencies": {
"core-util-is": { "core-util-is": {
"version": "1.0.1", "version": "1.0.1",
"from": "core-util-is@>=1.0.0 <1.1.0", "from": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz" "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz"
}, },
"isarray": { "isarray": {
"version": "0.0.1", "version": "0.0.1",
"from": "isarray@0.0.1", "from": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz" "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
}, },
"string_decoder": { "string_decoder": {
"version": "0.10.31", "version": "0.10.31",
"from": "string_decoder@>=0.10.0 <0.11.0", "from": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz" "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz"
}, },
"inherits": { "inherits": {
"version": "2.0.1", "version": "2.0.1",
"from": "inherits@>=2.0.1 <2.1.0", "from": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz" "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz"
} }
} }
@ -10807,27 +10807,27 @@
}, },
"object-assign": { "object-assign": {
"version": "3.0.0", "version": "3.0.0",
"from": "object-assign@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/object-assign/-/object-assign-3.0.0.tgz",
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-3.0.0.tgz" "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-3.0.0.tgz"
}, },
"replace-ext": { "replace-ext": {
"version": "0.0.1", "version": "0.0.1",
"from": "replace-ext@0.0.1", "from": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz" "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz"
}, },
"vinyl": { "vinyl": {
"version": "0.5.3", "version": "0.5.3",
"from": "vinyl@>=0.5.0 <0.6.0", "from": "https://registry.npmjs.org/vinyl/-/vinyl-0.5.3.tgz",
"resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.5.3.tgz", "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-0.5.3.tgz",
"dependencies": { "dependencies": {
"clone": { "clone": {
"version": "1.0.2", "version": "1.0.2",
"from": "clone@>=1.0.0 <2.0.0", "from": "https://registry.npmjs.org/clone/-/clone-1.0.2.tgz",
"resolved": "https://registry.npmjs.org/clone/-/clone-1.0.2.tgz" "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.2.tgz"
}, },
"clone-stats": { "clone-stats": {
"version": "0.0.1", "version": "0.0.1",
"from": "clone-stats@>=0.0.1 <0.0.2", "from": "https://registry.npmjs.org/clone-stats/-/clone-stats-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-0.0.1.tgz" "resolved": "https://registry.npmjs.org/clone-stats/-/clone-stats-0.0.1.tgz"
} }
} }
@ -10836,47 +10836,47 @@
}, },
"source-map": { "source-map": {
"version": "0.5.0", "version": "0.5.0",
"from": "source-map@>=0.5.0 <0.6.0", "from": "https://registry.npmjs.org/source-map/-/source-map-0.5.0.tgz",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.0.tgz" "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.0.tgz"
}, },
"through2": { "through2": {
"version": "2.0.0", "version": "2.0.0",
"from": "through2@>=2.0.0 <2.1.0", "from": "https://registry.npmjs.org/through2/-/through2-2.0.0.tgz",
"resolved": "https://registry.npmjs.org/through2/-/through2-2.0.0.tgz", "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.0.tgz",
"dependencies": { "dependencies": {
"readable-stream": { "readable-stream": {
"version": "2.0.2", "version": "2.0.2",
"from": "readable-stream@>=2.0.0 <2.1.0", "from": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.2.tgz",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.2.tgz", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.2.tgz",
"dependencies": { "dependencies": {
"core-util-is": { "core-util-is": {
"version": "1.0.1", "version": "1.0.1",
"from": "core-util-is@>=1.0.0 <1.1.0", "from": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz" "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz"
}, },
"inherits": { "inherits": {
"version": "2.0.1", "version": "2.0.1",
"from": "inherits@>=2.0.1 <2.1.0", "from": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz" "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz"
}, },
"isarray": { "isarray": {
"version": "0.0.1", "version": "0.0.1",
"from": "isarray@0.0.1", "from": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz" "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
}, },
"process-nextick-args": { "process-nextick-args": {
"version": "1.0.3", "version": "1.0.3",
"from": "process-nextick-args@>=1.0.0 <1.1.0", "from": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.3.tgz",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.3.tgz" "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.3.tgz"
}, },
"string_decoder": { "string_decoder": {
"version": "0.10.31", "version": "0.10.31",
"from": "string_decoder@>=0.10.0 <0.11.0", "from": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz" "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz"
}, },
"util-deprecate": { "util-deprecate": {
"version": "1.0.1", "version": "1.0.1",
"from": "util-deprecate@>=1.0.1 <1.1.0", "from": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.1.tgz" "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.1.tgz"
} }
} }
@ -10885,27 +10885,27 @@
}, },
"vinyl-fs": { "vinyl-fs": {
"version": "1.0.0", "version": "1.0.0",
"from": "vinyl-fs@>=1.0.0 <1.1.0", "from": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-1.0.0.tgz", "resolved": "https://registry.npmjs.org/vinyl-fs/-/vinyl-fs-1.0.0.tgz",
"dependencies": { "dependencies": {
"duplexify": { "duplexify": {
"version": "3.4.2", "version": "3.4.2",
"from": "duplexify@>=3.2.0 <4.0.0", "from": "https://registry.npmjs.org/duplexify/-/duplexify-3.4.2.tgz",
"resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.4.2.tgz", "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.4.2.tgz",
"dependencies": { "dependencies": {
"end-of-stream": { "end-of-stream": {
"version": "1.0.0", "version": "1.0.0",
"from": "end-of-stream@1.0.0", "from": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.0.0.tgz", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.0.0.tgz",
"dependencies": { "dependencies": {
"once": { "once": {
"version": "1.3.2", "version": "1.3.2",
"from": "once@>=1.3.0 <1.4.0", "from": "https://registry.npmjs.org/once/-/once-1.3.2.tgz",
"resolved": "https://registry.npmjs.org/once/-/once-1.3.2.tgz", "resolved": "https://registry.npmjs.org/once/-/once-1.3.2.tgz",
"dependencies": { "dependencies": {
"wrappy": { "wrappy": {
"version": "1.0.1", "version": "1.0.1",
"from": "wrappy@>=1.0.0 <2.0.0", "from": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz" "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.1.tgz"
} }
} }
@ -10914,37 +10914,37 @@
}, },
"readable-stream": { "readable-stream": {
"version": "2.0.2", "version": "2.0.2",
"from": "readable-stream@>=2.0.0 <3.0.0", "from": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.2.tgz",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.2.tgz", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.2.tgz",
"dependencies": { "dependencies": {
"core-util-is": { "core-util-is": {
"version": "1.0.1", "version": "1.0.1",
"from": "core-util-is@>=1.0.0 <1.1.0", "from": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz" "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz"
}, },
"inherits": { "inherits": {
"version": "2.0.1", "version": "2.0.1",
"from": "inherits@>=2.0.1 <2.1.0", "from": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz" "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz"
}, },
"isarray": { "isarray": {
"version": "0.0.1", "version": "0.0.1",
"from": "isarray@0.0.1", "from": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz" "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
}, },
"process-nextick-args": { "process-nextick-args": {
"version": "1.0.3", "version": "1.0.3",
"from": "process-nextick-args@>=1.0.0 <1.1.0", "from": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.3.tgz",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.3.tgz" "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.3.tgz"
}, },
"string_decoder": { "string_decoder": {
"version": "0.10.31", "version": "0.10.31",
"from": "string_decoder@>=0.10.0 <0.11.0", "from": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz" "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz"
}, },
"util-deprecate": { "util-deprecate": {
"version": "1.0.1", "version": "1.0.1",
"from": "util-deprecate@>=1.0.1 <1.1.0", "from": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.1.tgz" "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.1.tgz"
} }
} }
@ -10953,74 +10953,74 @@
}, },
"glob-stream": { "glob-stream": {
"version": "4.1.1", "version": "4.1.1",
"from": "glob-stream@>=4.0.1 <5.0.0", "from": "https://registry.npmjs.org/glob-stream/-/glob-stream-4.1.1.tgz",
"resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-4.1.1.tgz", "resolved": "https://registry.npmjs.org/glob-stream/-/glob-stream-4.1.1.tgz",
"dependencies": { "dependencies": {
"ordered-read-streams": { "ordered-read-streams": {
"version": "0.1.0", "version": "0.1.0",
"from": "ordered-read-streams@>=0.1.0 <0.2.0", "from": "https://registry.npmjs.org/ordered-read-streams/-/ordered-read-streams-0.1.0.tgz",
"resolved": "https://registry.npmjs.org/ordered-read-streams/-/ordered-read-streams-0.1.0.tgz" "resolved": "https://registry.npmjs.org/ordered-read-streams/-/ordered-read-streams-0.1.0.tgz"
}, },
"glob2base": { "glob2base": {
"version": "0.0.12", "version": "0.0.12",
"from": "glob2base@>=0.0.12 <0.0.13", "from": "https://registry.npmjs.org/glob2base/-/glob2base-0.0.12.tgz",
"resolved": "https://registry.npmjs.org/glob2base/-/glob2base-0.0.12.tgz", "resolved": "https://registry.npmjs.org/glob2base/-/glob2base-0.0.12.tgz",
"dependencies": { "dependencies": {
"find-index": { "find-index": {
"version": "0.1.1", "version": "0.1.1",
"from": "find-index@>=0.1.1 <0.2.0", "from": "https://registry.npmjs.org/find-index/-/find-index-0.1.1.tgz",
"resolved": "https://registry.npmjs.org/find-index/-/find-index-0.1.1.tgz" "resolved": "https://registry.npmjs.org/find-index/-/find-index-0.1.1.tgz"
} }
} }
}, },
"unique-stream": { "unique-stream": {
"version": "2.2.0", "version": "2.2.0",
"from": "unique-stream@>=2.0.2 <3.0.0", "from": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.2.0.tgz",
"resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.2.0.tgz", "resolved": "https://registry.npmjs.org/unique-stream/-/unique-stream-2.2.0.tgz",
"dependencies": { "dependencies": {
"through2-filter": { "through2-filter": {
"version": "2.0.0", "version": "2.0.0",
"from": "through2-filter@>=2.0.0 <3.0.0", "from": "https://registry.npmjs.org/through2-filter/-/through2-filter-2.0.0.tgz",
"resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-2.0.0.tgz", "resolved": "https://registry.npmjs.org/through2-filter/-/through2-filter-2.0.0.tgz",
"dependencies": { "dependencies": {
"through2": { "through2": {
"version": "2.0.0", "version": "2.0.0",
"from": "through2@>=2.0.0 <2.1.0", "from": "https://registry.npmjs.org/through2/-/through2-2.0.0.tgz",
"resolved": "https://registry.npmjs.org/through2/-/through2-2.0.0.tgz", "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.0.tgz",
"dependencies": { "dependencies": {
"readable-stream": { "readable-stream": {
"version": "2.0.2", "version": "2.0.2",
"from": "readable-stream@>=2.0.0 <2.1.0", "from": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.2.tgz",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.2.tgz", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.0.2.tgz",
"dependencies": { "dependencies": {
"core-util-is": { "core-util-is": {
"version": "1.0.1", "version": "1.0.1",
"from": "core-util-is@>=1.0.0 <1.1.0", "from": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz" "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz"
}, },
"inherits": { "inherits": {
"version": "2.0.1", "version": "2.0.1",
"from": "inherits@>=2.0.1 <2.1.0", "from": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz" "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz"
}, },
"isarray": { "isarray": {
"version": "0.0.1", "version": "0.0.1",
"from": "isarray@0.0.1", "from": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz" "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
}, },
"process-nextick-args": { "process-nextick-args": {
"version": "1.0.3", "version": "1.0.3",
"from": "process-nextick-args@>=1.0.0 <1.1.0", "from": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.3.tgz",
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.3.tgz" "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-1.0.3.tgz"
}, },
"string_decoder": { "string_decoder": {
"version": "0.10.31", "version": "0.10.31",
"from": "string_decoder@>=0.10.0 <0.11.0", "from": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz" "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz"
}, },
"util-deprecate": { "util-deprecate": {
"version": "1.0.1", "version": "1.0.1",
"from": "util-deprecate@>=1.0.1 <1.1.0", "from": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.1.tgz" "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.1.tgz"
} }
} }
@ -11035,54 +11035,54 @@
}, },
"glob-watcher": { "glob-watcher": {
"version": "0.0.8", "version": "0.0.8",
"from": "glob-watcher@>=0.0.8 <0.0.9", "from": "https://registry.npmjs.org/glob-watcher/-/glob-watcher-0.0.8.tgz",
"resolved": "https://registry.npmjs.org/glob-watcher/-/glob-watcher-0.0.8.tgz", "resolved": "https://registry.npmjs.org/glob-watcher/-/glob-watcher-0.0.8.tgz",
"dependencies": { "dependencies": {
"gaze": { "gaze": {
"version": "0.5.1", "version": "0.5.1",
"from": "gaze@>=0.5.1 <0.6.0", "from": "https://registry.npmjs.org/gaze/-/gaze-0.5.1.tgz",
"resolved": "https://registry.npmjs.org/gaze/-/gaze-0.5.1.tgz", "resolved": "https://registry.npmjs.org/gaze/-/gaze-0.5.1.tgz",
"dependencies": { "dependencies": {
"globule": { "globule": {
"version": "0.1.0", "version": "0.1.0",
"from": "globule@>=0.1.0 <0.2.0", "from": "https://registry.npmjs.org/globule/-/globule-0.1.0.tgz",
"resolved": "https://registry.npmjs.org/globule/-/globule-0.1.0.tgz", "resolved": "https://registry.npmjs.org/globule/-/globule-0.1.0.tgz",
"dependencies": { "dependencies": {
"lodash": { "lodash": {
"version": "1.0.2", "version": "1.0.2",
"from": "lodash@>=1.0.1 <1.1.0", "from": "https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz" "resolved": "https://registry.npmjs.org/lodash/-/lodash-1.0.2.tgz"
}, },
"glob": { "glob": {
"version": "3.1.21", "version": "3.1.21",
"from": "glob@>=3.1.21 <3.2.0", "from": "https://registry.npmjs.org/glob/-/glob-3.1.21.tgz",
"resolved": "https://registry.npmjs.org/glob/-/glob-3.1.21.tgz", "resolved": "https://registry.npmjs.org/glob/-/glob-3.1.21.tgz",
"dependencies": { "dependencies": {
"graceful-fs": { "graceful-fs": {
"version": "1.2.3", "version": "1.2.3",
"from": "graceful-fs@>=1.2.0 <1.3.0", "from": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz" "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz"
}, },
"inherits": { "inherits": {
"version": "1.0.2", "version": "1.0.2",
"from": "inherits@>=1.0.0 <2.0.0", "from": "https://registry.npmjs.org/inherits/-/inherits-1.0.2.tgz",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-1.0.2.tgz" "resolved": "https://registry.npmjs.org/inherits/-/inherits-1.0.2.tgz"
} }
} }
}, },
"minimatch": { "minimatch": {
"version": "0.2.14", "version": "0.2.14",
"from": "minimatch@>=0.2.11 <0.3.0", "from": "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz", "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz",
"dependencies": { "dependencies": {
"lru-cache": { "lru-cache": {
"version": "2.7.0", "version": "2.7.0",
"from": "lru-cache@>=2.0.0 <3.0.0", "from": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.0.tgz",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.0.tgz" "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-2.7.0.tgz"
}, },
"sigmund": { "sigmund": {
"version": "1.0.1", "version": "1.0.1",
"from": "sigmund@>=1.0.0 <1.1.0", "from": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz" "resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz"
} }
} }
@ -11095,76 +11095,76 @@
}, },
"graceful-fs": { "graceful-fs": {
"version": "3.0.8", "version": "3.0.8",
"from": "graceful-fs@>=3.0.0 <4.0.0", "from": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.8.tgz",
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.8.tgz" "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-3.0.8.tgz"
}, },
"merge-stream": { "merge-stream": {
"version": "0.1.8", "version": "0.1.8",
"from": "merge-stream@>=0.1.7 <0.2.0", "from": "https://registry.npmjs.org/merge-stream/-/merge-stream-0.1.8.tgz",
"resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-0.1.8.tgz" "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-0.1.8.tgz"
}, },
"mkdirp": { "mkdirp": {
"version": "0.5.1", "version": "0.5.1",
"from": "mkdirp@>=0.5.0 <0.6.0", "from": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz",
"dependencies": { "dependencies": {
"minimist": { "minimist": {
"version": "0.0.8", "version": "0.0.8",
"from": "minimist@0.0.8", "from": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz",
"resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz" "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz"
} }
} }
}, },
"object-assign": { "object-assign": {
"version": "2.1.1", "version": "2.1.1",
"from": "object-assign@>=2.0.0 <3.0.0", "from": "https://registry.npmjs.org/object-assign/-/object-assign-2.1.1.tgz",
"resolved": "https://registry.npmjs.org/object-assign/-/object-assign-2.1.1.tgz" "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-2.1.1.tgz"
}, },
"strip-bom": { "strip-bom": {
"version": "1.0.0", "version": "1.0.0",
"from": "strip-bom@>=1.0.0 <2.0.0", "from": "https://registry.npmjs.org/strip-bom/-/strip-bom-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-1.0.0.tgz", "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-1.0.0.tgz",
"dependencies": { "dependencies": {
"first-chunk-stream": { "first-chunk-stream": {
"version": "1.0.0", "version": "1.0.0",
"from": "first-chunk-stream@>=1.0.0 <2.0.0", "from": "https://registry.npmjs.org/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz",
"resolved": "https://registry.npmjs.org/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz" "resolved": "https://registry.npmjs.org/first-chunk-stream/-/first-chunk-stream-1.0.0.tgz"
}, },
"is-utf8": { "is-utf8": {
"version": "0.2.0", "version": "0.2.0",
"from": "is-utf8@>=0.2.0 <0.3.0", "from": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.0.tgz",
"resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.0.tgz" "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.0.tgz"
} }
} }
}, },
"through2": { "through2": {
"version": "0.6.5", "version": "0.6.5",
"from": "through2@>=0.6.1 <0.7.0", "from": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz",
"resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz", "resolved": "https://registry.npmjs.org/through2/-/through2-0.6.5.tgz",
"dependencies": { "dependencies": {
"readable-stream": { "readable-stream": {
"version": "1.0.33", "version": "1.0.33",
"from": "readable-stream@>=1.0.33-1 <1.1.0-0", "from": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.33.tgz",
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.33.tgz", "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.33.tgz",
"dependencies": { "dependencies": {
"core-util-is": { "core-util-is": {
"version": "1.0.1", "version": "1.0.1",
"from": "core-util-is@>=1.0.0 <1.1.0", "from": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz",
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz" "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.1.tgz"
}, },
"isarray": { "isarray": {
"version": "0.0.1", "version": "0.0.1",
"from": "isarray@0.0.1", "from": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz" "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz"
}, },
"string_decoder": { "string_decoder": {
"version": "0.10.31", "version": "0.10.31",
"from": "string_decoder@>=0.10.0 <0.11.0", "from": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz" "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz"
}, },
"inherits": { "inherits": {
"version": "2.0.1", "version": "2.0.1",
"from": "inherits@>=2.0.1 <2.1.0", "from": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz" "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz"
} }
} }
@ -15496,35 +15496,35 @@
} }
}, },
"ts2dart": { "ts2dart": {
"version": "0.7.4", "version": "0.7.5",
"from": "https://registry.npmjs.org/ts2dart/-/ts2dart-0.7.4.tgz", "from": "ts2dart@0.7.5",
"resolved": "https://registry.npmjs.org/ts2dart/-/ts2dart-0.7.4.tgz", "resolved": "https://registry.npmjs.org/ts2dart/-/ts2dart-0.7.5.tgz",
"dependencies": { "dependencies": {
"source-map": { "source-map": {
"version": "0.4.4", "version": "0.4.4",
"from": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", "from": "source-map@>=0.4.2 <0.5.0",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.4.4.tgz",
"dependencies": { "dependencies": {
"amdefine": { "amdefine": {
"version": "1.0.0", "version": "1.0.0",
"from": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz", "from": "amdefine@>=0.0.4",
"resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz" "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz"
} }
} }
}, },
"source-map-support": { "source-map-support": {
"version": "0.3.2", "version": "0.3.2",
"from": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.3.2.tgz", "from": "source-map-support@>=0.3.1 <0.4.0",
"resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.3.2.tgz", "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.3.2.tgz",
"dependencies": { "dependencies": {
"source-map": { "source-map": {
"version": "0.1.32", "version": "0.1.32",
"from": "https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz", "from": "source-map@0.1.32",
"resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.1.32.tgz",
"dependencies": { "dependencies": {
"amdefine": { "amdefine": {
"version": "1.0.0", "version": "1.0.0",
"from": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz", "from": "amdefine@>=0.0.4",
"resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz" "resolved": "https://registry.npmjs.org/amdefine/-/amdefine-1.0.0.tgz"
} }
} }

View File

@ -78,7 +78,7 @@
"gulp-sourcemaps": "1.3.*", "gulp-sourcemaps": "1.3.*",
"gulp-template": "^3.0.0", "gulp-template": "^3.0.0",
"gulp-traceur": "0.17.*", "gulp-traceur": "0.17.*",
"gulp-tslint": "^3.1.0-beta", "gulp-tslint": "^3.3.0-beta",
"gulp-typescript": "^2.6.0", "gulp-typescript": "^2.6.0",
"gulp-uglify": "^1.2.0", "gulp-uglify": "^1.2.0",
"gulp-webserver": "^0.8.7", "gulp-webserver": "^0.8.7",

View File

@ -4,6 +4,7 @@
import fs = require('fs'); import fs = require('fs');
import fse = require('fs-extra'); import fse = require('fs-extra');
import path = require('path'); import path = require('path');
import * as ts from 'typescript';
import {wrapDiffingPlugin, DiffingBroccoliPlugin, DiffResult} from './diffing-broccoli-plugin'; import {wrapDiffingPlugin, DiffingBroccoliPlugin, DiffResult} from './diffing-broccoli-plugin';
@ -187,6 +188,7 @@ class CustomLanguageServiceHost implements ts.LanguageServiceHost {
constructor(private compilerOptions: ts.CompilerOptions, private fileNames: string[], constructor(private compilerOptions: ts.CompilerOptions, private fileNames: string[],
private fileRegistry: FileRegistry, private treeInputPath: string) { private fileRegistry: FileRegistry, private treeInputPath: string) {
this.currentDirectory = process.cwd(); this.currentDirectory = process.cwd();
console.log("compilerOptions", compilerOptions);
this.defaultLibFilePath = ts.getDefaultLibFilePath(compilerOptions).replace(/\\/g, '/'); this.defaultLibFilePath = ts.getDefaultLibFilePath(compilerOptions).replace(/\\/g, '/');
} }
@ -238,6 +240,7 @@ class CustomLanguageServiceHost implements ts.LanguageServiceHost {
getDefaultLibFileName(options: ts.CompilerOptions): string { getDefaultLibFileName(options: ts.CompilerOptions): string {
console.log("defaultLibFilePath", this.defaultLibFilePath);
// ignore options argument, options should not change during the lifetime of the plugin // ignore options argument, options should not change during the lifetime of the plugin
return this.defaultLibFilePath; return this.defaultLibFilePath;
} }

View File

@ -125,6 +125,7 @@ module.exports = function makeBrowserTree(options, destinationPath) {
experimentalDecorators: true, experimentalDecorators: true,
mapRoot: '', // force sourcemaps to use relative path mapRoot: '', // force sourcemaps to use relative path
module: 'CommonJS', module: 'CommonJS',
moduleResolution: 1 /* classic */,
noEmitOnError: false, noEmitOnError: false,
rootDir: '.', rootDir: '.',
sourceMap: true, sourceMap: true,

View File

@ -37,6 +37,7 @@ module.exports = function makeNodeTree(destinationPath) {
declaration: false, declaration: false,
mapRoot: '', /* force sourcemaps to use relative path */ mapRoot: '', /* force sourcemaps to use relative path */
module: 'CommonJS', module: 'CommonJS',
moduleResolution: 1 /* classic */,
noEmitOnError: true, noEmitOnError: true,
rootDir: '.', rootDir: '.',
rootFilePaths: rootFilePaths:
@ -91,7 +92,7 @@ module.exports = function makeNodeTree(destinationPath) {
match: /^/, match: /^/,
replacement: function() { replacement: function() {
return `var parse5Adapter = require('angular2/src/core/dom/parse5_adapter');\n\r return `var parse5Adapter = require('angular2/src/core/dom/parse5_adapter');\n\r
parse5Adapter.Parse5DomAdapter.makeCurrent();` parse5Adapter.Parse5DomAdapter.makeCurrent();`;
} }
}, },
{match: /$/, replacement: function(_, relativePath) { return "\r\n main(); \n\r"; }} {match: /$/, replacement: function(_, relativePath) { return "\r\n main(); \n\r"; }}