New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@wayfair/gqmock

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wayfair/gqmock - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

6

CHANGELOG.md

@@ -13,2 +13,8 @@ # Changelog

## [v0.2.4] - 2022-10-17
### Fixed
- Handle falsy values correctly in merge logic
## [v0.2.3] - 2022-10-13

@@ -15,0 +21,0 @@

5

dist/utilities/deepMerge.js

@@ -84,3 +84,6 @@ "use strict";

}
else if (source[targetKey] === null) {
else if (source[targetKey] === null ||
source[targetKey] === false ||
source[targetKey] === 0 ||
source[targetKey] === '') {
source[targetKey] = targetValue;

@@ -87,0 +90,0 @@ }

2

package.json

@@ -1,1 +0,1 @@

{"name":"@wayfair/gqmock","version":"0.2.3","description":"GQMock - GraphQL Mocking Service","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/wayfair-incubator/gqmock.git"},"keywords":["api","federated","federation","gql","graphql","mocking","mock","service"],"author":"@mmazur122","license":"MIT","bugs":{"url":"https://github.com/wayfair-incubator/gqmock/issues"},"files":["dist/**/*"],"homepage":"https://github.com/wayfair-incubator/gqmock#readme","dependencies":{"@apollo/subgraph":"^2.1.3","@babel/runtime":"^7.18.9","apollo-server":"^3.10.1","chalk":"4.1.2","escape-string-regexp":"^4.0.0","express":"^4.18.1","graphql":"^16.6.0","joi":"^17.6.0","lodash":"^4.17.21","node-fetch":"^2.6.7","uuid":"^8.3.2"}}
{"name":"@wayfair/gqmock","version":"0.2.4","description":"GQMock - GraphQL Mocking Service","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/wayfair-incubator/gqmock.git"},"keywords":["api","federated","federation","gql","graphql","mocking","mock","service"],"author":"@mmazur122","license":"MIT","bugs":{"url":"https://github.com/wayfair-incubator/gqmock/issues"},"files":["dist/**/*"],"homepage":"https://github.com/wayfair-incubator/gqmock#readme","dependencies":{"@apollo/subgraph":"^2.1.3","@babel/runtime":"^7.18.9","apollo-server":"^3.10.1","chalk":"4.1.2","escape-string-regexp":"^4.0.0","express":"^4.18.1","graphql":"^16.6.0","joi":"^17.6.0","lodash":"^4.17.21","node-fetch":"^2.6.7","uuid":"^8.3.2"}}

@@ -90,6 +90,6 @@ # `@wayfair/gqmock`: GQMock - GraphQL Mocking Service

| Parameter Name | Required | Description | Type | Default |
| ------------------- | -------- | -------------------------------- | ------- | ------- |
| `port` | No | Port used to run the mock server | number | 5000 |
| `subgraph` | No | Enable subgraph schema support | boolean | false |
| Parameter Name | Required | Description | Type | Default |
| -------------- | -------- | -------------------------------- | ------- | ------- |
| `port` | No | Port used to run the mock server | number | 5000 |
| `subgraph` | No | Enable subgraph schema support | boolean | false |

@@ -96,0 +96,0 @@ #### `async GraphqlMockingService.start`

Sorry, the diff of this file is not supported yet

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