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

@replit/database

Package Overview
Dependencies
Maintainers
11
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@replit/database - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

index.js

@@ -60,3 +60,3 @@ const fetch = require("node-fetch");

headers: { "Content-Type": "application/x-www-form-urlencoded" },
body: key + "=" + strValue,
body: encodeURIComponent(key) + "=" + encodeURIComponent(strValue),
});

@@ -63,0 +63,0 @@ return this;

@@ -76,1 +76,7 @@ const fetch = require("node-fetch");

});
test("ensure that we escape values when setting", async () => {
expect(await client.set("a", "1;b=2")).toEqual(client);
expect(await client.list()).toEqual(["a"])
expect(await client.get("a")).toEqual("1;b=2")
});
{
"name": "@replit/database",
"version": "2.0.0",
"version": "2.0.1",
"description": "Client for Repl.it Database",

@@ -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