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

wiremock-rest-client

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wiremock-rest-client - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

dist/util/FileUtil.d.ts
export declare class FileUtil {
static getFileContent(fileName: string): string;
static getFilesFromDir(directoryName: string): string[];
static getFilesFromDir(directoryName: string, files?: string[]): string[];
}

@@ -28,4 +28,3 @@ "use strict";

}
static getFilesFromDir(directoryName) {
const files = [];
static getFilesFromDir(directoryName, files = []) {
const fullDirectoryPath = path.join(process.cwd(), directoryName);

@@ -36,3 +35,3 @@ try {

if (fs.lstatSync(fullPath).isDirectory()) {
this.getFilesFromDir(fullPath);
this.getFilesFromDir(path.join(directoryName, fileName), files);
}

@@ -39,0 +38,0 @@ else {

{
"name": "wiremock-rest-client",
"version": "1.0.1",
"version": "1.0.2",
"description": "Lightweight REST client to interact with a running WireMock server",

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

@@ -27,3 +27,3 @@ # WireMock REST Client

- `requests` - Logged requests and responses received
- `scenarios` - Scenarios support modeling of stateful behaviour
- `scenarios` - Scenarios support modeling of stateful behavior

@@ -70,3 +70,3 @@ See the [API](#api) for the available methods. All methods are related to available operations on the WireMock server endpoints.

**Example:**
Example:
```js

@@ -104,3 +104,3 @@ await wireMockRestClient.mappings.resetAllMappings();

**Example:**
Example:
```js

@@ -125,3 +125,3 @@ const recordingStatus = wireMockRestClient.recordings.getRecordingStatus();

**Example:**
Example:
```js

@@ -135,3 +135,3 @@ const requests = await wireMockRestClient.requests.getAllRequests();

**Example:**
Example:
```js

@@ -138,0 +138,0 @@ await wireMockRestClient.scenarios.resetAllScenarios();

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