jssm 5.86.3 → 5.88.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/CHANGELOG.md +45 -59
- package/README.md +2 -2
- package/dist/es6/jssm.js +2 -0
- package/dist/es6/jssm_types.d.ts +2 -0
- package/dist/es6/version.js +1 -1
- package/dist/jssm.es5.cjs.js +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/jssm_types.d.ts +2 -0
- package/package.json +4 -2
- package/rollup.config.deno.js +1 -1
- package/typedoc-options.js +0 -10
package/jssm_types.d.ts
CHANGED
|
@@ -346,10 +346,12 @@ declare type HookComplexResult<mDT> = {
|
|
|
346
346
|
pass: boolean;
|
|
347
347
|
state?: StateType;
|
|
348
348
|
data?: mDT;
|
|
349
|
+
next_data?: mDT;
|
|
349
350
|
};
|
|
350
351
|
declare type HookResult<mDT> = true | false | undefined | void | HookComplexResult<mDT>; /** Documents whether a hook succeeded, either with a primitive or a reference to the hook complex object */
|
|
351
352
|
declare type HookContext<mDT> = {
|
|
352
353
|
data: mDT;
|
|
354
|
+
next_data: mDT;
|
|
353
355
|
};
|
|
354
356
|
declare type HookHandler<mDT> = (hook_context: HookContext<mDT>) => HookResult<mDT>;
|
|
355
357
|
declare type PostHookHandler<mDT> = (hook_context: HookContext<mDT>) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jssm",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.88.0",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=10.0.0"
|
|
6
6
|
},
|
|
@@ -43,9 +43,10 @@
|
|
|
43
43
|
"peg": "rm -f src/ts/fsl_parser.js && pegjs src/ts/fsl_parser.peg && node src/buildjs/fixparser.js",
|
|
44
44
|
"make_cjs": "rollup -c",
|
|
45
45
|
"make_iife": "rollup -c rollup.config.iife.js",
|
|
46
|
+
"make_deno": "rollup -c rollup.config.deno.js",
|
|
46
47
|
"typescript": "tsc --build tsconfig.json && cp dist/es6/*.d.ts .",
|
|
47
48
|
"makever": "node src/buildjs/makever.js",
|
|
48
|
-
"make": "npm run clean && npm run makever && npm run peg && npm run typescript && npm run make_iife && npm run make_cjs && npm run minify && npm run min_iife && npm run min_cjs && rm ./dist/es6/*.nonmin.js",
|
|
49
|
+
"make": "npm run clean && npm run makever && npm run peg && npm run typescript && npm run make_iife && npm run make_deno && npm run make_cjs && npm run minify && npm run min_iife && npm run min_cjs && npm run min_deno && rm ./dist/es6/*.nonmin.js",
|
|
49
50
|
"eslint": "eslint --color src/ts/jssm.ts src/ts/jssm_types.ts src/ts/tests/*.ts",
|
|
50
51
|
"audit": "text_audit -r -t major MAJOR wasteful WASTEFUL any mixed fixme FIXME checkme CHECKME testme TESTME stochable STOCHABLE todo TODO comeback COMEBACK whargarbl WHARGARBL -g ./src/ts/**/*.{js,ts}",
|
|
51
52
|
"vet": "npm run eslint && npm run audit",
|
|
@@ -57,6 +58,7 @@
|
|
|
57
58
|
"minify": "mv dist/es6/fsl_parser.js dist/es6/fsl_parser.nonmin.js && terser dist/es6/fsl_parser.nonmin.js > dist/es6/fsl_parser.js",
|
|
58
59
|
"min_iife": "mv dist/jssm.es5.iife.js dist/jssm.es5.iife.nonmin.js && terser dist/jssm.es5.iife.nonmin.js > dist/jssm.es5.iife.js",
|
|
59
60
|
"min_cjs": "mv dist/jssm.es5.cjs.js dist/jssm.es5.cjs.nonmin.js && terser dist/jssm.es5.cjs.nonmin.js > dist/jssm.es5.cjs.js",
|
|
61
|
+
"min_deno": "terser dist/deno/jssm.deno-esm.nonmin.js > dist/deno/jssm.deno-esm.js",
|
|
60
62
|
"site": "cp src/site/* docs/ && cp -r src/assets docs/assets/",
|
|
61
63
|
"docs": "typedoc src/ts/jssm.ts src/ts/jssm_types.ts src/ts/jssm_constants.ts src/ts/jssm_error.ts src/ts/jssm_util.ts src/ts/version.ts --options typedoc-options.js",
|
|
62
64
|
"cloc": "cloc --quiet ./src/** --exclude-list-file=./.clocignore --3 --json --out=./coverage/cloc/report_wt.json && cloc --quiet ./src/** --exclude-list-file=./.clocignore --exclude-dir=tests --3 --json --out=./coverage/cloc/report_nt.json && node ./src/buildjs/cloc_report.js",
|
package/rollup.config.deno.js
CHANGED
package/typedoc-options.js
CHANGED
|
@@ -61,16 +61,6 @@ module.exports = {
|
|
|
61
61
|
// { title: '@knodes/typedoc-plugin-code-blocks', source: 'readme-extras.md', children: [
|
|
62
62
|
// { title: 'Using options', source: 'options.md' },
|
|
63
63
|
// ] },
|
|
64
|
-
// { title: '@knodes/typedoc-plugin-monorepo-readmes', children: [
|
|
65
|
-
// { title: 'Using options', source: 'options.md' },
|
|
66
|
-
// ] },
|
|
67
|
-
// { title: '@knodes/typedoc-plugin-pages', source: 'readme-extras.md', children: [
|
|
68
|
-
// { title: 'Using options', source: 'options.md' },
|
|
69
|
-
// { title: 'Pages tree', source: 'pages-tree.md' },
|
|
70
|
-
// ] },
|
|
71
|
-
// { title: '@knodes/typedoc-pluginutils', children: [
|
|
72
|
-
// { title: 'Providing options', source: 'providing-options.md' },
|
|
73
|
-
// ] },
|
|
74
64
|
]
|
|
75
65
|
},
|
|
76
66
|
// pluginCodeBlocks: { source: '__tests__/mock-fs' },
|