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

functionalscript

Package Overview
Dependencies
Maintainers
1
Versions
453
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

functionalscript - npm Package Compare versions

Comparing version 0.0.162 to 0.0.163

4

async/iterable/index.js

@@ -93,2 +93,4 @@ const { todo } = require('../../dev')

const join = pipe(mapReduce.join)(apply)
module.exports = {

@@ -110,2 +112,4 @@ /** @readonly */

/** @readonly */
join,
/** @readonly */
exclusiveScan,

@@ -112,0 +116,0 @@ /** @readonly */

30

iterable/index.js

@@ -16,2 +16,15 @@ const { pipe } = require('../func')

const sum = apply(mr.sum)
const join = pipe(mr.join)(apply)
/** @type {<T, R>(f: (value: T) => R) => (c: Iterable<T>) => Iterable<R>} */
const map = f => c => ({
*[Symbol.iterator]() {
for (const i of c) {
yield f(i)
}
}
})
module.exports = {

@@ -25,18 +38,9 @@ /** @readonly */

/** @readonly */
join: pipe(mr.join)(apply),
join,
/** @readonly */
sum: apply(mr.sum),
sum,
/**
* @readonly
* @type {<T, R>(f: (value: T) => R) => (c: Iterable<T>) => Iterable<R>}
*/
map: f => c => ({
*[Symbol.iterator]() {
for (const i of c) {
yield f(i)
}
}
}),
/** @readonly */
map,

@@ -43,0 +47,0 @@ /**

{
"name": "functionalscript",
"version": "0.0.162",
"version": "0.0.163",
"description": "FunctionalScript is a functional subset of JavaScript",

@@ -5,0 +5,0 @@ "main": "index.js",

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