<commit_before>/**
 * @module utils
 * @license MIT
 * @version 2017/11/13
 */

'use strict';

const path = require('path');
const util = require('util');
const css = require('@nuintun/css-deps');
const gutil = require('@nuintun/gulp-util');

const join = path.join;
const dirname = path.dirname;
const cache = new gutil.Cache();
const debug = gutil.debug('gulp-css');

/**
 * @function transport
 * @param {Vinyl} vinyl
 * @param {Object} options
 * @returns {Promise}
 */
function transport(vinyl, options) {
  return gutil.transport(vinyl, options, cache, debug);
}

/**
 * @function resolve
 * @description Resolve a id from file or wwwroot path
 * @param {string} id
 * @param {Vinyl} vinyl
 * @param {string} wwwroot
 * @returns {string}
 */
function resolve(id, vinyl, wwwroot) {
  let path;<commit_msg>:art: Update files<commit_after>/**
 * @module utils
 * @license MIT
 * @version 2017/11/13
 */

'use strict';

const path = require('path');
const util = require('util');
const css = require('@nuintun/css-deps');
const gutil = require('@nuintun/gulp-util');

const join = path.join;
const cache = new Map();
const dirname = path.dirname;
const debug = gutil.debug('gulp-css');

/**
 * @function transport
 * @param {Vinyl} vinyl
 * @param {Object} options
 * @returns {Promise}
 */
function transport(vinyl, options) {
  return gutil.transport(vinyl, options, cache, debug);
}

/**
 * @function resolve
 * @description Resolve a id from file or wwwroot path
 * @param {string} id
 * @param {Vinyl} vinyl
 * @param {string} wwwroot
 * @returns {string}
 */
function resolve(id, vinyl, wwwroot) {
  let path;
{'fraction_non_alphanumeric': 0.1614100185528757, 'fraction_numerical': 0.009894867037724181, 'mean_word_length': 4.322368421052632, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 6, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '706084', 'n_tokens_mistral': 553, 'n_tokens_neox': 527, 'n_words': 161}