Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

data-fair-app-utils

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

data-fair-app-utils - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

4

express/application-router.js

@@ -27,3 +27,3 @@ // A router to simulate reading/writing configurations from a data-fair server

try {
const content = fs.readFileSync(path.join(configDir, req.params.configId + '.json'), 'utf-8')
const content = fs.readFileSync(path.join(configDir, 'test.json'), 'utf-8')
res.status(200).send(JSON.parse(content))

@@ -37,4 +37,4 @@ } catch (err) {

const content = JSON.stringify(req.body, null, 2)
fs.writeFileSync(path.join(configDir, req.params.configId + '.json'), content)
fs.writeFileSync(path.join(configDir, 'test.json'), content)
res.status(200).send(req.body)
})
{
"name": "data-fair-app-utils",
"version": "0.4.0",
"version": "0.4.1",
"description": "Some helper functions for common logic of data-fair applications.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc