Sha256: dbf33b8c5025eaacec8d9d20eaa5ee4ae0093054e88f0a82056a7059f393a941

Contents?: true

Size: 902 Bytes

Versions: 51

Compression:

Stored size: 902 Bytes

Contents

var BrowserslistError = require('./error')

function noop () { }

module.exports = {
  loadQueries: function loadQueries () {
    throw new BrowserslistError(
      'Sharable configs are not supported in client-side build of Browserslist')
  },

  getStat: function getStat (opts) {
    return opts.stats
  },

  loadConfig: function loadConfig (opts) {
    if (opts.config) {
      throw new BrowserslistError(
        'Browserslist config are not supported in client-side build')
    }
  },

  loadCountry: function loadCountry () {
    throw new BrowserslistError(
      'Country statistics is not supported ' +
      'in client-side build of Browserslist')
  },

  currentNode: function currentNode (resolve, context) {
    return resolve(['maintained node versions'], context)[0]
  },

  parseConfig: noop,

  readConfig: noop,

  findConfig: noop,

  clearCaches: noop,

  oldDataWarning: noop
}

Version data entries

51 entries across 51 versions & 7 rubygems

Version Path
disco_app-0.18.0 test/dummy/node_modules/browserslist/browser.js
disco_app-0.18.2 test/dummy/node_modules/browserslist/browser.js
trusty-cms-5.0.7 node_modules/browserslist/browser.js
trusty-cms-5.0.6 node_modules/browserslist/browser.js
trusty-cms-5.0.5 node_modules/browserslist/browser.js
trusty-cms-5.0.4 node_modules/browserslist/browser.js
disco_app-0.16.1 test/dummy/node_modules/browserslist/browser.js
disco_app-0.15.2 test/dummy/node_modules/browserslist/browser.js
trusty-cms-5.0.3 node_modules/browserslist/browser.js
trusty-cms-5.0.2 node_modules/browserslist/browser.js
disco_app-0.18.4 test/dummy/node_modules/browserslist/browser.js
disco_app-0.18.1 test/dummy/node_modules/browserslist/browser.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/browserslist/browser.js
disco_app-0.14.0 test/dummy/node_modules/browserslist/browser.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/browserslist/browser.js
trusty-cms-5.0.1 node_modules/browserslist/browser.js
trusty-cms-4.3.5 node_modules/browserslist/browser.js
trusty-cms-5.0.0 node_modules/browserslist/browser.js
trusty-cms-4.3.4 node_modules/browserslist/browser.js
trusty-cms-4.3.3 node_modules/browserslist/browser.js