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

faussaire

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

faussaire - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

build/faussaire.js

6

package.json
{
"name": "faussaire",
"version": "0.1.3",
"version": "0.1.4",
"description": "Lightweight library to mock API for testing purpose",
"main": "src/faussaire.js",
"main": "build/faussaire.js",
"scripts": {

@@ -10,3 +10,3 @@ "lint": "eslint . && echo 'Lint finished...\n'",

"start": "webpack-dev-server --content-base build/",
"build": "webpack && babel src/faussaire.js --out-dir build",
"build": "babel src/* --out-dir build",
"update": "updtr"

@@ -13,0 +13,0 @@ },

@@ -8,2 +8,7 @@ # Faussaire

## Installation
```
npm install --save-dev faussaire
```
## Overview

@@ -26,3 +31,3 @@

```js
import faussaire from 'Faussaire';
import faussaire from 'faussaire';

@@ -56,3 +61,3 @@ faussaire

```js
import faussaire from 'Faussaire';
import faussaire from 'faussaire';

@@ -59,0 +64,0 @@ faussaire

@@ -11,3 +11,2 @@ const responseFactory = require('./response');

const isMatching = (route, url) => {
// The route might as well be an URL or a template.
return new RegExp(route).test(url);

@@ -38,3 +37,6 @@ };

* methods => array,
* controller => {authenticate(params, options), run(params, options)}
* controller => {
* authenticate(params, options),
* run(params, options)
* }
* })

@@ -41,0 +43,0 @@ * A route is represented by a template and the HTTP methods.

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