Socket
Socket
Sign inDemoInstall

snoots-revived

Package Overview
Dependencies
36
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.0-dev.2 to 1.0.0-dev.3

18

dist/reddit/subreddit/controls.js

@@ -669,2 +669,4 @@ "use strict";

spoiler: options.spoiler ?? false,
flairId: options.flairId ?? undefined,
flairText: options.flairText ?? undefined,
});

@@ -692,2 +694,4 @@ }

spoiler: options.spoiler ?? false,
flairId: options.flairId ?? undefined,
flairText: options.flairText ?? undefined,
});

@@ -735,2 +739,4 @@ }

spoiler: options.spoiler ?? false,
flairId: options.flairId ?? undefined,
flairText: options.flairText ?? undefined,
});

@@ -802,2 +808,4 @@ }

spoiler: options.spoiler ?? false,
flairId: options.flairId ?? undefined,
flairText: options.flairText ?? undefined,
});

@@ -846,2 +854,4 @@ }

spoiler: options.spoiler ?? false,
flairId: options.flairId ?? undefined,
flairText: options.flairText ?? undefined,
});

@@ -952,2 +962,4 @@ }

spoiler: options.spoiler ?? false,
flairId: options.flairId ?? undefined,
flairText: options.flairText ?? undefined,
});

@@ -1012,2 +1024,8 @@ }

}
if (options.flairId != undefined) {
request.flair_id = options.flairId;
if (options.flairText != undefined) {
request.flair_text = options.flairText;
}
}
if (options.kind === "gallery" && options.items) {

@@ -1014,0 +1032,0 @@ request.items = options.items.map(item => {

2

package.json
{
"name": "snoots-revived",
"version": "1.0.0-dev.2",
"version": "1.0.0-dev.3",
"description": "A modern, fully-featured, strongly-typed reddit api.",

@@ -5,0 +5,0 @@ "module": "dist/index.mjs",

@@ -58,2 +58,6 @@ /// <reference types="node" />

spoiler?: boolean;
/** The flair ID to apply to the post. */
flairId?: string;
/** The flair text to apply to the post. */
flairText?: string;
}

@@ -162,2 +166,4 @@ /** Extra options for submitting a link post. */

nsfw: boolean;
flairId?: string;
flairText?: string;
spoiler: boolean;

@@ -164,0 +170,0 @@ resubmit: boolean;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc