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

@thi.ng/transducers

Package Overview
Dependencies
Maintainers
1
Versions
331
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/transducers - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

8

CHANGELOG.md

@@ -6,2 +6,10 @@ # Change Log

<a name="1.0.3"></a>
## [1.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers@1.0.2...@thi.ng/transducers@1.0.3) (2018-01-29)
**Note:** Version bump only for package @thi.ng/transducers
<a name="1.0.2"></a>

@@ -8,0 +16,0 @@ ## [1.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/transducers@1.0.1...@thi.ng/transducers@1.0.2) (2018-01-29)

11

package.json
{
"name": "@thi.ng/transducers",
"version": "1.0.2",
"version": "1.0.3",
"description": "Lightweight transducer implementations for ES6 / TypeScript",

@@ -11,6 +11,7 @@ "main": "./index.js",

"scripts": {
"build": "yarn run clean && tsc --declaration",
"test": "yarn run clean && tsc -p test && mocha build/test/*.js",
"build": "yarn clean && tsc --declaration",
"clean": "rm -rf *.js *.d.ts build doc func iter rfn xform",
"pub": "yarn run build && yarn publish --access public"
"doc": "node_modules/.bin/typedoc --mode modules --out doc src",
"pub": "yarn build && yarn publish --access public",
"test": "rm -rf build && tsc -p test && mocha build/test/*.js"
},

@@ -27,3 +28,3 @@ "devDependencies": {

"dependencies": {
"@thi.ng/api": "^1.4.0"
"@thi.ng/api": "^1.4.1"
},

@@ -30,0 +31,0 @@ "keywords": [

@@ -7,3 +7,4 @@ import { Transducer } from "../api";

* values, but if not pads / supplies additional `fill` values at the end
* until the next multiple is reached.
* until the next multiple is reached. No padding takes place if input
* is empty, since length 0 is always a multiple.
*

@@ -15,4 +16,7 @@ * ```

* [...iterator(padLast(8, 0), [1])]
* // [ 0, 0, 0, 0, 0, 0, 0, 0 ]
* // [ 1, 0, 0, 0, 0, 0, 0, 0 ]
*
* [...iterator(padLast(8, 0), [])]
* // []
*
* [...iterator(padLast(2, 0), [1, 2, 3])]

@@ -19,0 +23,0 @@ * // [ 1, 2, 3, 0 ]

@@ -9,3 +9,4 @@ "use strict";

* values, but if not pads / supplies additional `fill` values at the end
* until the next multiple is reached.
* until the next multiple is reached. No padding takes place if input
* is empty, since length 0 is always a multiple.
*

@@ -17,4 +18,7 @@ * ```

* [...iterator(padLast(8, 0), [1])]
* // [ 0, 0, 0, 0, 0, 0, 0, 0 ]
* // [ 1, 0, 0, 0, 0, 0, 0, 0 ]
*
* [...iterator(padLast(8, 0), [])]
* // []
*
* [...iterator(padLast(2, 0), [1, 2, 3])]

@@ -21,0 +25,0 @@ * // [ 1, 2, 3, 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