Comparing version 2.2.0 to 2.2.1
@@ -6,2 +6,2 @@ /** | ||
export declare function readFile(filename: string, encoding: null): Promise<Buffer>; | ||
export declare function readFile(filename: string, encoding: string): Promise<string>; | ||
export declare function readFile(filename: string, encoding: BufferEncoding): Promise<string>; |
{ | ||
"name": "mockttp", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Mock HTTP server for testing HTTP clients and stubbing webservices", | ||
@@ -140,3 +140,3 @@ "main": "dist/main.js", | ||
"fetch-ponyfill": "^7.1.0", | ||
"graphql": "^14.0.2", | ||
"graphql": "^14.0.2 || ^15.5", | ||
"graphql-subscriptions": "^1.1.0", | ||
@@ -143,0 +143,0 @@ "http-encoding": "^1.4.0", |
@@ -8,4 +8,4 @@ /** | ||
export function readFile(filename: string, encoding: null): Promise<Buffer>; | ||
export function readFile(filename: string, encoding: string): Promise<string>; | ||
export function readFile(filename: string, encoding: string | null): Promise<string | Buffer> { | ||
export function readFile(filename: string, encoding: BufferEncoding): Promise<string>; | ||
export function readFile(filename: string, encoding: BufferEncoding | null): Promise<string | Buffer> { | ||
return new Promise((resolve, reject) => { | ||
@@ -12,0 +12,0 @@ fs.readFile(filename, encoding, (err, contents: string | Buffer) => { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
943143
+ Addedgraphql@15.9.0(transitive)
- Removedgraphql@14.7.0(transitive)
Updatedgraphql@^14.0.2 || ^15.5