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

@openfn/language-facebook

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@openfn/language-facebook - npm Package Compare versions

Comparing version 0.3.3 to 0.4.0

53

ast.json

@@ -93,2 +93,55 @@ {

{
"name": "fnIf",
"params": [
"condition",
"operation"
],
"docs": {
"description": "A custom operation that will only execute the function if the condition returns true",
"tags": [
{
"title": "public",
"description": null,
"type": null
},
{
"title": "example",
"description": "fnIf((state) => state?.data?.name, get(\"https://example.com\"));"
},
{
"title": "function",
"description": null,
"name": null
},
{
"title": "param",
"description": "The condition that returns true",
"type": {
"type": "NameExpression",
"name": "Boolean"
},
"name": "condition"
},
{
"title": "param",
"description": "The operation needed to be executed.",
"type": {
"type": "NameExpression",
"name": "Operation"
},
"name": "operation"
},
{
"title": "returns",
"description": null,
"type": {
"type": "NameExpression",
"name": "Operation"
}
}
]
},
"valid": true
},
{
"name": "sourceValue",

@@ -95,0 +148,0 @@ "params": [

3

dist/index.js

@@ -18,2 +18,3 @@ var __defProp = Object.defineProperty;

fn: () => fn,
fnIf: () => fnIf,
lastReferenceValue: () => lastReferenceValue,

@@ -36,2 +37,3 @@ merge: () => merge,

fn,
fnIf,
alterState,

@@ -115,2 +117,3 @@ each,

fn,
fnIf,
lastReferenceValue,

@@ -117,0 +120,0 @@ merge,

4

package.json
{
"name": "@openfn/language-facebook",
"version": "0.3.3",
"version": "0.4.0",
"description": "An Language Package for Facebook Messenger API",

@@ -15,3 +15,3 @@ "main": "dist/index.cjs",

"dependencies": {
"@openfn/language-common": "^1.12.0",
"@openfn/language-common": "^1.14.0",
"request": "^2.88.2"

@@ -18,0 +18,0 @@ },

@@ -31,2 +31,2 @@ /**

export function postMessage(params: object): Operation;
export { field, fields, sourceValue, fn, alterState, each, merge, dataPath, dataValue, lastReferenceValue } from "@openfn/language-common";
export { field, fields, sourceValue, fn, fnIf, alterState, each, merge, dataPath, dataValue, lastReferenceValue } from "@openfn/language-common";

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