login-authorization-v2 2.0.0-beta.1 → 2.0.0-beta.10
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/README.md +45 -47
- package/dist/index.d.ts +14 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +405 -497
- package/dist/index.umd.js +424 -537
- package/dist/src/request.d.ts.map +1 -1
- package/package.json +29 -25
- package/babel.config.js +0 -6
- package/coverage/clover.xml +0 -140
- package/coverage/coverage-final.json +0 -8
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/common-authorization-v2/index.html +0 -116
- package/coverage/lcov-report/common-authorization-v2/index.ts.html +0 -547
- package/coverage/lcov-report/common-authorization-v2/src/compatible.ts.html +0 -223
- package/coverage/lcov-report/common-authorization-v2/src/constance.ts.html +0 -106
- package/coverage/lcov-report/common-authorization-v2/src/cookie.ts.html +0 -346
- package/coverage/lcov-report/common-authorization-v2/src/dom.ts.html +0 -262
- package/coverage/lcov-report/common-authorization-v2/src/index.html +0 -206
- package/coverage/lcov-report/common-authorization-v2/src/request.ts.html +0 -361
- package/coverage/lcov-report/common-authorization-v2/src/shares.ts.html +0 -163
- package/coverage/lcov-report/common-authorization-v2/src/types.ts.html +0 -412
- package/coverage/lcov-report/common-authorization-v2/src/utils.ts.html +0 -145
- package/coverage/lcov-report/compatible.ts.html +0 -223
- package/coverage/lcov-report/constance.ts.html +0 -106
- package/coverage/lcov-report/cookie.ts.html +0 -310
- package/coverage/lcov-report/dom.ts.html +0 -262
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -206
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/shares.ts.html +0 -163
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -210
- package/coverage/lcov-report/types.ts.html +0 -412
- package/coverage/lcov-report/utils.ts.html +0 -145
- package/coverage/lcov.info +0 -268
- package/dist/compatible.d.ts +0 -10
- package/dist/compatible.d.ts.map +0 -1
- package/dist/constance.d.ts +0 -6
- package/dist/constance.d.ts.map +0 -1
- package/dist/cookie.d.ts +0 -8
- package/dist/cookie.d.ts.map +0 -1
- package/dist/dom.d.ts +0 -2
- package/dist/dom.d.ts.map +0 -1
- package/dist/index.js.LICENSE.txt +0 -1
- package/dist/request.d.ts +0 -36
- package/dist/request.d.ts.map +0 -1
- package/dist/shares.d.ts +0 -10
- package/dist/shares.d.ts.map +0 -1
- package/dist/test/cookie.test.d.ts +0 -2
- package/dist/test/cookie.test.d.ts.map +0 -1
- package/dist/test/shares.test.d.ts +0 -2
- package/dist/test/shares.test.d.ts.map +0 -1
- package/dist/types.d.ts +0 -89
- package/dist/types.d.ts.map +0 -1
- package/dist/utils.d.ts +0 -2
- package/dist/utils.d.ts.map +0 -1
- package/index.html +0 -28
- package/index.ts +0 -154
- package/jest.config.js +0 -6
- package/src/compatible.ts +0 -46
- package/src/constance.ts +0 -7
- package/src/cookie.ts +0 -75
- package/src/dom.ts +0 -59
- package/src/request.ts +0 -99
- package/src/shares.ts +0 -26
- package/src/types.ts +0 -109
- package/src/utils.ts +0 -20
- package/tests/compatible.test.ts +0 -420
- package/tests/cookie.test.ts +0 -78
- package/tests/dom.test.ts +0 -95
- package/tests/index.test.ts +0 -126
- package/tests/shares.test.ts +0 -52
- package/tests/utils.test.ts +0 -79
- package/tsconfig.json +0 -49
- package/webpack.config.mjs +0 -47
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../src/request.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAY,MAAM,SAAS,CAAA;AAEnD,OAAO,KAAK,EAAiB,YAAY,EAAE,MAAM,OAAO,CAAA;AAKxD;;GAEG;AACH,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"request.d.ts","sourceRoot":"","sources":["../../src/request.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAY,MAAM,SAAS,CAAA;AAEnD,OAAO,KAAK,EAAiB,YAAY,EAAE,MAAM,OAAO,CAAA;AAKxD;;GAEG;AACH,eAAO,MAAM,YAAY,qBAuCxB,CAAA;AAED,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,GAAG,EAAE,MAAM,CAAA;IACX,OAAO,EAAE;QACP,WAAW,EAAE,MAAM,CAAA;QACnB,SAAS,EAAE,MAAM,CAAA;QACjB,OAAO,EAAE,MAAM,CAAA;QACf,iBAAiB,EAAE,IAAI,CAAA;QACvB,YAAY,EAAE,MAAM,CAAA;QACpB,SAAS,EAAE,QAAQ,CAAA;KACpB,CAAA;CACF,CAAA;AACD,eAAO,MAAM,qBAAqB,GAAI,cAAc,MAAM,KAOlD,YAAY,CAAC,oBAAoB,CACxC,CAAA;AAED,eAAO,MAAM,eAAe,yBAK3B,CAAA;AAED,KAAK,OAAO,GAAG;IACb,SAAS,EAAE,UAAU,CAAA;IACrB,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,aAAa,EAAE,OAAO,CAAA;IACtB,GAAG,EAAE,MAAM,CAAA;CACZ,CAAA;AACD,KAAK,kBAAkB,GAAG;IACxB,OAAO,EAAE,KAAK,CAAC,OAAO,CAAC,CAAA;IACvB,IAAI,EAAE,MAAM,CAAA;IACZ,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA;AACD,eAAO,MAAM,mBAAmB,QAIxB,YAAY,CAAC,kBAAkB,CACtC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,55 +1,59 @@
|
|
|
1
1
|
{
|
|
2
2
|
"type": "module",
|
|
3
3
|
"name": "login-authorization-v2",
|
|
4
|
-
"version": "2.0.0-beta.
|
|
4
|
+
"version": "2.0.0-beta.10",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": "^20"
|
|
7
7
|
},
|
|
8
8
|
"description": "login authorization",
|
|
9
|
-
"main": "dist/index.
|
|
10
|
-
"module": "dist/index.esm.js",
|
|
9
|
+
"main": "./dist/index.esm.js",
|
|
10
|
+
"module": "./dist/index.esm.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
11
12
|
"exports": {
|
|
12
|
-
"
|
|
13
|
-
|
|
13
|
+
".": {
|
|
14
|
+
"module": "./dist/index.esm.js",
|
|
15
|
+
"require": "./dist/index.umd.js",
|
|
16
|
+
"types": "./dist/index.d.ts"
|
|
17
|
+
},
|
|
18
|
+
"./package.json": "./package.json"
|
|
14
19
|
},
|
|
15
20
|
"scripts": {
|
|
16
|
-
"
|
|
17
|
-
"build": "
|
|
18
|
-
"
|
|
21
|
+
"clean": "rm -rf dist dist-cjs dist-esm",
|
|
22
|
+
"build:bundle": "rollup -c rollup.config.mjs",
|
|
23
|
+
"build": "npm run clean && npm run build:bundle",
|
|
24
|
+
"serve": "npm run build:bundle -- --watch",
|
|
25
|
+
"test": "jest --coverage",
|
|
26
|
+
"prepublishOnly": "npm run build"
|
|
19
27
|
},
|
|
28
|
+
"files": [
|
|
29
|
+
"dist"
|
|
30
|
+
],
|
|
20
31
|
"keywords": [
|
|
21
32
|
"login",
|
|
22
33
|
"authorization"
|
|
23
34
|
],
|
|
24
|
-
"author": "
|
|
35
|
+
"author": "tangchenming",
|
|
25
36
|
"license": "ISC",
|
|
26
37
|
"dependencies": {
|
|
27
|
-
"@types/axios": "^0.14.4",
|
|
28
|
-
"@types/js-base64": "^3.0.0",
|
|
29
|
-
"@types/js-cookie": "^3.0.6",
|
|
30
38
|
"axios": "^0.24.0",
|
|
31
39
|
"js-base64": "^3.7.7",
|
|
32
|
-
"js-cookie": "^3.0.5"
|
|
33
|
-
"lodash": "^4.17.21",
|
|
34
|
-
"ts-loader": "^9.5.4"
|
|
40
|
+
"js-cookie": "^3.0.5"
|
|
35
41
|
},
|
|
36
42
|
"devDependencies": {
|
|
37
|
-
"@babel/core": "^7.16.5",
|
|
38
|
-
"@babel/plugin-transform-runtime": "^7.16.5",
|
|
39
|
-
"@babel/preset-env": "^7.16.5",
|
|
40
43
|
"@babel/preset-typescript": "^7.28.5",
|
|
41
44
|
"@jest/globals": "^30.2.0",
|
|
45
|
+
"@rollup/plugin-commonjs": "^29.0.0",
|
|
42
46
|
"@rollup/plugin-node-resolve": "^16.0.3",
|
|
47
|
+
"@rollup/plugin-terser": "^0.4.4",
|
|
43
48
|
"@rollup/plugin-typescript": "^12.3.0",
|
|
49
|
+
"@types/axios": "^0.14.4",
|
|
44
50
|
"@types/jest": "^30.0.0",
|
|
45
|
-
"
|
|
51
|
+
"@types/js-base64": "^3.0.0",
|
|
52
|
+
"@types/js-cookie": "^3.0.6",
|
|
46
53
|
"jest": "^30.2.0",
|
|
54
|
+
"jest-circus": "^30.2.0",
|
|
47
55
|
"jest-environment-jsdom": "^30.2.0",
|
|
48
|
-
"rollup": "^4.53.
|
|
49
|
-
"
|
|
50
|
-
"tslib": "^2.8.1",
|
|
51
|
-
"typescript": "^5.9.3",
|
|
52
|
-
"webpack": "^5.65.0",
|
|
53
|
-
"webpack-cli": "^4.9.1"
|
|
56
|
+
"rollup": "^4.53.5",
|
|
57
|
+
"tslib": "^2.8.1"
|
|
54
58
|
}
|
|
55
59
|
}
|
package/babel.config.js
DELETED
package/coverage/clover.xml
DELETED
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<coverage generated="1765965347223" clover="3.2.0">
|
|
3
|
-
<project timestamp="1765965347223" name="All files">
|
|
4
|
-
<metrics statements="113" coveredstatements="109" conditionals="44" coveredconditionals="37" methods="24" coveredmethods="20" elements="181" coveredelements="166" complexity="0" loc="113" ncloc="113" packages="1" files="7" classes="7"/>
|
|
5
|
-
<file name="compatible.ts" path="/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/compatible.ts">
|
|
6
|
-
<metrics statements="18" coveredstatements="18" conditionals="16" coveredconditionals="14" methods="4" coveredmethods="4"/>
|
|
7
|
-
<line num="8" count="1" type="stmt"/>
|
|
8
|
-
<line num="9" count="1" type="stmt"/>
|
|
9
|
-
<line num="11" count="1" type="stmt"/>
|
|
10
|
-
<line num="18" count="10" type="cond" truecount="4" falsecount="0"/>
|
|
11
|
-
<line num="19" count="2" type="stmt"/>
|
|
12
|
-
<line num="21" count="8" type="stmt"/>
|
|
13
|
-
<line num="27" count="1" type="stmt"/>
|
|
14
|
-
<line num="28" count="3" type="stmt"/>
|
|
15
|
-
<line num="29" count="3" type="stmt"/>
|
|
16
|
-
<line num="32" count="1" type="stmt"/>
|
|
17
|
-
<line num="33" count="12" type="cond" truecount="2" falsecount="0"/>
|
|
18
|
-
<line num="34" count="11" type="stmt"/>
|
|
19
|
-
<line num="35" count="11" type="stmt"/>
|
|
20
|
-
<line num="36" count="11" type="cond" truecount="3" falsecount="1"/>
|
|
21
|
-
<line num="40" count="1" type="stmt"/>
|
|
22
|
-
<line num="41" count="16" type="cond" truecount="3" falsecount="1"/>
|
|
23
|
-
<line num="43" count="16" type="stmt"/>
|
|
24
|
-
<line num="45" count="16" type="stmt"/>
|
|
25
|
-
</file>
|
|
26
|
-
<file name="constance.ts" path="/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/constance.ts">
|
|
27
|
-
<metrics statements="7" coveredstatements="7" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
28
|
-
<line num="1" count="4" type="stmt"/>
|
|
29
|
-
<line num="2" count="4" type="stmt"/>
|
|
30
|
-
<line num="3" count="4" type="stmt"/>
|
|
31
|
-
<line num="4" count="4" type="stmt"/>
|
|
32
|
-
<line num="5" count="4" type="stmt"/>
|
|
33
|
-
<line num="6" count="4" type="stmt"/>
|
|
34
|
-
<line num="7" count="4" type="stmt"/>
|
|
35
|
-
</file>
|
|
36
|
-
<file name="cookie.ts" path="/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/cookie.ts">
|
|
37
|
-
<metrics statements="41" coveredstatements="41" conditionals="14" coveredconditionals="12" methods="7" coveredmethods="5"/>
|
|
38
|
-
<line num="14" count="2" type="stmt"/>
|
|
39
|
-
<line num="15" count="26" type="stmt"/>
|
|
40
|
-
<line num="17" count="26" type="cond" truecount="1" falsecount="1"/>
|
|
41
|
-
<line num="21" count="26" type="stmt"/>
|
|
42
|
-
<line num="22" count="48" type="cond" truecount="2" falsecount="0"/>
|
|
43
|
-
<line num="23" count="24" type="stmt"/>
|
|
44
|
-
<line num="25" count="24" type="stmt"/>
|
|
45
|
-
<line num="33" count="2" type="stmt"/>
|
|
46
|
-
<line num="34" count="2" type="stmt"/>
|
|
47
|
-
<line num="35" count="2" type="stmt"/>
|
|
48
|
-
<line num="36" count="2" type="stmt"/>
|
|
49
|
-
<line num="37" count="2" type="stmt"/>
|
|
50
|
-
<line num="38" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
51
|
-
<line num="39" count="4" type="stmt"/>
|
|
52
|
-
<line num="40" count="4" type="stmt"/>
|
|
53
|
-
<line num="41" count="4" type="stmt"/>
|
|
54
|
-
<line num="42" count="4" type="stmt"/>
|
|
55
|
-
<line num="44" count="6" type="stmt"/>
|
|
56
|
-
<line num="45" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
57
|
-
<line num="46" count="4" type="stmt"/>
|
|
58
|
-
<line num="47" count="4" type="stmt"/>
|
|
59
|
-
<line num="49" count="4" type="stmt"/>
|
|
60
|
-
<line num="50" count="4" type="stmt"/>
|
|
61
|
-
<line num="51" count="4" type="stmt"/>
|
|
62
|
-
<line num="53" count="2" type="stmt"/>
|
|
63
|
-
<line num="54" count="10" type="cond" truecount="2" falsecount="0"/>
|
|
64
|
-
<line num="55" count="4" type="stmt"/>
|
|
65
|
-
<line num="56" count="4" type="stmt"/>
|
|
66
|
-
<line num="57" count="4" type="stmt"/>
|
|
67
|
-
<line num="58" count="4" type="stmt"/>
|
|
68
|
-
<line num="60" count="6" type="stmt"/>
|
|
69
|
-
<line num="61" count="5" type="cond" truecount="2" falsecount="0"/>
|
|
70
|
-
<line num="62" count="4" type="stmt"/>
|
|
71
|
-
<line num="63" count="4" type="cond" truecount="1" falsecount="1"/>
|
|
72
|
-
<line num="65" count="4" type="stmt"/>
|
|
73
|
-
<line num="66" count="4" type="stmt"/>
|
|
74
|
-
<line num="68" count="4" type="stmt"/>
|
|
75
|
-
<line num="71" count="2" type="stmt"/>
|
|
76
|
-
<line num="72" count="2" type="stmt"/>
|
|
77
|
-
<line num="74" count="2" type="stmt"/>
|
|
78
|
-
<line num="75" count="2" type="stmt"/>
|
|
79
|
-
</file>
|
|
80
|
-
<file name="dom.ts" path="/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/dom.ts">
|
|
81
|
-
<metrics statements="22" coveredstatements="18" conditionals="6" coveredconditionals="5" methods="6" coveredmethods="4"/>
|
|
82
|
-
<line num="4" count="1" type="stmt"/>
|
|
83
|
-
<line num="5" count="2" type="stmt"/>
|
|
84
|
-
<line num="15" count="1" type="stmt"/>
|
|
85
|
-
<line num="16" count="1" type="stmt"/>
|
|
86
|
-
<line num="28" count="1" type="stmt"/>
|
|
87
|
-
<line num="29" count="0" type="stmt"/>
|
|
88
|
-
<line num="30" count="0" type="stmt"/>
|
|
89
|
-
<line num="33" count="1" type="stmt"/>
|
|
90
|
-
<line num="34" count="0" type="stmt"/>
|
|
91
|
-
<line num="35" count="0" type="stmt"/>
|
|
92
|
-
<line num="38" count="1" type="stmt"/>
|
|
93
|
-
<line num="39" count="1" type="stmt"/>
|
|
94
|
-
<line num="41" count="1" type="cond" truecount="3" falsecount="1"/>
|
|
95
|
-
<line num="42" count="1" type="stmt"/>
|
|
96
|
-
<line num="45" count="1" type="stmt"/>
|
|
97
|
-
<line num="46" count="3" type="stmt"/>
|
|
98
|
-
<line num="48" count="3" type="cond" truecount="2" falsecount="0"/>
|
|
99
|
-
<line num="52" count="3" type="stmt"/>
|
|
100
|
-
<line num="53" count="3" type="stmt"/>
|
|
101
|
-
<line num="55" count="3" type="stmt"/>
|
|
102
|
-
<line num="56" count="3" type="stmt"/>
|
|
103
|
-
<line num="58" count="3" type="stmt"/>
|
|
104
|
-
</file>
|
|
105
|
-
<file name="shares.ts" path="/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/shares.ts">
|
|
106
|
-
<metrics statements="14" coveredstatements="14" conditionals="4" coveredconditionals="4" methods="4" coveredmethods="4"/>
|
|
107
|
-
<line num="6" count="1" type="stmt"/>
|
|
108
|
-
<line num="7" count="1" type="stmt"/>
|
|
109
|
-
<line num="9" count="1" type="stmt"/>
|
|
110
|
-
<line num="10" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
111
|
-
<line num="11" count="1" type="stmt"/>
|
|
112
|
-
<line num="13" count="1" type="stmt"/>
|
|
113
|
-
<line num="15" count="1" type="stmt"/>
|
|
114
|
-
<line num="16" count="2" type="cond" truecount="2" falsecount="0"/>
|
|
115
|
-
<line num="17" count="1" type="stmt"/>
|
|
116
|
-
<line num="19" count="1" type="stmt"/>
|
|
117
|
-
<line num="21" count="1" type="stmt"/>
|
|
118
|
-
<line num="22" count="1" type="stmt"/>
|
|
119
|
-
<line num="24" count="1" type="stmt"/>
|
|
120
|
-
<line num="25" count="1" type="stmt"/>
|
|
121
|
-
</file>
|
|
122
|
-
<file name="types.ts" path="/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/types.ts">
|
|
123
|
-
<metrics statements="1" coveredstatements="1" conditionals="0" coveredconditionals="0" methods="0" coveredmethods="0"/>
|
|
124
|
-
<line num="1" count="1" type="stmt"/>
|
|
125
|
-
</file>
|
|
126
|
-
<file name="utils.ts" path="/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/utils.ts">
|
|
127
|
-
<metrics statements="10" coveredstatements="10" conditionals="4" coveredconditionals="2" methods="3" coveredmethods="3"/>
|
|
128
|
-
<line num="6" count="3" type="stmt"/>
|
|
129
|
-
<line num="7" count="4" type="stmt"/>
|
|
130
|
-
<line num="8" count="4" type="stmt"/>
|
|
131
|
-
<line num="11" count="3" type="stmt"/>
|
|
132
|
-
<line num="12" count="2" type="stmt"/>
|
|
133
|
-
<line num="13" count="2" type="stmt"/>
|
|
134
|
-
<line num="14" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
135
|
-
<line num="15" count="2" type="stmt"/>
|
|
136
|
-
<line num="16" count="2" type="cond" truecount="1" falsecount="1"/>
|
|
137
|
-
<line num="18" count="2" type="stmt"/>
|
|
138
|
-
</file>
|
|
139
|
-
</project>
|
|
140
|
-
</coverage>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
{"/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/compatible.ts": {"path":"/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/compatible.ts","statementMap":{"0":{"start":{"line":8,"column":26},"end":{"line":8,"column":40}},"1":{"start":{"line":9,"column":26},"end":{"line":9,"column":40}},"2":{"start":{"line":11,"column":25},"end":{"line":26,"column":1}},"3":{"start":{"line":18,"column":2},"end":{"line":20,"column":3}},"4":{"start":{"line":19,"column":4},"end":{"line":19,"column":30}},"5":{"start":{"line":21,"column":2},"end":{"line":25,"column":4}},"6":{"start":{"line":27,"column":32},"end":{"line":30,"column":1}},"7":{"start":{"line":28,"column":2},"end":{"line":28,"column":22}},"8":{"start":{"line":29,"column":2},"end":{"line":29,"column":23}},"9":{"start":{"line":32,"column":25},"end":{"line":37,"column":1}},"10":{"start":{"line":33,"column":2},"end":{"line":33,"column":26}},"11":{"start":{"line":33,"column":15},"end":{"line":33,"column":26}},"12":{"start":{"line":34,"column":14},"end":{"line":34,"column":78}},"13":{"start":{"line":35,"column":17},"end":{"line":35,"column":42}},"14":{"start":{"line":36,"column":2},"end":{"line":36,"column":60}},"15":{"start":{"line":40,"column":27},"end":{"line":46,"column":1}},"16":{"start":{"line":41,"column":17},"end":{"line":41,"column":75}},"17":{"start":{"line":43,"column":23},"end":{"line":43,"column":50}},"18":{"start":{"line":45,"column":2},"end":{"line":45,"column":30}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":11,"column":25},"end":{"line":11,"column":26}},"loc":{"start":{"line":17,"column":5},"end":{"line":26,"column":1}},"line":17},"1":{"name":"(anonymous_1)","decl":{"start":{"line":27,"column":32},"end":{"line":27,"column":33}},"loc":{"start":{"line":27,"column":38},"end":{"line":30,"column":1}},"line":27},"2":{"name":"(anonymous_2)","decl":{"start":{"line":32,"column":25},"end":{"line":32,"column":26}},"loc":{"start":{"line":32,"column":45},"end":{"line":37,"column":1}},"line":32},"3":{"name":"(anonymous_3)","decl":{"start":{"line":40,"column":27},"end":{"line":40,"column":28}},"loc":{"start":{"line":40,"column":59},"end":{"line":46,"column":1}},"line":40}},"branchMap":{"0":{"loc":{"start":{"line":15,"column":2},"end":{"line":15,"column":20}},"type":"default-arg","locations":[{"start":{"line":15,"column":17},"end":{"line":15,"column":20}}],"line":15},"1":{"loc":{"start":{"line":16,"column":2},"end":{"line":16,"column":33}},"type":"default-arg","locations":[{"start":{"line":16,"column":9},"end":{"line":16,"column":33}}],"line":16},"2":{"loc":{"start":{"line":18,"column":2},"end":{"line":20,"column":3}},"type":"if","locations":[{"start":{"line":18,"column":2},"end":{"line":20,"column":3}},{"start":{},"end":{}}],"line":18},"3":{"loc":{"start":{"line":18,"column":6},"end":{"line":18,"column":43}},"type":"binary-expr","locations":[{"start":{"line":18,"column":6},"end":{"line":18,"column":20}},{"start":{"line":18,"column":24},"end":{"line":18,"column":43}}],"line":18},"4":{"loc":{"start":{"line":33,"column":2},"end":{"line":33,"column":26}},"type":"if","locations":[{"start":{"line":33,"column":2},"end":{"line":33,"column":26}},{"start":{},"end":{}}],"line":33},"5":{"loc":{"start":{"line":36,"column":9},"end":{"line":36,"column":60}},"type":"cond-expr","locations":[{"start":{"line":36,"column":18},"end":{"line":36,"column":53}},{"start":{"line":36,"column":56},"end":{"line":36,"column":60}}],"line":36},"6":{"loc":{"start":{"line":36,"column":37},"end":{"line":36,"column":52}},"type":"binary-expr","locations":[{"start":{"line":36,"column":37},"end":{"line":36,"column":46}},{"start":{"line":36,"column":50},"end":{"line":36,"column":52}}],"line":36},"7":{"loc":{"start":{"line":41,"column":24},"end":{"line":41,"column":74}},"type":"binary-expr","locations":[{"start":{"line":41,"column":24},"end":{"line":41,"column":68}},{"start":{"line":41,"column":72},"end":{"line":41,"column":74}}],"line":41},"8":{"loc":{"start":{"line":41,"column":25},"end":{"line":41,"column":53}},"type":"binary-expr","locations":[{"start":{"line":41,"column":25},"end":{"line":41,"column":29}},{"start":{"line":41,"column":33},"end":{"line":41,"column":53}}],"line":41}},"s":{"0":1,"1":1,"2":1,"3":10,"4":2,"5":8,"6":1,"7":3,"8":3,"9":1,"10":12,"11":1,"12":11,"13":11,"14":11,"15":1,"16":16,"17":16,"18":16},"f":{"0":10,"1":3,"2":12,"3":16},"b":{"0":[5],"1":[5],"2":[2,8],"3":[10,9],"4":[1,11],"5":[9,2],"6":[9,0],"7":[16,3],"8":[16,0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"95eafc9536ad5b898842eb412a3f16fa7fc59498"}
|
|
2
|
-
,"/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/constance.ts": {"path":"/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/constance.ts","statementMap":{"0":{"start":{"line":1,"column":31},"end":{"line":1,"column":55}},"1":{"start":{"line":2,"column":36},"end":{"line":2,"column":58}},"2":{"start":{"line":3,"column":37},"end":{"line":3,"column":60}},"3":{"start":{"line":4,"column":32},"end":{"line":4,"column":57}},"4":{"start":{"line":5,"column":34},"end":{"line":5,"column":63}},"5":{"start":{"line":6,"column":33},"end":{"line":6,"column":52}},"6":{"start":{"line":7,"column":29},"end":{"line":7,"column":44}}},"fnMap":{},"branchMap":{},"s":{"0":4,"1":4,"2":4,"3":4,"4":4,"5":4,"6":4},"f":{},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"1fdc03d48a15927623320f121352b5ea13b1cdf4"}
|
|
3
|
-
,"/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/cookie.ts": {"path":"/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/cookie.ts","statementMap":{"0":{"start":{"line":14,"column":24},"end":{"line":31,"column":1}},"1":{"start":{"line":15,"column":16},"end":{"line":15,"column":53}},"2":{"start":{"line":17,"column":4},"end":{"line":19,"column":45}},"3":{"start":{"line":21,"column":2},"end":{"line":30,"column":3}},"4":{"start":{"line":22,"column":4},"end":{"line":24,"column":5}},"5":{"start":{"line":23,"column":6},"end":{"line":23,"column":56}},"6":{"start":{"line":25,"column":4},"end":{"line":29,"column":6}},"7":{"start":{"line":33,"column":24},"end":{"line":33,"column":55}},"8":{"start":{"line":34,"column":23},"end":{"line":34,"column":53}},"9":{"start":{"line":35,"column":29},"end":{"line":35,"column":65}},"10":{"start":{"line":36,"column":28},"end":{"line":36,"column":63}},"11":{"start":{"line":37,"column":31},"end":{"line":52,"column":1}},"12":{"start":{"line":38,"column":2},"end":{"line":43,"column":3}},"13":{"start":{"line":39,"column":4},"end":{"line":39,"column":24}},"14":{"start":{"line":40,"column":4},"end":{"line":40,"column":25}},"15":{"start":{"line":41,"column":4},"end":{"line":41,"column":42}},"16":{"start":{"line":42,"column":4},"end":{"line":42,"column":10}},"17":{"start":{"line":44,"column":17},"end":{"line":44,"column":33}},"18":{"start":{"line":45,"column":2},"end":{"line":45,"column":63}},"19":{"start":{"line":45,"column":25},"end":{"line":45,"column":63}},"20":{"start":{"line":46,"column":28},"end":{"line":46,"column":55}},"21":{"start":{"line":47,"column":27},"end":{"line":47,"column":72}},"22":{"start":{"line":49,"column":2},"end":{"line":49,"column":41}},"23":{"start":{"line":50,"column":2},"end":{"line":50,"column":39}},"24":{"start":{"line":51,"column":2},"end":{"line":51,"column":41}},"25":{"start":{"line":53,"column":30},"end":{"line":69,"column":1}},"26":{"start":{"line":54,"column":2},"end":{"line":59,"column":3}},"27":{"start":{"line":55,"column":4},"end":{"line":55,"column":24}},"28":{"start":{"line":56,"column":4},"end":{"line":56,"column":25}},"29":{"start":{"line":57,"column":4},"end":{"line":57,"column":41}},"30":{"start":{"line":58,"column":4},"end":{"line":58,"column":10}},"31":{"start":{"line":60,"column":17},"end":{"line":60,"column":33}},"32":{"start":{"line":61,"column":2},"end":{"line":61,"column":62}},"33":{"start":{"line":61,"column":25},"end":{"line":61,"column":62}},"34":{"start":{"line":62,"column":23},"end":{"line":62,"column":50}},"35":{"start":{"line":63,"column":22},"end":{"line":63,"column":37}},"36":{"start":{"line":65,"column":2},"end":{"line":65,"column":31}},"37":{"start":{"line":66,"column":2},"end":{"line":66,"column":29}},"38":{"start":{"line":68,"column":2},"end":{"line":68,"column":40}},"39":{"start":{"line":71,"column":30},"end":{"line":71,"column":62}},"40":{"start":{"line":71,"column":36},"end":{"line":71,"column":62}},"41":{"start":{"line":72,"column":31},"end":{"line":72,"column":64}},"42":{"start":{"line":72,"column":37},"end":{"line":72,"column":64}},"43":{"start":{"line":74,"column":29},"end":{"line":74,"column":65}},"44":{"start":{"line":75,"column":29},"end":{"line":75,"column":66}},"45":{"start":{"line":75,"column":35},"end":{"line":75,"column":66}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":14,"column":24},"end":{"line":14,"column":25}},"loc":{"start":{"line":14,"column":81},"end":{"line":31,"column":1}},"line":14},"1":{"name":"(anonymous_1)","decl":{"start":{"line":21,"column":9},"end":{"line":21,"column":10}},"loc":{"start":{"line":21,"column":35},"end":{"line":30,"column":3}},"line":21},"2":{"name":"(anonymous_2)","decl":{"start":{"line":37,"column":31},"end":{"line":37,"column":32}},"loc":{"start":{"line":37,"column":57},"end":{"line":52,"column":1}},"line":37},"3":{"name":"(anonymous_3)","decl":{"start":{"line":53,"column":30},"end":{"line":53,"column":31}},"loc":{"start":{"line":53,"column":56},"end":{"line":69,"column":1}},"line":53},"4":{"name":"(anonymous_4)","decl":{"start":{"line":71,"column":30},"end":{"line":71,"column":31}},"loc":{"start":{"line":71,"column":36},"end":{"line":71,"column":62}},"line":71},"5":{"name":"(anonymous_5)","decl":{"start":{"line":72,"column":31},"end":{"line":72,"column":32}},"loc":{"start":{"line":72,"column":37},"end":{"line":72,"column":64}},"line":72},"6":{"name":"(anonymous_6)","decl":{"start":{"line":75,"column":29},"end":{"line":75,"column":30}},"loc":{"start":{"line":75,"column":35},"end":{"line":75,"column":66}},"line":75}},"branchMap":{"0":{"loc":{"start":{"line":17,"column":4},"end":{"line":19,"column":45}},"type":"cond-expr","locations":[{"start":{"line":18,"column":8},"end":{"line":18,"column":32}},{"start":{"line":19,"column":8},"end":{"line":19,"column":45}}],"line":17},"1":{"loc":{"start":{"line":22,"column":4},"end":{"line":24,"column":5}},"type":"if","locations":[{"start":{"line":22,"column":4},"end":{"line":24,"column":5}},{"start":{},"end":{}}],"line":22},"2":{"loc":{"start":{"line":38,"column":2},"end":{"line":43,"column":3}},"type":"if","locations":[{"start":{"line":38,"column":2},"end":{"line":43,"column":3}},{"start":{},"end":{}}],"line":38},"3":{"loc":{"start":{"line":45,"column":2},"end":{"line":45,"column":63}},"type":"if","locations":[{"start":{"line":45,"column":2},"end":{"line":45,"column":63}},{"start":{},"end":{}}],"line":45},"4":{"loc":{"start":{"line":54,"column":2},"end":{"line":59,"column":3}},"type":"if","locations":[{"start":{"line":54,"column":2},"end":{"line":59,"column":3}},{"start":{},"end":{}}],"line":54},"5":{"loc":{"start":{"line":61,"column":2},"end":{"line":61,"column":62}},"type":"if","locations":[{"start":{"line":61,"column":2},"end":{"line":61,"column":62}},{"start":{},"end":{}}],"line":61},"6":{"loc":{"start":{"line":63,"column":22},"end":{"line":63,"column":37}},"type":"binary-expr","locations":[{"start":{"line":63,"column":22},"end":{"line":63,"column":31}},{"start":{"line":63,"column":35},"end":{"line":63,"column":37}}],"line":63}},"s":{"0":2,"1":26,"2":26,"3":26,"4":48,"5":24,"6":24,"7":2,"8":2,"9":2,"10":2,"11":2,"12":10,"13":4,"14":4,"15":4,"16":4,"17":6,"18":5,"19":1,"20":4,"21":4,"22":4,"23":4,"24":4,"25":2,"26":10,"27":4,"28":4,"29":4,"30":4,"31":6,"32":5,"33":1,"34":4,"35":4,"36":4,"37":4,"38":4,"39":2,"40":1,"41":2,"42":0,"43":2,"44":2,"45":0},"f":{"0":26,"1":48,"2":10,"3":10,"4":1,"5":0,"6":0},"b":{"0":[26,0],"1":[24,24],"2":[4,6],"3":[1,4],"4":[4,6],"5":[1,4],"6":[4,0]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"103b1d331c9683978308fead2b0922c8f41f976c"}
|
|
4
|
-
,"/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/dom.ts": {"path":"/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/dom.ts","statementMap":{"0":{"start":{"line":4,"column":23},"end":{"line":13,"column":1}},"1":{"start":{"line":5,"column":2},"end":{"line":12,"column":9}},"2":{"start":{"line":15,"column":27},"end":{"line":26,"column":1}},"3":{"start":{"line":16,"column":2},"end":{"line":25,"column":9}},"4":{"start":{"line":28,"column":25},"end":{"line":31,"column":1}},"5":{"start":{"line":29,"column":2},"end":{"line":29,"column":15}},"6":{"start":{"line":30,"column":2},"end":{"line":30,"column":37}},"7":{"start":{"line":33,"column":24},"end":{"line":36,"column":1}},"8":{"start":{"line":34,"column":2},"end":{"line":34,"column":15}},"9":{"start":{"line":35,"column":2},"end":{"line":35,"column":38}},"10":{"start":{"line":38,"column":27},"end":{"line":43,"column":1}},"11":{"start":{"line":39,"column":20},"end":{"line":39,"column":64}},"12":{"start":{"line":41,"column":2},"end":{"line":41,"column":49}},"13":{"start":{"line":41,"column":43},"end":{"line":41,"column":49}},"14":{"start":{"line":42,"column":2},"end":{"line":42,"column":49}},"15":{"start":{"line":45,"column":26},"end":{"line":59,"column":1}},"16":{"start":{"line":46,"column":20},"end":{"line":46,"column":49}},"17":{"start":{"line":48,"column":2},"end":{"line":50,"column":44}},"18":{"start":{"line":52,"column":24},"end":{"line":52,"column":59}},"19":{"start":{"line":53,"column":23},"end":{"line":53,"column":57}},"20":{"start":{"line":55,"column":2},"end":{"line":55,"column":60}},"21":{"start":{"line":56,"column":2},"end":{"line":56,"column":58}},"22":{"start":{"line":58,"column":2},"end":{"line":58,"column":38}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":4,"column":23},"end":{"line":4,"column":24}},"loc":{"start":{"line":4,"column":29},"end":{"line":13,"column":1}},"line":4},"1":{"name":"(anonymous_1)","decl":{"start":{"line":15,"column":27},"end":{"line":15,"column":28}},"loc":{"start":{"line":15,"column":33},"end":{"line":26,"column":1}},"line":15},"2":{"name":"(anonymous_2)","decl":{"start":{"line":28,"column":25},"end":{"line":28,"column":26}},"loc":{"start":{"line":28,"column":41},"end":{"line":31,"column":1}},"line":28},"3":{"name":"(anonymous_3)","decl":{"start":{"line":33,"column":24},"end":{"line":33,"column":25}},"loc":{"start":{"line":33,"column":30},"end":{"line":36,"column":1}},"line":33},"4":{"name":"(anonymous_4)","decl":{"start":{"line":38,"column":27},"end":{"line":38,"column":28}},"loc":{"start":{"line":38,"column":33},"end":{"line":43,"column":1}},"line":38},"5":{"name":"(anonymous_5)","decl":{"start":{"line":45,"column":26},"end":{"line":45,"column":27}},"loc":{"start":{"line":45,"column":32},"end":{"line":59,"column":1}},"line":45}},"branchMap":{"0":{"loc":{"start":{"line":41,"column":2},"end":{"line":41,"column":49}},"type":"if","locations":[{"start":{"line":41,"column":2},"end":{"line":41,"column":49}},{"start":{},"end":{}}],"line":41},"1":{"loc":{"start":{"line":41,"column":6},"end":{"line":41,"column":41}},"type":"binary-expr","locations":[{"start":{"line":41,"column":6},"end":{"line":41,"column":16}},{"start":{"line":41,"column":20},"end":{"line":41,"column":41}}],"line":41},"2":{"loc":{"start":{"line":48,"column":2},"end":{"line":50,"column":44}},"type":"cond-expr","locations":[{"start":{"line":49,"column":6},"end":{"line":49,"column":48}},{"start":{"line":50,"column":6},"end":{"line":50,"column":44}}],"line":48}},"s":{"0":1,"1":2,"2":1,"3":1,"4":1,"5":0,"6":0,"7":1,"8":0,"9":0,"10":1,"11":1,"12":1,"13":0,"14":1,"15":1,"16":3,"17":3,"18":3,"19":3,"20":3,"21":3,"22":3},"f":{"0":2,"1":1,"2":0,"3":0,"4":1,"5":3},"b":{"0":[0,1],"1":[1,1],"2":[1,2]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"b4fd3963d5f04e4a8c6d9d86bb8ad343cbbeb22a"}
|
|
5
|
-
,"/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/shares.ts": {"path":"/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/shares.ts","statementMap":{"0":{"start":{"line":6,"column":35},"end":{"line":6,"column":37}},"1":{"start":{"line":7,"column":34},"end":{"line":7,"column":36}},"2":{"start":{"line":9,"column":27},"end":{"line":14,"column":1}},"3":{"start":{"line":10,"column":2},"end":{"line":12,"column":3}},"4":{"start":{"line":11,"column":4},"end":{"line":11,"column":38}},"5":{"start":{"line":13,"column":2},"end":{"line":13,"column":15}},"6":{"start":{"line":15,"column":24},"end":{"line":20,"column":1}},"7":{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},"8":{"start":{"line":17,"column":4},"end":{"line":17,"column":34}},"9":{"start":{"line":19,"column":2},"end":{"line":19,"column":12}},"10":{"start":{"line":21,"column":32},"end":{"line":23,"column":1}},"11":{"start":{"line":22,"column":2},"end":{"line":22,"column":21}},"12":{"start":{"line":24,"column":31},"end":{"line":26,"column":1}},"13":{"start":{"line":25,"column":2},"end":{"line":25,"column":20}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":9,"column":27},"end":{"line":9,"column":28}},"loc":{"start":{"line":9,"column":43},"end":{"line":14,"column":1}},"line":9},"1":{"name":"(anonymous_1)","decl":{"start":{"line":15,"column":24},"end":{"line":15,"column":25}},"loc":{"start":{"line":15,"column":39},"end":{"line":20,"column":1}},"line":15},"2":{"name":"(anonymous_2)","decl":{"start":{"line":21,"column":32},"end":{"line":21,"column":33}},"loc":{"start":{"line":21,"column":49},"end":{"line":23,"column":1}},"line":21},"3":{"name":"(anonymous_3)","decl":{"start":{"line":24,"column":31},"end":{"line":24,"column":32}},"loc":{"start":{"line":24,"column":48},"end":{"line":26,"column":1}},"line":24}},"branchMap":{"0":{"loc":{"start":{"line":10,"column":2},"end":{"line":12,"column":3}},"type":"if","locations":[{"start":{"line":10,"column":2},"end":{"line":12,"column":3}},{"start":{},"end":{}}],"line":10},"1":{"loc":{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},"type":"if","locations":[{"start":{"line":16,"column":2},"end":{"line":18,"column":3}},{"start":{},"end":{}}],"line":16}},"s":{"0":1,"1":1,"2":1,"3":2,"4":1,"5":1,"6":1,"7":2,"8":1,"9":1,"10":1,"11":1,"12":1,"13":1},"f":{"0":2,"1":2,"2":1,"3":1},"b":{"0":[1,1],"1":[1,1]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"722208490c4d27824eb77af113094c3d59fbaa35"}
|
|
6
|
-
,"/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/types.ts": {"path":"/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/types.ts","statementMap":{"0":{"start":{"line":1,"column":16},"end":{"line":66,"column":10}}},"fnMap":{},"branchMap":{},"s":{"0":1},"f":{},"b":{},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"bedc11e1d679f930ac07fc37a89cc133cffb4162"}
|
|
7
|
-
,"/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/utils.ts": {"path":"/Users/tangchenminng/Desktop/ddmarketing/code/common-components-old/common-authorization-v2/src/utils.ts","statementMap":{"0":{"start":{"line":6,"column":24},"end":{"line":9,"column":1}},"1":{"start":{"line":7,"column":13},"end":{"line":7,"column":32}},"2":{"start":{"line":8,"column":2},"end":{"line":8,"column":83}},"3":{"start":{"line":11,"column":27},"end":{"line":20,"column":1}},"4":{"start":{"line":12,"column":2},"end":{"line":19,"column":4}},"5":{"start":{"line":13,"column":18},"end":{"line":13,"column":34}},"6":{"start":{"line":14,"column":4},"end":{"line":14,"column":57}},"7":{"start":{"line":14,"column":16},"end":{"line":14,"column":57}},"8":{"start":{"line":15,"column":19},"end":{"line":15,"column":35}},"9":{"start":{"line":16,"column":4},"end":{"line":16,"column":68}},"10":{"start":{"line":16,"column":27},"end":{"line":16,"column":68}},"11":{"start":{"line":18,"column":4},"end":{"line":18,"column":71}}},"fnMap":{"0":{"name":"(anonymous_0)","decl":{"start":{"line":6,"column":24},"end":{"line":6,"column":25}},"loc":{"start":{"line":6,"column":38},"end":{"line":9,"column":1}},"line":6},"1":{"name":"(anonymous_1)","decl":{"start":{"line":11,"column":27},"end":{"line":11,"column":28}},"loc":{"start":{"line":11,"column":52},"end":{"line":20,"column":1}},"line":11},"2":{"name":"(anonymous_2)","decl":{"start":{"line":12,"column":21},"end":{"line":12,"column":22}},"loc":{"start":{"line":12,"column":42},"end":{"line":19,"column":3}},"line":12}},"branchMap":{"0":{"loc":{"start":{"line":14,"column":4},"end":{"line":14,"column":57}},"type":"if","locations":[{"start":{"line":14,"column":4},"end":{"line":14,"column":57}},{"start":{},"end":{}}],"line":14},"1":{"loc":{"start":{"line":16,"column":4},"end":{"line":16,"column":68}},"type":"if","locations":[{"start":{"line":16,"column":4},"end":{"line":16,"column":68}},{"start":{},"end":{}}],"line":16}},"s":{"0":3,"1":4,"2":4,"3":3,"4":2,"5":2,"6":2,"7":0,"8":2,"9":2,"10":0,"11":2},"f":{"0":4,"1":2,"2":2},"b":{"0":[0,2],"1":[0,2]},"_coverageSchema":"1a1c01bbd47fc00a2c39e90264f33305004495a9","hash":"2bd2a504b9acc869a0f1daca8be642e7b98cdc65"}
|
|
8
|
-
}
|
|
@@ -1,224 +0,0 @@
|
|
|
1
|
-
body, html {
|
|
2
|
-
margin:0; padding: 0;
|
|
3
|
-
height: 100%;
|
|
4
|
-
}
|
|
5
|
-
body {
|
|
6
|
-
font-family: Helvetica Neue, Helvetica, Arial;
|
|
7
|
-
font-size: 14px;
|
|
8
|
-
color:#333;
|
|
9
|
-
}
|
|
10
|
-
.small { font-size: 12px; }
|
|
11
|
-
*, *:after, *:before {
|
|
12
|
-
-webkit-box-sizing:border-box;
|
|
13
|
-
-moz-box-sizing:border-box;
|
|
14
|
-
box-sizing:border-box;
|
|
15
|
-
}
|
|
16
|
-
h1 { font-size: 20px; margin: 0;}
|
|
17
|
-
h2 { font-size: 14px; }
|
|
18
|
-
pre {
|
|
19
|
-
font: 12px/1.4 Consolas, "Liberation Mono", Menlo, Courier, monospace;
|
|
20
|
-
margin: 0;
|
|
21
|
-
padding: 0;
|
|
22
|
-
-moz-tab-size: 2;
|
|
23
|
-
-o-tab-size: 2;
|
|
24
|
-
tab-size: 2;
|
|
25
|
-
}
|
|
26
|
-
a { color:#0074D9; text-decoration:none; }
|
|
27
|
-
a:hover { text-decoration:underline; }
|
|
28
|
-
.strong { font-weight: bold; }
|
|
29
|
-
.space-top1 { padding: 10px 0 0 0; }
|
|
30
|
-
.pad2y { padding: 20px 0; }
|
|
31
|
-
.pad1y { padding: 10px 0; }
|
|
32
|
-
.pad2x { padding: 0 20px; }
|
|
33
|
-
.pad2 { padding: 20px; }
|
|
34
|
-
.pad1 { padding: 10px; }
|
|
35
|
-
.space-left2 { padding-left:55px; }
|
|
36
|
-
.space-right2 { padding-right:20px; }
|
|
37
|
-
.center { text-align:center; }
|
|
38
|
-
.clearfix { display:block; }
|
|
39
|
-
.clearfix:after {
|
|
40
|
-
content:'';
|
|
41
|
-
display:block;
|
|
42
|
-
height:0;
|
|
43
|
-
clear:both;
|
|
44
|
-
visibility:hidden;
|
|
45
|
-
}
|
|
46
|
-
.fl { float: left; }
|
|
47
|
-
@media only screen and (max-width:640px) {
|
|
48
|
-
.col3 { width:100%; max-width:100%; }
|
|
49
|
-
.hide-mobile { display:none!important; }
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.quiet {
|
|
53
|
-
color: #7f7f7f;
|
|
54
|
-
color: rgba(0,0,0,0.5);
|
|
55
|
-
}
|
|
56
|
-
.quiet a { opacity: 0.7; }
|
|
57
|
-
|
|
58
|
-
.fraction {
|
|
59
|
-
font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace;
|
|
60
|
-
font-size: 10px;
|
|
61
|
-
color: #555;
|
|
62
|
-
background: #E8E8E8;
|
|
63
|
-
padding: 4px 5px;
|
|
64
|
-
border-radius: 3px;
|
|
65
|
-
vertical-align: middle;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
div.path a:link, div.path a:visited { color: #333; }
|
|
69
|
-
table.coverage {
|
|
70
|
-
border-collapse: collapse;
|
|
71
|
-
margin: 10px 0 0 0;
|
|
72
|
-
padding: 0;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
table.coverage td {
|
|
76
|
-
margin: 0;
|
|
77
|
-
padding: 0;
|
|
78
|
-
vertical-align: top;
|
|
79
|
-
}
|
|
80
|
-
table.coverage td.line-count {
|
|
81
|
-
text-align: right;
|
|
82
|
-
padding: 0 5px 0 20px;
|
|
83
|
-
}
|
|
84
|
-
table.coverage td.line-coverage {
|
|
85
|
-
text-align: right;
|
|
86
|
-
padding-right: 10px;
|
|
87
|
-
min-width:20px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
table.coverage td span.cline-any {
|
|
91
|
-
display: inline-block;
|
|
92
|
-
padding: 0 5px;
|
|
93
|
-
width: 100%;
|
|
94
|
-
}
|
|
95
|
-
.missing-if-branch {
|
|
96
|
-
display: inline-block;
|
|
97
|
-
margin-right: 5px;
|
|
98
|
-
border-radius: 3px;
|
|
99
|
-
position: relative;
|
|
100
|
-
padding: 0 4px;
|
|
101
|
-
background: #333;
|
|
102
|
-
color: yellow;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.skip-if-branch {
|
|
106
|
-
display: none;
|
|
107
|
-
margin-right: 10px;
|
|
108
|
-
position: relative;
|
|
109
|
-
padding: 0 4px;
|
|
110
|
-
background: #ccc;
|
|
111
|
-
color: white;
|
|
112
|
-
}
|
|
113
|
-
.missing-if-branch .typ, .skip-if-branch .typ {
|
|
114
|
-
color: inherit !important;
|
|
115
|
-
}
|
|
116
|
-
.coverage-summary {
|
|
117
|
-
border-collapse: collapse;
|
|
118
|
-
width: 100%;
|
|
119
|
-
}
|
|
120
|
-
.coverage-summary tr { border-bottom: 1px solid #bbb; }
|
|
121
|
-
.keyline-all { border: 1px solid #ddd; }
|
|
122
|
-
.coverage-summary td, .coverage-summary th { padding: 10px; }
|
|
123
|
-
.coverage-summary tbody { border: 1px solid #bbb; }
|
|
124
|
-
.coverage-summary td { border-right: 1px solid #bbb; }
|
|
125
|
-
.coverage-summary td:last-child { border-right: none; }
|
|
126
|
-
.coverage-summary th {
|
|
127
|
-
text-align: left;
|
|
128
|
-
font-weight: normal;
|
|
129
|
-
white-space: nowrap;
|
|
130
|
-
}
|
|
131
|
-
.coverage-summary th.file { border-right: none !important; }
|
|
132
|
-
.coverage-summary th.pct { }
|
|
133
|
-
.coverage-summary th.pic,
|
|
134
|
-
.coverage-summary th.abs,
|
|
135
|
-
.coverage-summary td.pct,
|
|
136
|
-
.coverage-summary td.abs { text-align: right; }
|
|
137
|
-
.coverage-summary td.file { white-space: nowrap; }
|
|
138
|
-
.coverage-summary td.pic { min-width: 120px !important; }
|
|
139
|
-
.coverage-summary tfoot td { }
|
|
140
|
-
|
|
141
|
-
.coverage-summary .sorter {
|
|
142
|
-
height: 10px;
|
|
143
|
-
width: 7px;
|
|
144
|
-
display: inline-block;
|
|
145
|
-
margin-left: 0.5em;
|
|
146
|
-
background: url(sort-arrow-sprite.png) no-repeat scroll 0 0 transparent;
|
|
147
|
-
}
|
|
148
|
-
.coverage-summary .sorted .sorter {
|
|
149
|
-
background-position: 0 -20px;
|
|
150
|
-
}
|
|
151
|
-
.coverage-summary .sorted-desc .sorter {
|
|
152
|
-
background-position: 0 -10px;
|
|
153
|
-
}
|
|
154
|
-
.status-line { height: 10px; }
|
|
155
|
-
/* yellow */
|
|
156
|
-
.cbranch-no { background: yellow !important; color: #111; }
|
|
157
|
-
/* dark red */
|
|
158
|
-
.red.solid, .status-line.low, .low .cover-fill { background:#C21F39 }
|
|
159
|
-
.low .chart { border:1px solid #C21F39 }
|
|
160
|
-
.highlighted,
|
|
161
|
-
.highlighted .cstat-no, .highlighted .fstat-no, .highlighted .cbranch-no{
|
|
162
|
-
background: #C21F39 !important;
|
|
163
|
-
}
|
|
164
|
-
/* medium red */
|
|
165
|
-
.cstat-no, .fstat-no, .cbranch-no, .cbranch-no { background:#F6C6CE }
|
|
166
|
-
/* light red */
|
|
167
|
-
.low, .cline-no { background:#FCE1E5 }
|
|
168
|
-
/* light green */
|
|
169
|
-
.high, .cline-yes { background:rgb(230,245,208) }
|
|
170
|
-
/* medium green */
|
|
171
|
-
.cstat-yes { background:rgb(161,215,106) }
|
|
172
|
-
/* dark green */
|
|
173
|
-
.status-line.high, .high .cover-fill { background:rgb(77,146,33) }
|
|
174
|
-
.high .chart { border:1px solid rgb(77,146,33) }
|
|
175
|
-
/* dark yellow (gold) */
|
|
176
|
-
.status-line.medium, .medium .cover-fill { background: #f9cd0b; }
|
|
177
|
-
.medium .chart { border:1px solid #f9cd0b; }
|
|
178
|
-
/* light yellow */
|
|
179
|
-
.medium { background: #fff4c2; }
|
|
180
|
-
|
|
181
|
-
.cstat-skip { background: #ddd; color: #111; }
|
|
182
|
-
.fstat-skip { background: #ddd; color: #111 !important; }
|
|
183
|
-
.cbranch-skip { background: #ddd !important; color: #111; }
|
|
184
|
-
|
|
185
|
-
span.cline-neutral { background: #eaeaea; }
|
|
186
|
-
|
|
187
|
-
.coverage-summary td.empty {
|
|
188
|
-
opacity: .5;
|
|
189
|
-
padding-top: 4px;
|
|
190
|
-
padding-bottom: 4px;
|
|
191
|
-
line-height: 1;
|
|
192
|
-
color: #888;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
.cover-fill, .cover-empty {
|
|
196
|
-
display:inline-block;
|
|
197
|
-
height: 12px;
|
|
198
|
-
}
|
|
199
|
-
.chart {
|
|
200
|
-
line-height: 0;
|
|
201
|
-
}
|
|
202
|
-
.cover-empty {
|
|
203
|
-
background: white;
|
|
204
|
-
}
|
|
205
|
-
.cover-full {
|
|
206
|
-
border-right: none !important;
|
|
207
|
-
}
|
|
208
|
-
pre.prettyprint {
|
|
209
|
-
border: none !important;
|
|
210
|
-
padding: 0 !important;
|
|
211
|
-
margin: 0 !important;
|
|
212
|
-
}
|
|
213
|
-
.com { color: #999 !important; }
|
|
214
|
-
.ignore-none { color: #999; font-weight: normal; }
|
|
215
|
-
|
|
216
|
-
.wrapper {
|
|
217
|
-
min-height: 100%;
|
|
218
|
-
height: auto !important;
|
|
219
|
-
height: 100%;
|
|
220
|
-
margin: 0 auto -48px;
|
|
221
|
-
}
|
|
222
|
-
.footer, .push {
|
|
223
|
-
height: 48px;
|
|
224
|
-
}
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
var jumpToCode = (function init() {
|
|
3
|
-
// Classes of code we would like to highlight in the file view
|
|
4
|
-
var missingCoverageClasses = ['.cbranch-no', '.cstat-no', '.fstat-no'];
|
|
5
|
-
|
|
6
|
-
// Elements to highlight in the file listing view
|
|
7
|
-
var fileListingElements = ['td.pct.low'];
|
|
8
|
-
|
|
9
|
-
// We don't want to select elements that are direct descendants of another match
|
|
10
|
-
var notSelector = ':not(' + missingCoverageClasses.join('):not(') + ') > '; // becomes `:not(a):not(b) > `
|
|
11
|
-
|
|
12
|
-
// Selector that finds elements on the page to which we can jump
|
|
13
|
-
var selector =
|
|
14
|
-
fileListingElements.join(', ') +
|
|
15
|
-
', ' +
|
|
16
|
-
notSelector +
|
|
17
|
-
missingCoverageClasses.join(', ' + notSelector); // becomes `:not(a):not(b) > a, :not(a):not(b) > b`
|
|
18
|
-
|
|
19
|
-
// The NodeList of matching elements
|
|
20
|
-
var missingCoverageElements = document.querySelectorAll(selector);
|
|
21
|
-
|
|
22
|
-
var currentIndex;
|
|
23
|
-
|
|
24
|
-
function toggleClass(index) {
|
|
25
|
-
missingCoverageElements
|
|
26
|
-
.item(currentIndex)
|
|
27
|
-
.classList.remove('highlighted');
|
|
28
|
-
missingCoverageElements.item(index).classList.add('highlighted');
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
function makeCurrent(index) {
|
|
32
|
-
toggleClass(index);
|
|
33
|
-
currentIndex = index;
|
|
34
|
-
missingCoverageElements.item(index).scrollIntoView({
|
|
35
|
-
behavior: 'smooth',
|
|
36
|
-
block: 'center',
|
|
37
|
-
inline: 'center'
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
function goToPrevious() {
|
|
42
|
-
var nextIndex = 0;
|
|
43
|
-
if (typeof currentIndex !== 'number' || currentIndex === 0) {
|
|
44
|
-
nextIndex = missingCoverageElements.length - 1;
|
|
45
|
-
} else if (missingCoverageElements.length > 1) {
|
|
46
|
-
nextIndex = currentIndex - 1;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
makeCurrent(nextIndex);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
function goToNext() {
|
|
53
|
-
var nextIndex = 0;
|
|
54
|
-
|
|
55
|
-
if (
|
|
56
|
-
typeof currentIndex === 'number' &&
|
|
57
|
-
currentIndex < missingCoverageElements.length - 1
|
|
58
|
-
) {
|
|
59
|
-
nextIndex = currentIndex + 1;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
makeCurrent(nextIndex);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
return function jump(event) {
|
|
66
|
-
if (
|
|
67
|
-
document.getElementById('fileSearch') === document.activeElement &&
|
|
68
|
-
document.activeElement != null
|
|
69
|
-
) {
|
|
70
|
-
// if we're currently focused on the search input, we don't want to navigate
|
|
71
|
-
return;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
switch (event.which) {
|
|
75
|
-
case 78: // n
|
|
76
|
-
case 74: // j
|
|
77
|
-
goToNext();
|
|
78
|
-
break;
|
|
79
|
-
case 66: // b
|
|
80
|
-
case 75: // k
|
|
81
|
-
case 80: // p
|
|
82
|
-
goToPrevious();
|
|
83
|
-
break;
|
|
84
|
-
}
|
|
85
|
-
};
|
|
86
|
-
})();
|
|
87
|
-
window.addEventListener('keydown', jumpToCode);
|