<commit_before>import patch from './module';

const parse = require('parametric-svg-parse');
const test = require('tape-catch');
const {safeLoad: yaml} = require('js-yaml');
const {jsdom} = require('jsdom');
const {DOMParser: XmldomParser} = require('xmldom');
const asObject = require('as/object');
const asArray = require('as/array');

const wrap = (element) => (
`<svg
  version="1.1"
  xmlns="http://www.w3.org/2000/svg"
  xmlns:parametric="//parametric-svg.js.org/v1"
>${element}</svg>
`);

if (typeof require.ensure !== 'function') require.ensure =
  require('isomorphic-ensure')({
    loaders: {
      raw: require('raw-loader'),
    },
    dirname: __dirname,
  });

require.ensure([
  // 'raw!./node_modules/parametric-svg-spec/specs/usage-html5.yaml',
  // 'raw!./node_modules/parametric-svg-spec/specs/usage-xml.yaml',
  // 'raw!./node_modules/parametric-svg-spec/specs/parametric-attributes.yaml',
  // 'raw!./node_modules/parametric-svg-spec/specs/syntax-operators.yaml',
  'raw!./node_modules/parametric-svg-spec/specs/syntax-variables.yaml',
    // NOTE: These paths have to be hard-coded in stone – otherwise webpack
    // gets confused. Remember to keep them in sync with the `require`
    // calls below.
], (require) => {
  const specs = [
    // require('raw!./node_modules/parametric-svg-spec/specs/usage-html5.yaml'),
    // require('raw!./node_modules/parametric-svg-spec/specs/usage-xml.yaml'),
    // require(
    //   'raw!./node_modules/parametric-svg-spec/specs/parametric-attributes.yaml'
    // ),
    // require(
    //   'raw!./node_modules/parametric-svg-spec/specs/syntax-operators.yaml'
    // ),
    require(
      'raw!./node_modules/parametric-svg-spec/specs/syntax-variables.yaml'<commit_msg>Bring back other specs<commit_after>import patch from './module';

const parse = require('parametric-svg-parse');
const test = require('tape-catch');
const {safeLoad: yaml} = require('js-yaml');
const {jsdom} = require('jsdom');
const {DOMParser: XmldomParser} = require('xmldom');
const asObject = require('as/object');
const asArray = require('as/array');

const wrap = (element) => (
`<svg
  version="1.1"
  xmlns="http://www.w3.org/2000/svg"
  xmlns:parametric="//parametric-svg.js.org/v1"
>${element}</svg>
`);

if (typeof require.ensure !== 'function') require.ensure =
  require('isomorphic-ensure')({
    loaders: {
      raw: require('raw-loader'),
    },
    dirname: __dirname,
  });

require.ensure([
  'raw!./node_modules/parametric-svg-spec/specs/usage-html5.yaml',
  'raw!./node_modules/parametric-svg-spec/specs/usage-xml.yaml',
  'raw!./node_modules/parametric-svg-spec/specs/parametric-attributes.yaml',
  'raw!./node_modules/parametric-svg-spec/specs/syntax-operators.yaml',
  'raw!./node_modules/parametric-svg-spec/specs/syntax-variables.yaml',
    // NOTE: These paths have to be hard-coded in stone – otherwise webpack
    // gets confused. Remember to keep them in sync with the `require`
    // calls below.
], (require) => {
  const specs = [
    require('raw!./node_modules/parametric-svg-spec/specs/usage-html5.yaml'),
    require('raw!./node_modules/parametric-svg-spec/specs/usage-xml.yaml'),
    require(
      'raw!./node_modules/parametric-svg-spec/specs/parametric-attributes.yaml'
    ),
    require(
      'raw!./node_modules/parametric-svg-spec/specs/syntax-operators.yaml'
    ),
    require(
      'raw!./node_modules/parametric-svg-spec/specs/syntax-variables.yaml'
{'fraction_non_alphanumeric': 0.18271748617980796, 'fraction_numerical': 0.005819028222286878, 'mean_word_length': 3.7617728531855956, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 10}, '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': '6022318', 'n_tokens_mistral': 1206, 'n_tokens_neox': 1151, 'n_words': 178}