<commit_before>var postcss = require('postcss');
var makeFallbackFunction = require('./lib/rules-fabric');

module.exports = postcss.plugin('postcss-all-unset', function (opts) {
  opts = opts || {};
  opts.reset = opts.reset || 'all';
  var getFallback = makeFallbackFunction(opts.reset === 'inherited');
  return function (css) {
    css.walkDecls(function (decl) {
      if(decl.value !== 'initial') return;
      var fallBackRules = getFallback(decl.prop);
      if(fallBackRules.length === 0) return;
      fallBackRules.forEach(function (rule) {
        decl.cloneBefore(rule);
      });
    });
  };
});<commit_msg>update plugin name in index.js<commit_after>var postcss = require('postcss');
var makeFallbackFunction = require('./lib/rules-fabric');

module.exports = postcss.plugin('postcss-initial', function (opts) {
  opts = opts || {};
  opts.reset = opts.reset || 'all';
  var getFallback = makeFallbackFunction(opts.reset === 'inherited');
  return function (css) {
    css.walkDecls(function (decl) {
      if(decl.value !== 'initial') return;
      var fallBackRules = getFallback(decl.prop);
      if(fallBackRules.length === 0) return;
      fallBackRules.forEach(function (rule) {
        decl.cloneBefore(rule);
      });
    });
  };
});
{'fraction_non_alphanumeric': 0.16521048451151707, 'fraction_numerical': 0.0015885623510722795, 'mean_word_length': 3.7547169811320753, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '6968994', 'n_tokens_mistral': 392, 'n_tokens_neox': 387, 'n_words': 76}