New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

convex-helpers

Package Overview
Dependencies
Maintainers
1
Versions
144
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

convex-helpers - npm Package Compare versions

Comparing version 0.1.2 to 0.1.3

dist/index.d.ts

16

package.json
{
"name": "convex-helpers",
"version": "0.1.2",
"version": "0.1.3",
"description": "A collection of useful code to complement the official convex package.",
"type": "module",
"exports": {
".": "./dist/index.js",
"./server": "./dist/server/index.js",
"./server*": "./dist/server*",
"./server/rowLevelSecurity": "./dist/server/rowLevelSecurity.js",
"./server/relationships": "./dist/server/relationships.js",
"./server/middlewareUtils": "./dist/server/middlewareUtils.js"
},
"files": [
"dist",
"index.ts",
"server"
],
"scripts": {

@@ -7,0 +19,0 @@ "test": "echo \"Error: no test specified\" && exit 1"

4

server/rowLevelSecurity.ts

@@ -174,3 +174,3 @@ import {

async take(n: number): Promise<DocumentByInfo<T>[]> {
const results = [];
const results: DocumentByInfo<T>[] = [];
for await (const result of this) {

@@ -191,3 +191,3 @@ results.push(result);

async unique(): Promise<DocumentByInfo<T> | null> {
let uniqueResult = null;
let uniqueResult: DocumentByInfo<T> | null = null;
for await (const result of this) {

@@ -194,0 +194,0 @@ if (uniqueResult === null) {

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