Comparing version 1.2.2 to 1.3.0
{ | ||
"author": "mrodrig", | ||
"name": "doc-path", | ||
"description": "A document path library for Node.JS", | ||
"version": "1.2.2", | ||
"description": "A document path library for Node", | ||
"version": "1.3.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/mrodrig/doc-path.git" | ||
"url": "http://github.com/mrodrig/doc-path.git" | ||
}, | ||
"main": "./lib/path.js", | ||
"main": "./src/path.js", | ||
"scripts": { | ||
@@ -27,3 +27,5 @@ "test": "./node_modules/.bin/mocha test/tests.js", | ||
"object", | ||
"object path" | ||
"object path", | ||
"parse", | ||
"parser" | ||
], | ||
@@ -38,5 +40,5 @@ "dependencies": {}, | ||
"engines": { | ||
"node": "*" | ||
"node": "*" | ||
}, | ||
"license": "MIT" | ||
} | ||
} |
# A Document Path Library for Node | ||
[![Dependencies](https://img.shields.io/david/mrodrig/doc-path.svg?style=flat-square)](https://www.npmjs.org/package/doc-path) | ||
[![Build Status](https://travis-ci.org/mrodrig/doc-path.svg?branch=master)](https://travis-ci.org/mrodrig/doc-path) | ||
[![Dependencies](https://img.shields.io/david/mrodrig/doc-path.svg?style=flat-square)](https://www.npmjs.org/package/doc-path) | ||
[![Monthly Downloads](http://img.shields.io/npm/dm/doc-path.svg)](https://www.npmjs.org/package/doc-path) | ||
[![NPM version](https://img.shields.io/npm/v/doc-path.svg)](https://www.npmjs.org/package/doc-path) | ||
[![Maintainability](https://api.codeclimate.com/v1/badges/8d357f67aa5aaf8d727e/maintainability)](https://codeclimate.com/github/mrodrig/doc-path/maintainability) | ||
[![Known Vulnerabilities](https://snyk.io/test/npm/doc-path/badge.svg)](https://snyk.io/test/npm/doc-path) | ||
@@ -21,3 +22,3 @@ | ||
```javascript | ||
var path = require('doc-path'); | ||
let path = require('doc-path'); | ||
``` | ||
@@ -37,5 +38,5 @@ | ||
```javascript | ||
var path = require('doc-path'); | ||
const path = require('doc-path'); | ||
var document = { | ||
let document = { | ||
Make: 'Nissan', | ||
@@ -69,5 +70,5 @@ Model: 'Murano', | ||
```javascript | ||
var path = require('doc-path'); | ||
const path = require('doc-path'); | ||
var document = { | ||
let document = { | ||
Make: 'Nissan' | ||
@@ -98,6 +99,6 @@ }; | ||
``` | ||
Statements : 100% ( 22/22 ) | ||
Branches : 90% ( 9/10 ) | ||
Statements : 100% ( 21/21 ) | ||
Branches : 100% ( 12/12 ) | ||
Functions : 100% ( 2/2 ) | ||
Lines : 100% ( 19/19 ) | ||
Lines : 100% ( 18/18 ) | ||
``` | ||
@@ -104,0 +105,0 @@ |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
49788
13
445
105
1