duh-ipxact
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -22,3 +22,3 @@ 'use strict'; | ||
return res; | ||
} | ||
}; | ||
@@ -28,3 +28,3 @@ const toNumber = val => { | ||
return (isNaN(num) || ((num |0) !== num)) ? val : num; | ||
} | ||
}; | ||
@@ -39,3 +39,3 @@ const objList = [ | ||
'logicalName', | ||
'description', | ||
'description' | ||
]; | ||
@@ -50,3 +50,3 @@ | ||
'directConnection', | ||
'requiresDriver', | ||
'requiresDriver' | ||
]; | ||
@@ -66,3 +66,3 @@ | ||
} | ||
}) | ||
}); | ||
@@ -76,3 +76,3 @@ boolList.some(e => { | ||
} | ||
}) | ||
}); | ||
@@ -86,3 +86,3 @@ switch (node.name) { | ||
name: node.attr['spirit:name'], | ||
version: node.attr['spirit:version'], | ||
version: node.attr['spirit:version'] | ||
} | ||
@@ -107,4 +107,4 @@ }); | ||
} | ||
}) | ||
}); | ||
return res[2]; | ||
}; |
{ | ||
"name": "duh-ipxact", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "IP-XACT import / export package", | ||
"author": "SiFive", | ||
"license": "Apache-2.0", | ||
"main": "lib/index.js", | ||
"bin": { | ||
"duh-ipxact-import": "import.js" | ||
"duh-import-ipxact": "bin/import.js" | ||
}, | ||
@@ -13,3 +15,3 @@ "directories": { | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"test": "eslint lib && mocha test && nyc -r=text -r=lcov mocha test" | ||
}, | ||
@@ -20,4 +22,5 @@ "repository": { | ||
}, | ||
"author": "SiFive", | ||
"license": "Apache-2.0", | ||
"engines": { | ||
"node": ">=6" | ||
}, | ||
"bugs": { | ||
@@ -28,12 +31,16 @@ "url": "https://github.com/sifive/duh-ipxact/issues" | ||
"dependencies": { | ||
"fs-extra": "^7.0.1", | ||
"fs-extra": "^8.0.1", | ||
"json5": "^2.1.0", | ||
"onml": "^0.4.5" | ||
"onml": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"@drom/eslint-config": "^0.10.0", | ||
"chai": "^4.2.0", | ||
"eslint": "^5.12.1", | ||
"mocha": "^5.2.0", | ||
"nyc": "^13.1.0" | ||
"eslint": "^5.16.0", | ||
"mocha": "^6.1.4", | ||
"nyc": "^14.1.1" | ||
}, | ||
"eslintConfig": { | ||
"extends": "@drom/eslint-config/eslint4/node8" | ||
} | ||
} |
@@ -1,2 +0,26 @@ | ||
# duh-ipxact | ||
[![NPM version](https://img.shields.io/npm/v/duh-ipxact.svg)](https://www.npmjs.org/package/duh-ipxact) | ||
[![Travis build Status](https://travis-ci.org/sifive/duh-ipxact.svg?branch=master)](https://travis-ci.org/sifive/duh-ipxact) | ||
IP-XACT import / export package | ||
## Use | ||
``` | ||
npm i duh-ipxact | ||
``` | ||
```bash | ||
duh-import-ipxact -i <input> -o <output> | ||
``` | ||
## API | ||
TBD | ||
## Testing | ||
``` | ||
npm test | ||
``` | ||
## License | ||
Apache 2.0 [LICENSE](LICENSE). |
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
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
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
16687
1
27
5
+ Addedfs-extra@8.1.0(transitive)
+ Addedonml@1.3.0(transitive)
- Removedfs-extra@7.0.1(transitive)
- Removedonml@0.4.5(transitive)
Updatedfs-extra@^8.0.1
Updatedonml@^1.0.0