11. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 7/26/2017 10:13:33 AM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

11.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\TAR\vsa_mrar_v1.0.9\resources\node_modules\sync-request\test fake-server.js Thu Oct 15 13:37:11 2015 UTC
2 C:\AraxisMergeCompare\Pri_re\TAR\vsa_mrar_v1.0.9\resources\node_modules\sync-request\test fake-server.js Wed Jul 26 14:55:25 2017 UTC

11.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 82
Changed 1 2
Inserted 0 0
Removed 0 0

11.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

11.4 Active regular expressions

No regular expressions were active.

11.5 Comparison detail

  1   'use stric t';
  2   var expres s = requir e('express '),
  3       bodyPa rser = req uire('body -parser'),
  4       morgan  = require ('morgan') ,
  5         PORT =  PORT         ;
  6  
  7   var app =  express();
  8  
  9   // parse a pplication /x-www-for m-urlencod ed
  10   app.use(bo dyParser.u rlencoded( { extended : false }) );
  11  
  12   // parse a pplication /json
  13   app.use(bo dyParser.j son());
  14  
  15   // configu re log
  16   app.use(mo rgan('dev' ));
  17  
  18   var starte d = false;
  19   exports.is Started =  function()  { return  started };
  20  
  21   var server ;
  22   process.on ('message' , function (m) {
  23       if (m  === 'start ') {
  24           se rver = app .listen(PO RT, functi on () {
  25                started  = true;
  26                console. log('fake  server sta rted', POR T);
  27                return p rocess.sen d('started ');// m.cb  && setTim eout(m.cb,  1000);
  28           }) ;
  29       }  els e {
  30           se rver.close (function  () {
  31                started  = false;
  32                console. log('fake  server sto pped', POR T);
  33                return p rocess.sen d('closed' ) && proce ss.exit(0) ;
  34           }) ;
  35       }
  36   });
  37  
  38   ['get', 'p ost', 'put ', 'delete '].forEach (function( method) {
  39       app.ro ute('/inte rnal-test' )[method]( function(r eq, res){
  40           re s.send('ok ');
  41       });
  42   });