CoolFace
Datasetpublic

basant307/AI_Governance_Project

sourceHugging Faceapache-2.0updated 2mo agoView on Hugging Face
0likes45downloads
browser.js55 linesDownload Raw Back to browserslist
1var BrowserslistError = require('./error')2 3function noop() {}4 5module.exports = {6  loadQueries: function loadQueries() {7    throw new BrowserslistError(8      'Sharable configs are not supported in client-side build of Browserslist'9    )10  },11 12  getStat: function getStat(opts) {13    return opts.stats14  },15 16  loadConfig: function loadConfig(opts) {17    if (opts.config) {18      throw new BrowserslistError(19        'Browserslist config are not supported in client-side build'20      )21    }22  },23 24  loadCountry: function loadCountry() {25    throw new BrowserslistError(26      'Country statistics are not supported ' +27        'in client-side build of Browserslist'28    )29  },30 31  loadFeature: function loadFeature() {32    throw new BrowserslistError(33      'Supports queries are not available in client-side build of Browserslist'34    )35  },36 37  currentNode: function currentNode(resolve, context) {38    return resolve(['maintained node versions'], context)[0]39  },40 41  parseConfig: noop,42 43  readConfig: noop,44 45  findConfig: noop,46 47  findConfigFile: noop,48 49  clearCaches: noop,50 51  oldDataWarning: noop,52 53  env: {}54}55 
basant307/AI_Governance_Project · CoolFace