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

@plunk/node

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@plunk/node - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

3

dist/lib/Plunk.js

@@ -5,3 +5,2 @@ "use strict";

const tslib_1 = require("tslib");
const native_fetch_1 = require("native-fetch");
const NotFound_1 = require("../errors/NotFound");

@@ -56,3 +55,3 @@ const TokenError_1 = require("../errors/TokenError");

return tslib_1.__awaiter(this, void 0, void 0, function* () {
const res = yield (0, native_fetch_1.fetch)(new URL(url, "https://api.useplunk.com/v1/").toString(), Object.assign(Object.assign({}, options), { headers: Object.assign(Object.assign({ Authorization: `Bearer ${this.key}` }, (json && { "Content-Type": "application/json" })), options.headers), body: json ? JSON.stringify(json) : undefined }));
const res = yield fetch(new URL(url, "https://api.useplunk.com/v1/").toString(), Object.assign(Object.assign({}, options), { headers: Object.assign(Object.assign({ Authorization: `Bearer ${this.key}` }, (json && { "Content-Type": "application/json" })), options.headers), body: json ? JSON.stringify(json) : undefined }));
const text = yield res.text();

@@ -59,0 +58,0 @@ const data = safeJsonParse(text);

{
"name": "@plunk/node",
"version": "3.0.0",
"version": "3.0.1",
"description": "Official Node.js library for useplunk.com",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"exports": "./dist/index.js",
"types": "./dist/index.d.ts",
"author": "driaug <dries@useplunk.com>",

@@ -11,4 +12,3 @@ "license": "MIT",

"scripts": {
"test": "eslint . --fix&&jest",
"prepublishOnly": "npm run test&&npm run build",
"prepublishOnly": "npm run build",
"deploy": "npm publish --access public",

@@ -23,14 +23,9 @@ "build": "tsc"

"dependencies": {
"native-fetch": "^4.0.2",
"tslib": "^2.4.0",
"undici": "^5.22.1"
"tslib": "^2.4.0"
},
"devDependencies": {
"@types/jest": "^28.1.4",
"@typescript-eslint/eslint-plugin": "^5.30.3",
"@typescript-eslint/parser": "^5.30.3",
"eslint": "^8.19.0",
"jest": "^28.1.2",
"prettier": "^2.7.1",
"ts-jest": "^28.0.5",
"typescript": "^4.7.4"

@@ -37,0 +32,0 @@ },

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