diff options
Diffstat (limited to 'school/node_modules/graphql/polyfills/objectValues.js')
-rw-r--r-- | school/node_modules/graphql/polyfills/objectValues.js | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/school/node_modules/graphql/polyfills/objectValues.js b/school/node_modules/graphql/polyfills/objectValues.js new file mode 100644 index 0000000..ab14e65 --- /dev/null +++ b/school/node_modules/graphql/polyfills/objectValues.js @@ -0,0 +1,17 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.default = void 0; + +/* eslint-disable no-redeclare */ +// $FlowFixMe[name-already-bound] workaround for: https://github.com/facebook/flow/issues/4441 +var objectValues = Object.values || function (obj) { + return Object.keys(obj).map(function (key) { + return obj[key]; + }); +}; + +var _default = objectValues; +exports.default = _default; |