@kosmos/schemas
Advanced tools
Comparing version 2.2.1 to 3.0.0
10
index.js
@@ -1,7 +0,9 @@ | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
const contribution = require('./schemas/contribution'); | ||
const contributor = require('./schemas/contributor'); | ||
const expense = require('./schemas/expense'); | ||
module.exports = { | ||
"contribution": JSON.parse(fs.readFileSync(path.join(__dirname, 'schemas', 'contribution.json'))), | ||
"contributor": JSON.parse(fs.readFileSync(path.join(__dirname, 'schemas', 'contributor.json'))) | ||
contribution, | ||
contributor, | ||
expense | ||
}; |
{ | ||
"name": "@kosmos/schemas", | ||
"version": "2.2.1", | ||
"version": "3.0.0", | ||
"description": "JSON-LD schemas for Kosmos data formats", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
637
0
27029