Skip to content

Commit

Permalink
version bump to 0.26.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ascartabelli committed May 16, 2016
1 parent e5cb86c commit 2604943
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 15 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Lamb it's also delivered on a CDN, courtesy of [npmcdn](https://npmcdn.com/):
The URL above will retrieve the latest version, but you can target a specific version too:

```html
<script src="https://npmcdn.com/lamb@0.25.1/dist/lamb.min.js"></script>
<script src="https://npmcdn.com/lamb@0.26.0/dist/lamb.min.js"></script>
```

You can [try it right now](https://tonicdev.com/npm/lamb) in your browser, too.
Expand Down Expand Up @@ -87,10 +87,14 @@ You can refer to the [changelog](#changelog) to see if your code is affected.

## <a name="changelog"></a> Changelog

- **v0.26.0 - *2016/05/16***
- **Fully compatible with versions down to 0.25.x**
- Added `rename`, `renameKeys` and `renameWith`

- **v0.25.1 - *2016/05/10***
- **API change**: `enumerables`, `pairs`, `tear` and `values` now throw a TypeError if supplied with `null` or `undefined`
- **API change**: `ownPairs`, `ownValues` and `tearOwn` now throw a TypeError only if supplied with `null` or `undefined` regardless of the ECMAScript engine you are using
- Added `keys` as a shim of ES6’s `Object.keys
- Added `keys` as a shim of ES6’s `Object.keys`

- **v0.24.0 - *2016/05/05***
- **API change**: `setPath` and `setPathIn` now treat non-enumerable properties encountered in a path as non-existent properties
Expand Down
10 changes: 5 additions & 5 deletions dist/lamb.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* @overview lamb - A lightweight, and docile, JavaScript library to help embracing functional programming.
* @author Andrea Scartabelli <andrea.scartabelli@gmail.com>
* @version 0.26.0-alpha.1
* @version 0.26.0
* @module lamb
* @license MIT
* @preserve
Expand All @@ -18,7 +18,7 @@
* @category Core
* @type String
*/
lamb._version = "0.26.0-alpha.1";
lamb._version = "0.26.0";

// alias used as a placeholder argument for partial application
var _ = lamb;
Expand Down Expand Up @@ -3375,14 +3375,14 @@
* @returns {Function}
*/
function tapArgs (fn) {
var readers = slice(arguments, 1);
var tappers = slice(arguments, 1);

return function () {
var len = arguments.length;
var args = [];

for (var i = 0; i < len; i++) {
args.push(readers[i] ? readers[i](arguments[i]) : arguments[i]);
args.push(tappers[i] ? tappers[i](arguments[i]) : arguments[i]);
}

return fn.apply(this, args);
Expand Down Expand Up @@ -3778,7 +3778,7 @@
* Retrieves the list of the own enumerable properties of an object.<br/>
* Although [Object.keys]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys}
* is already present in ECMAScript 5, its behaviour changed in the subsequent specifications
* of the standard as you can read if the link above.<br/>
* of the standard as you can read in the link above.<br/>
* This function <em>shims</em> the ECMAScript 6 version, by forcing a conversion to
* object for any value but <code>null</code> and <code>undefined</code>.
* @example <caption>Showing the difference with {@link module:lamb.enumerables|enumerables}</caption>
Expand Down
4 changes: 2 additions & 2 deletions dist/lamb.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/lamb.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion license.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015 Andrea Scartabelli <andrea.scartabelli@gmail.com>
Copyright (c) 2015-2016 Andrea Scartabelli <andrea.scartabelli@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"coveralls": "gulp coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage"
},
"tonicExample": "var _ = require('lamb');",
"version": "0.26.0-alpha.1",
"version": "0.26.0",
"devDependencies": {
"coveralls": "^2.11.9",
"gulp": "^3.9.1",
Expand Down
4 changes: 2 additions & 2 deletions src/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -394,14 +394,14 @@ var pipe = flip(compose);
* @returns {Function}
*/
function tapArgs (fn) {
var readers = slice(arguments, 1);
var tappers = slice(arguments, 1);

return function () {
var len = arguments.length;
var args = [];

for (var i = 0; i < len; i++) {
args.push(readers[i] ? readers[i](arguments[i]) : arguments[i]);
args.push(tappers[i] ? tappers[i](arguments[i]) : arguments[i]);
}

return fn.apply(this, args);
Expand Down
2 changes: 1 addition & 1 deletion src/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ function immutable (obj) {
* Retrieves the list of the own enumerable properties of an object.<br/>
* Although [Object.keys]{@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/keys}
* is already present in ECMAScript 5, its behaviour changed in the subsequent specifications
* of the standard as you can read if the link above.<br/>
* of the standard as you can read in the link above.<br/>
* This function <em>shims</em> the ECMAScript 6 version, by forcing a conversion to
* object for any value but <code>null</code> and <code>undefined</code>.
* @example <caption>Showing the difference with {@link module:lamb.enumerables|enumerables}</caption>
Expand Down

0 comments on commit 2604943

Please sign in to comment.