Skip to content

Commit d5d11d1

Browse files
committed
Release v1.0.2
2 parents 1dcc205 + e12cecc commit d5d11d1

File tree

7 files changed

+17
-6
lines changed

7 files changed

+17
-6
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file.
66
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
77
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## [1.0.2] - 2019-12-13 ##
10+
11+
[1.0.2]: https://github.com/mfederczuk/deeptools/compare/v1.0.1...v1.0.2
12+
13+
### Fixed ###
14+
15+
* Imported `deepCopy` and `deepFreeze` in `safeCopy.js`
16+
917
## [1.0.1] - 2019-12-12 ##
1018

1119
[1.0.1]: https://github.com/mfederczuk/deeptools/compare/v1.0.0...v1.0.1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# DeepTools #
22

3-
[version_shield]: https://img.shields.io/badge/version-1.0.1-blue.svg
3+
[version_shield]: https://img.shields.io/badge/version-1.0.2-blue.svg
44
[latest_release]: https://github.com/mfederczuk/deep-tools/releases/latest "Latest Release"
55
[![version: N/A][version_shield]][latest_release]
66
[![Changelog](https://img.shields.io/badge/-Changelog-blue)](./CHANGELOG.md "Changelog")

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@mfederczuk/deeptools",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "A set of utility functions that recursively operate on objects",
55
"main": "src/index.js",
66
"types": "types/index.d.ts",

src/deepCopy.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ module.exports = function deepCopy(obj) {
5656
Object.setPrototypeOf(copy, Object.getPrototypeOf(obj));
5757

5858
return copy;
59-
}
59+
};

src/deepEquals.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,4 @@ module.exports = function deepEquals(obj1, obj2) {
7878
}
7979

8080
return true;
81-
}
81+
};

src/deepFreeze.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,4 @@ module.exports = function deepFreeze(obj) {
4141
}
4242

4343
return Object.freeze(obj);
44-
}
44+
};

src/safeCopy.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@
1717
* along with this program. If not, see <https://www.gnu.org/licenses/>.
1818
*/
1919

20+
const deepCopy = require("./deepCopy");
21+
const deepFreeze = require("./deepFreeze");
22+
2023
/**
2124
* Creates a safe copy of **obj** by creating a deep frozen copy of it.
2225
*
@@ -28,4 +31,4 @@
2831
module.exports = function safeCopy(obj) {
2932
"use strict";
3033
return deepFreeze(deepCopy(obj));
31-
}
34+
};

0 commit comments

Comments
 (0)