Socket
Socket
Sign inDemoInstall

directory-fixture-provider

Package Overview
Dependencies
69
Maintainers
1
Versions
111
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.7 to 0.1.8

6

package.json
{
"name": "directory-fixture-provider",
"version": "0.1.7",
"version": "0.1.8",
"description": "Provides directories for testing.",

@@ -20,3 +20,3 @@ "main": "src/index.js",

"type": "git",
"url": "git+https://github.com/imre-vidaxl/directory-fixture-provider.git"
"url": "https://github.com/vidaxl-com/cowlog.git"
},

@@ -50,3 +50,3 @@ "keywords": [

"chai": "^4.1.2",
"cowlog": "^0.1.7",
"cowlog": "^0.1.8",
"is-directory": "^0.3.1",

@@ -53,0 +53,0 @@ "mocha": "^5.0.4",

@@ -55,4 +55,4 @@ <!--- destination qa rewrite begin -->

This is how you start working with the tool, but the real fun just starts.
So you receive all files and sub directories of the fixtures that subset what
you was requesting too so at the example above the directory2 will be given back.
So you receive all files and subdirectories of the fixtures that subset what
you were requesting too so in the example above the directory2 will be given back.

@@ -62,3 +62,3 @@ We have a random part of the path that is unique per fixture provider, so if you

### Check if you data has changed
### Check if your data has changed

@@ -68,6 +68,11 @@ ```javascript 1.6

const fixtureData = fixtureDirectoryProvider.get('./')
const fixtureDir = fixtureData.dir
// Work with the files
add/remove/modify files, and you will get relevant info about them
fixtureData.getStatus().changed
// true if something is changed.
```
This library helps you find changes modifications between your working and original fixture files. More examples are coming for more information, please check the [tests](./tests/tests/unit.js)
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc