@identity-js/identity 1.3.1 → 1.4.0
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.
- package/.github/workflows/lint.yml +20 -0
- package/.github/workflows/smoke.yml +10 -0
- package/README.md +2 -2
- package/eslint.config.mjs +3 -0
- package/index.js +1643 -1
- package/package.json +3 -6
- package/test/enterprise.js +1 -0
- package/test/mocha.js +1 -10
- package/lib/core.js +0 -83
- package/lib/coremeta2.js +0 -14
- package/lib/index.js +0 -1
- package/lib/meta2.js +0 -3
- package/lib/meta2IdentityFunctions.js +0 -25
- package/lib/meta2IdentityFunctionsUnstable.js +0 -11
- package/lib/meta2Unstable.js +0 -3
- package/lib/numberIdentity.js +0 -265
- package/lib/primitive.js +0 -10
- package/lib/primitiveCore.js +0 -158
- package/lib/stringIdentity.js +0 -972
- package/lib/syncResolveBluebird.js +0 -8
- package/lib/syncResolveCoreJS.js +0 -8
- package/lib/syncResolveES6Promise.js +0 -8
- package/lib/syncResolveES6PromisePolyfill.js +0 -8
- package/lib/syncResolveIsAPromise.js +0 -8
- package/lib/syncResolvePinkiePromise.js +0 -8
- package/lib/syncResolvePromisePolyfill.js +0 -8
- package/lib/syncResolveSchrodingerPlus.js +0 -8
- package/lib/syncResolveThenPromise.js +0 -8
- package/lib/unstable.js +0 -1
- package/unstable.d.ts +0 -3
- package/unstable.js +0 -1
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
name: 10xly Code Quality
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: ["**"]
|
|
6
|
+
pull_request:
|
|
7
|
+
branches: ["**"]
|
|
8
|
+
|
|
9
|
+
jobs:
|
|
10
|
+
quality-check:
|
|
11
|
+
runs-on: ubuntu-latest
|
|
12
|
+
steps:
|
|
13
|
+
- uses: actions/checkout@v4
|
|
14
|
+
- uses: actions/setup-node@v4
|
|
15
|
+
with:
|
|
16
|
+
node-version: "25"
|
|
17
|
+
- name: Install
|
|
18
|
+
run: npm install
|
|
19
|
+
- name: Run 10xly Lint
|
|
20
|
+
run: npx eslint . --max-warnings 0
|
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ console.log(identity("hello world")) // "hello world"
|
|
|
40
40
|
Tests are written using **Mocha**.
|
|
41
41
|
|
|
42
42
|
### Prerequisites
|
|
43
|
-
Clone this repository
|
|
43
|
+
Clone this repository and install dependencies and dev-dependencies.
|
|
44
44
|
|
|
45
45
|
### Running Tests
|
|
46
46
|
|
|
@@ -54,4 +54,4 @@ This will execute the tests to ensure the function works correctly across variou
|
|
|
54
54
|
|
|
55
55
|
## ✍️ License
|
|
56
56
|
|
|
57
|
-
This project is licensed under the Unlicense.
|
|
57
|
+
This project is licensed under the Unlicense.
|