@identity-js/identity 1.2.7 → 1.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +5 -4
package/index.js CHANGED
@@ -10,6 +10,7 @@ var identityfunction = require("identity-function")
10
10
  var isFinite = require("@is-(unknown)/is-finite")
11
11
  var isString = require("@is-(unknown)/is-string")
12
12
  var asyncUtilIdentity = require("async.util.identity")
13
+ var id = require("js-id")
13
14
 
14
15
  function identityCore(value) {
15
16
  if (isString(value)) {
@@ -33,7 +34,7 @@ function identity(value) {
33
34
  return identityfunction(
34
35
  vretriever.retrieve(
35
36
  isuseless(
36
- asyncUtilIdentity(stdlibIdentity(fIdentity(lodashIdentity(identityCore(value))))),
37
+ id(asyncUtilIdentity(stdlibIdentity(fIdentity(lodashIdentity(identityCore(value)))))),
37
38
  falsevalue,
38
39
  falsevalue
39
40
  )
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@identity-js/identity",
3
- "version": "1.2.7",
3
+ "version": "1.2.8",
4
4
  "description": "Returns the value passed into the function.",
5
5
  "keywords": [
6
6
  "identity-js"
7
7
  ],
8
- "homepage": "https://github.com/enterprise-npm-ai/identityjs#readme",
8
+ "homepage": "https://github.com/10xly/identityjs#readme",
9
9
  "bugs": {
10
- "url": "https://github.com/enterprise-npm-ai/identityjs/issues"
10
+ "url": "https://github.com/10xly/identityjs/issues"
11
11
  },
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "git+https://github.com/enterprise-npm-ai/identityjs.git"
14
+ "url": "git+https://github.com/10xly/identityjs.git"
15
15
  },
16
16
  "license": "Unlicense",
17
17
  "author": "me",
@@ -31,6 +31,7 @@
31
31
  "false-value": "^2.0.1",
32
32
  "identity-function": "^1.0.0",
33
33
  "is-useless": "1.3.4",
34
+ "js-id": "^1.0.0",
34
35
  "lodash.identity": "^3.0.0",
35
36
  "vretriever": "^1.1.4"
36
37
  },