"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "packages/angular_devkit/build_optimizer/src/transforms/prefix-classes.ts" between
angular-cli-7.3.0.tar.gz and angular-cli-7.3.1.tar.gz

About: Angular CLI is a command line interface for Angular.

prefix-classes.ts  (angular-cli-7.3.0):prefix-classes.ts  (angular-cli-7.3.1)
skipping to change at line 33 skipping to change at line 33
/\(/, multiLineComment, /\(/, multiLineComment,
/\s*function \(\) {/, newLine, /\s*function \(\) {/, newLine,
multiLineComment, multiLineComment,
/function (?:\S+)\([^\)]*\) \{/, newLine, /function (?:\S+)\([^\)]*\) \{/, newLine,
], ],
[ [
/^/, /^/,
exportVarSetter, multiLineComment, exportVarSetter, multiLineComment,
/\(/, multiLineComment, /\(/, multiLineComment,
/\s*function \(_super\) {/, newLine, /\s*function \(_super\) {/, newLine,
/\w*\.?__extends\(\w+, _super\);/, /\S*\.?__extends\(\S+, _super\);/,
], ],
].map(arr => new RegExp(arr.map(x => x.source).join(''), 'm')); ].map(arr => new RegExp(arr.map(x => x.source).join(''), 'm'));
return regexes.some((regex) => regex.test(content)); return regexes.some((regex) => regex.test(content));
} }
const superParameterName = '_super'; const superParameterName = '_super';
const extendsHelperName = '__extends'; const extendsHelperName = '__extends';
export function getPrefixClassesTransformer(): ts.TransformerFactory<ts.SourceFi le> { export function getPrefixClassesTransformer(): ts.TransformerFactory<ts.SourceFi le> {
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)