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

@activepieces/pieces-common

Package Overview
Dependencies
Maintainers
3
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@activepieces/pieces-common - npm Package Compare versions

Comparing version 0.0.7 to 0.0.8

9

package.json
{
"name": "@activepieces/pieces-common",
"version": "0.0.7",
"version": "0.0.8",
"type": "commonjs",

@@ -8,7 +8,6 @@ "dependencies": {

"axios": "1.2.4",
"lodash": "4.17.21",
"nanoid": "3.3.4",
"@activepieces/pieces-framework": "0.3.23",
"@activepieces/shared": "0.3.40",
"tslib": "2.4.1"
"@activepieces/pieces-framework": "0.3.30",
"@activepieces/shared": "0.3.51",
"tslib": "2.5.3"
},

@@ -15,0 +14,0 @@ "main": "./src/index.js",

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

const tslib_1 = require("tslib");
const lodash_1 = require("lodash");
const shared_1 = require("@activepieces/shared");
var DedupeStrategy;

@@ -29,3 +29,3 @@ (function (DedupeStrategy) {

let newItems = [];
if ((0, lodash_1.isNil)(lastItemId) || lastItemIndex == -1) {
if ((0, shared_1.isNil)(lastItemId) || lastItemIndex == -1) {
newItems = items !== null && items !== void 0 ? items : [];

@@ -37,3 +37,3 @@ }

// Sorted from newest to oldest
if (!(0, lodash_1.isNil)(maxItemsToPoll)) {
if (!(0, shared_1.isNil)(maxItemsToPoll)) {
// Get the last polling.maxItemsToPoll items

@@ -43,3 +43,3 @@ newItems = newItems.slice(-maxItemsToPoll);

const newLastItem = (_c = newItems === null || newItems === void 0 ? void 0 : newItems[0]) === null || _c === void 0 ? void 0 : _c.id;
if (!(0, lodash_1.isNil)(newLastItem)) {
if (!(0, shared_1.isNil)(newLastItem)) {
yield store.put("lastItem", newLastItem);

@@ -63,3 +63,3 @@ }

const lastItemId = (_a = items === null || items === void 0 ? void 0 : items[0]) === null || _a === void 0 ? void 0 : _a.id;
if (!(0, lodash_1.isNil)(lastItemId)) {
if (!(0, shared_1.isNil)(lastItemId)) {
yield store.put("lastItem", lastItemId);

@@ -66,0 +66,0 @@ }

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