2.0.8 • Published 8 days ago

@squaredup/plugin-common v2.0.8

Weekly downloads
-
License
ISC
Repository
-
Last release
8 days ago

Plugin-Common

This is a module that contains common functions that can be used by all SquaredUp Plugins.

Important to note the no future change can be allowed to break any existing functionality, versioning must be properly maintained in package.json.

Functions

  • collectSuccessfulResponses : Takes in a list of promises (usually API responses) and returns only the ones that were successful (deprecated)
  • flattenObjectArrayProps : Flattens single-item array properties in an array of objects to a single non-array value
  • categorizeObjectArrayByProp : Categorizes an array of objects into separate properties of an object based on a property on each object
  • collectResponses : Takes in a list of promises (usually API responses) and returns information about successful and failed responses
  • processStandardDataStreamMessages : a helper routine to report errors returned by collectResponses() in a standard format
2.0.8

8 days ago

2.0.7

3 months ago

2.0.6

4 months ago

2.0.5

4 months ago

2.0.4

4 months ago

2.0.3

7 months ago

2.0.2

9 months ago

2.0.1

10 months ago

2.0.0

10 months ago

1.0.5

1 year ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

3 years ago

1.0.0

3 years ago