UNPKG

json-q

Version:

Retrieves values from JSON objects (and JavaScript objects) by css-selector-like query (includes attribute filters and array flattening).

15 lines (13 loc) 467 B
/* MIT License http://www.opensource.org/licenses/mit-license.php Author Tobias Koppers @sokra */ function UnsupportedFeatureWarning(module, message) { Error.call(this); Error.captureStackTrace(this, UnsupportedFeatureWarning); this.name = "UnsupportedFeatureWarning"; this.message = message; this.origin = this.module = module; } module.exports = UnsupportedFeatureWarning; UnsupportedFeatureWarning.prototype = Object.create(Error.prototype);