Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

graphql-mocks

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-mocks - npm Package Compare versions

Comparing version 0.4.2 to 0.5.1

48

index.js

@@ -1,8 +0,40 @@

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var graphql_1 = require("./graphql");
exports.GraphQLHandler = graphql_1.GraphQLHandler;
var pack_1 = require("./pack");
exports.pack = pack_1.pack;
var resolver_map_1 = require("./resolver-map");
exports.embed = resolver_map_1.embed;
'use strict';
Object.defineProperty(exports, '__esModule', {
value: true
});
var index$1 = require('./highlight/index.js');
var index$4 = require('./resolver/index.js');
var embed = require('./resolver-map/embed.js');
var pack = require('./pack/pack.js');
var index$2 = require('./pack/index.js');
var handler = require('./graphql/handler.js');
var index = require('./graphql/index.js');
var layer = require('./resolver-map/layer.js');
var index$5 = require('./resolver-map/index.js');
var index$3 = require('./relay/index.js');
var index$6 = require('./wrapper/index.js');
exports.highlight = index$1;
exports.resolver = index$4;
exports.embed = embed.embed;
exports.packMiddleware = pack.pack;
exports.pack = index$2;
exports.GraphQLHandler = handler.GraphQLHandler;
exports.graphql = index;
exports.layer = layer.layer;
exports.resolverMap = index$5;
exports.relay = index$3;
exports.wrapper = index$6;
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VzIjpbXSwic291cmNlc0NvbnRlbnQiOltdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OzsifQ==

66

package.json
{
"name": "graphql-mocks",
"version": "0.4.2",
"version": "0.5.1",
"author": "Chad Carbert",
"description": "Tools for setting up graphql test resolvers",
"main": ".index.js",
"scripts": {
"lint": "eslint \"./src/**/*.ts\" \"./test/**/*.ts\"",
"pretest": "tsc --noEmit && yarn lint",
"test": "mocha -r ts-node/register \"./test/**/*.test.ts\"",
"build": "tsc --declaration",
"clean": "rm -rf lib",
"copy-package-json": "cp package.json lib",
"build-publishable": "yarn clean && yarn build && yarn copy-package-json",
"prepare-deploy": "yarn test && yarn version && yarn build-publishable"
},
"author": "Chad Carbert",
"type": "commonjs",
"main": "index.js",
"module": "index.mjs",
"unpkg": "bundles/graphql-mocks.umd.js",
"license": "MIT",
"engines": {
"node": ">= 10.0.0"
"node": ">= 12.0.0"
},
"license": "ISC",
"files": [
"dist"
],
"dependencies": {
"lodash.clonedeep": "^4.5.0",
"lodash.difference": "^4.5.0",
"lodash.differencewith": "^4.5.0",
"lodash.flattendepth": "^4.7.0",
"lodash.intersection": "^4.4.0"
"lodash.intersection": "^4.4.0",
"lodash.isequal": "^4.5.0",
"lodash.isequalwith": "^4.4.0",
"lodash.merge": "^4.6.2",
"lodash.mergewith": "^4.6.2"
},
"peerDependencies": {
"graphql": "^14.0.0 || ^15.0.0",
"miragejs": "^0.1.40"
"graphql": "^14.0.0 || ^15.0.0"
},
"devDependencies": {
"@types/chai": "^4.2.7",
"@types/inflected": "^1.1.29",
"@types/lodash.clonedeep": "^4.5.6",
"@types/lodash.flattendepth": "^4.7.6",
"@types/lodash.intersection": "^4.4.6",
"@types/mocha": "^7.0.2",
"@types/node": "^13.13.2",
"@types/sinon": "^9.0.0",
"@typescript-eslint/eslint-plugin": "^2.22.0",
"@typescript-eslint/parser": "^2.22.0",
"chai": "^4.2.0",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-mocha": "^8.0.0",
"eslint-plugin-prettier": "^3.1.2",
"graphql": "^14",
"miragejs": "^0.1.40",
"mocha": "^7.1.1",
"np": "^6.2.3",
"prettier": "^2.0.5",
"sinon": "^9.0.0",
"ts-node": "^8.5.4",
"typescript": "^3.7.3"
}
"optionalDependencies": {
"sinon": "^9.0.0"
},
"gitHead": "e2f5ec2c89e30f0181b959b9b12114fa9ebea88b"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc