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

cass

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cass - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

package.json
{
"name": "cass",
"version": "0.0.1",
"version": "0.0.2",
"description": "It rhymes with jax-rs",

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

@@ -31,3 +31,3 @@ # Cass

import { createRouter, GET, PUT } from 'wegweiser';
import concat from 'concat-stream-promise';
import parsedBody from 'parsed-body';
import { createApp } from 'quinn';

@@ -43,3 +43,3 @@

PUT('/todos/:id')(async (req, id) => {
const { done } = await req.pipe(concat()).then(JSON.parse);
const { done } = await parsedBody(req);
if (0 === await todos.where({ id }).update({ done })) {

@@ -46,0 +46,0 @@ return; // item not found

Sorry, the diff of this file is not supported yet

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