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.8 to 0.1.9

.nyc_output/c79247ee954009d0d5bf7586f5c8d9ff.json

8

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

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

"keywords": [
"fixture, testing, tests, directory, development, tools, tooling, cowlog"
"fixture, testing, tests, directory, development, tools, tooling, cowlog, directory fixture, fixtures"
],

@@ -31,3 +31,3 @@ "author": "Imre Toth",

},
"homepage": "https://github.com/imre-vidaxl/directory-fixture-provider#readme",
"homepage": "https://github.com/vidaxl-com/cowlog/tree/master/packages/directory-fixture-provider",
"dependencies": {

@@ -51,3 +51,3 @@ "bottle": "^0.2.0",

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

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

@@ -61,3 +61,3 @@ <!--- destination qa rewrite begin -->

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

@@ -69,5 +69,4 @@ ```javascript 1.6

// Work with the files
// add/remove/modify files, and you will get relevant info about them
add/remove/modify files, and you will get relevant info about them
fixtureData.getStatus().changed

@@ -77,2 +76,35 @@

```
### changeTotals
```javascript 1.6
fixtureData.getStatus().changeTotals
// gives you the number of files changed
```
If a new file is added, deleted or an existing changed each counts as a change
here.
### changeNumbers
```javascript 1.6
fixtureData.getStatus().changeNumbers
/*
Returns an object like this:
{
deleted: 0
changed: 0
new: 0
}
*/
```
Where it tells you how many files changed, delted or new
If a file is **deleted** it will increase the **changed** data tag too.
# Milestones
Create an awesome diff module for the getStatus resulting object.
# More information
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)

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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