@qubit-ltd/logging 1.4.4

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 (54) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +224 -0
  3. package/README.zh_CN.md +200 -0
  4. package/dist/logging.cjs +1338 -0
  5. package/dist/logging.cjs.map +1 -0
  6. package/dist/logging.iife.js +1342 -0
  7. package/dist/logging.iife.js.map +1 -0
  8. package/dist/logging.min.cjs +1 -0
  9. package/dist/logging.min.cjs.map +1 -0
  10. package/dist/logging.min.iife.js +1 -0
  11. package/dist/logging.min.iife.js.map +1 -0
  12. package/dist/logging.min.mjs +1 -0
  13. package/dist/logging.min.mjs.map +1 -0
  14. package/dist/logging.mjs +1330 -0
  15. package/dist/logging.mjs.map +1 -0
  16. package/doc/api/Logger.html +3352 -0
  17. package/doc/api/fonts/OpenSans-Bold-webfont.eot +0 -0
  18. package/doc/api/fonts/OpenSans-Bold-webfont.svg +1838 -0
  19. package/doc/api/fonts/OpenSans-Bold-webfont.woff +0 -0
  20. package/doc/api/fonts/OpenSans-BoldItalic-webfont.eot +0 -0
  21. package/doc/api/fonts/OpenSans-BoldItalic-webfont.svg +1838 -0
  22. package/doc/api/fonts/OpenSans-BoldItalic-webfont.woff +0 -0
  23. package/doc/api/fonts/OpenSans-Italic-webfont.eot +0 -0
  24. package/doc/api/fonts/OpenSans-Italic-webfont.svg +1838 -0
  25. package/doc/api/fonts/OpenSans-Italic-webfont.woff +0 -0
  26. package/doc/api/fonts/OpenSans-Light-webfont.eot +0 -0
  27. package/doc/api/fonts/OpenSans-Light-webfont.svg +1839 -0
  28. package/doc/api/fonts/OpenSans-Light-webfont.woff +0 -0
  29. package/doc/api/fonts/OpenSans-LightItalic-webfont.eot +0 -0
  30. package/doc/api/fonts/OpenSans-LightItalic-webfont.svg +1843 -0
  31. package/doc/api/fonts/OpenSans-LightItalic-webfont.woff +0 -0
  32. package/doc/api/fonts/OpenSans-Regular-webfont.eot +0 -0
  33. package/doc/api/fonts/OpenSans-Regular-webfont.svg +1839 -0
  34. package/doc/api/fonts/OpenSans-Regular-webfont.woff +0 -0
  35. package/doc/api/fonts/OpenSans-Semibold-webfont.eot +0 -0
  36. package/doc/api/fonts/OpenSans-Semibold-webfont.svg +1838 -0
  37. package/doc/api/fonts/OpenSans-Semibold-webfont.ttf +0 -0
  38. package/doc/api/fonts/OpenSans-Semibold-webfont.woff +0 -0
  39. package/doc/api/fonts/OpenSans-SemiboldItalic-webfont.eot +0 -0
  40. package/doc/api/fonts/OpenSans-SemiboldItalic-webfont.svg +1838 -0
  41. package/doc/api/fonts/OpenSans-SemiboldItalic-webfont.ttf +0 -0
  42. package/doc/api/fonts/OpenSans-SemiboldItalic-webfont.woff +0 -0
  43. package/doc/api/global.html +787 -0
  44. package/doc/api/index.html +257 -0
  45. package/doc/api/scripts/linenumber.js +34 -0
  46. package/doc/api/scripts/prettify/Apache-License-2.0.txt +202 -0
  47. package/doc/api/scripts/prettify/lang-css.js +2 -0
  48. package/doc/api/scripts/prettify/prettify.js +28 -0
  49. package/doc/api/styles/jsdoc-default.css +699 -0
  50. package/doc/api/styles/prettify-jsdoc.css +120 -0
  51. package/doc/api/styles/prettify-tomorrow.css +141 -0
  52. package/doc/logging.min.visualization.html +4949 -0
  53. package/doc/logging.visualization.html +4949 -0
  54. package/package.json +103 -0
package/package.json ADDED
@@ -0,0 +1,103 @@
1
+ {
2
+ "name": "@qubit-ltd/logging",
3
+ "version": "1.4.4",
4
+ "description": "A simple JavaScript logging framework",
5
+ "author": "Haixing Hu",
6
+ "license": "Apache-2.0",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/Haixing-Hu/js-logging.git"
10
+ },
11
+ "bugs": {
12
+ "url": "https://github.com/Haixing-Hu/js-logging/issues"
13
+ },
14
+ "homepage": "https://github.com/Haixing-Hu/js-logging",
15
+ "keywords": [
16
+ "javascript",
17
+ "logging",
18
+ "logger",
19
+ "decorator"
20
+ ],
21
+ "main": "dist/logging.min.cjs",
22
+ "module": "dist/logging.min.mjs",
23
+ "browser": "dist/logging.min.iife.js",
24
+ "exports": {
25
+ ".": {
26
+ "require": "./dist/logging.min.cjs",
27
+ "import": "./dist/logging.min.mjs",
28
+ "browser": "./dist/logging.min.iife.js"
29
+ }
30
+ },
31
+ "files": [
32
+ "dist/**/*",
33
+ "doc/**/*",
34
+ "LICENSE",
35
+ "README.md",
36
+ "README.zh_CN.md"
37
+ ],
38
+ "scripts": {
39
+ "clean": "rm -rvf dist doc",
40
+ "build": "cross-env NODE_ENV=production rollup -c rollup.config.mjs",
41
+ "build:dev": "cross-env NODE_ENV=development rollup -c rollup.config.mjs",
42
+ "build:all": "npm run clean && npm run build:dev && npm run build && npm run doc",
43
+ "test": "jest",
44
+ "lint": "eslint ./src ./test",
45
+ "doc": "jsdoc -c jsdoc.json",
46
+ "es5": "check-es-version -e 5 -s true",
47
+ "deploy": "npm run lint && npm run test && npm run build:all && npm publish --registry='https://registry.npmjs.com/' --access public"
48
+ },
49
+ "browserify": {
50
+ "transform": [
51
+ "babelify"
52
+ ]
53
+ },
54
+ "dependencies": {
55
+ "@babel/runtime": "^7.26.0"
56
+ },
57
+ "devDependencies": {
58
+ "@babel/core": "^7.26.0",
59
+ "@babel/eslint-parser": "^7.25.9",
60
+ "@babel/plugin-proposal-decorators": "^7.25.9",
61
+ "@babel/plugin-transform-class-properties": "^7.25.9",
62
+ "@babel/plugin-transform-runtime": "^7.25.9",
63
+ "@babel/preset-env": "^7.26.0",
64
+ "@babel/runtime": "^7.26.0",
65
+ "@haixing_hu/clone": "^1.12.0",
66
+ "@haixing_hu/naming-style": "^1.3.1",
67
+ "@haixing_hu/type-detect": "^1.2.0",
68
+ "@haixing_hu/typeinfo": "^3.1.0",
69
+ "@haixing_hu/vue3-class-component": "^2.3.0",
70
+ "@jest/core": "^29.7.0",
71
+ "@qubit-ltd/eslint-config": "^1.3.3",
72
+ "@qubit-ltd/jsdoc-minami": "^1.5.1",
73
+ "@qubit-ltd/rollup-builder": "^1.8.3",
74
+ "@rollup/plugin-alias": "^5.1.1",
75
+ "@rollup/plugin-babel": "^6.0.4",
76
+ "@rollup/plugin-commonjs": "^25.0.8",
77
+ "@rollup/plugin-json": "^6.1.0",
78
+ "@rollup/plugin-node-resolve": "^15.3.0",
79
+ "@rollup/plugin-terser": "^0.4.4",
80
+ "@vue/compiler-dom": "^3.5.13",
81
+ "@vue/compiler-sfc": "^3.5.13",
82
+ "@vue/server-renderer": "^3.5.13",
83
+ "@vue/test-utils": "^2.4.6",
84
+ "@vue/vue3-jest": "^29.2.6",
85
+ "babel-jest": "^29.7.0",
86
+ "check-es-version": "^1.5.0",
87
+ "core-js": "^3.39.0",
88
+ "cross-env": "^7.0.3",
89
+ "eslint": "^8.57.1",
90
+ "eslint-plugin-import": "^2.31.0",
91
+ "eslint-plugin-vue": "^9.32.0",
92
+ "jest": "^29.7.0",
93
+ "jest-environment-jsdom": "^29.7.0",
94
+ "jest-environment-jsdom-global": "^4.0.0",
95
+ "jest-extended": "^4.0.2",
96
+ "jsdoc": "^4.0.4",
97
+ "rollup": "^4.28.1",
98
+ "rollup-plugin-analyzer": "^4.0.0",
99
+ "rollup-plugin-visualizer": "^5.12.0",
100
+ "vue": "^3.5.13"
101
+ },
102
+ "packageManager": "yarn@4.5.0"
103
+ }