Socket
Socket
Sign inDemoInstall

graphql-tools

Package Overview
Dependencies
Maintainers
1
Versions
1468
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-tools - npm Package Compare versions

Comparing version 0.3.12 to 0.3.13

graphql-decorator-spec.md

6

dist/mock.js

@@ -80,6 +80,6 @@ 'use strict';

defaultMockMap.set('Int', function () {
return Math.round(Math.random * 200) - 100;
return Math.round(Math.random() * 200) - 100;
});
defaultMockMap.set('Float', function () {
return Math.random * 200 - 100;
return Math.random() * 200 - 100;
});

@@ -90,3 +90,3 @@ defaultMockMap.set('String', function () {

defaultMockMap.set('Boolean', function () {
return Math.random > 0.5;
return Math.random() > 0.5;
});

@@ -93,0 +93,0 @@ defaultMockMap.set('ID', function () {

{
"name": "graphql-tools",
"version": "0.3.12",
"version": "0.3.13",
"description": "A set of useful GraphQL tools",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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