mol_dump_lib 0.0.1
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/.nojekyll +0 -0
- package/README.md +22 -0
- package/node.audit.js +1 -0
- package/node.d.ts +16 -0
- package/node.deps.json +1 -0
- package/node.js +31 -0
- package/node.js.map +1 -0
- package/node.meta.tree +12 -0
- package/node.mjs +32 -0
- package/node.test.js +23 -0
- package/node.test.js.map +1 -0
- package/package.json +23 -0
- package/test.html +11 -0
- package/web.audit.js +1 -0
- package/web.css +1 -0
- package/web.css.map +1 -0
- package/web.d.ts +16 -0
- package/web.deps.json +1 -0
- package/web.js +31 -0
- package/web.js.map +1 -0
- package/web.meta.tree +12 -0
- package/web.mjs +32 -0
- package/web.test.js +3 -0
- package/web.test.js.map +1 -0
package/.nojekyll
ADDED
|
File without changes
|
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# $mol_dump
|
|
2
|
+
|
|
3
|
+
Dumps any JS values.
|
|
4
|
+
|
|
5
|
+
## Dump single value
|
|
6
|
+
|
|
7
|
+
```tree
|
|
8
|
+
<= Dump $mol_dump_value
|
|
9
|
+
value <= data *
|
|
10
|
+
foo 123
|
|
11
|
+
bar 456
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Dump multiple values in a row
|
|
15
|
+
|
|
16
|
+
```tree
|
|
17
|
+
<= Log $mol_dump_list
|
|
18
|
+
values <= log /
|
|
19
|
+
\foo
|
|
20
|
+
123
|
|
21
|
+
456
|
|
22
|
+
```
|
package/node.audit.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
console.info("Audit passed")
|
package/node.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare let _$_: {
|
|
2
|
+
new (): {};
|
|
3
|
+
} & typeof globalThis;
|
|
4
|
+
declare class $ extends _$_ {
|
|
5
|
+
}
|
|
6
|
+
declare namespace $ {
|
|
7
|
+
export type $ = typeof $$;
|
|
8
|
+
export class $$ extends $ {
|
|
9
|
+
}
|
|
10
|
+
namespace $$ {
|
|
11
|
+
type $$ = $;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export = $;
|
package/node.deps.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"files":["mam.ts","LICENSE","README.md","yarn.lock","mam.jam.js","tsfmt.json","package.json","tsconfig.json","lang.lang.tree","meta.lang.tree","sandbox.config.json","mol/CNAME","mol/LICENSE","mol/readme.md","mol/index.html","mol/mol.meta.tree","mol/CONTRIBUTING.md","mol/CODE_OF_CONDUCT.md","mol/dump/readme.md"],"mods":{},"deps_in":{"mol/dump":{"mol/dump/lib":-9007199254740991},"mol":{"mol/dump":-9007199254740991},"":{"mol":-9007199254740991}},"deps_out":{"mol/dump/lib":{"mol/dump":-9007199254740991},"mol/dump":{"mol":-9007199254740991},"mol":{"":-9007199254740991}},"sloc":{"ts":11,"LICENSE":113,"md":482,"lock":935,"js":9,"json":92,"tree":41,"CNAME":1,"html":1},"deps":{"mol/dump/lib":{"..":-9007199254740991},"mol/dump":{"..":-9007199254740991},"mol":{"..":-9007199254740991},"":{}}}
|
package/node.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var exports = void 0;
|
|
3
|
+
|
|
4
|
+
var $node = $node || {}
|
|
5
|
+
void function( module ) { var exports = module.exports = this; function require( id ) { return $node[ id.replace( /^.\// , "../" ) ] };
|
|
6
|
+
;
|
|
7
|
+
"use strict";
|
|
8
|
+
Error.stackTraceLimit = 50;
|
|
9
|
+
var $;
|
|
10
|
+
(function ($) {
|
|
11
|
+
})($ || ($ = {}));
|
|
12
|
+
module.exports = $;
|
|
13
|
+
//mam.ts
|
|
14
|
+
;
|
|
15
|
+
|
|
16
|
+
$node[ "../mam.ts" ] = $node[ "../mam.ts" ] = module.exports }.call( {} , {} )
|
|
17
|
+
;
|
|
18
|
+
"use strict"
|
|
19
|
+
|
|
20
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
21
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
23
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if ((d = decorators[i])) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
24
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
var $ = ( typeof module === 'object' ) ? ( module['export'+'s'] = globalThis ) : globalThis
|
|
28
|
+
$.$$ = $
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=node.js.map
|
package/node.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["-","/home/runner/work/mam_mol/mam_mol/mol/dump/lib/-/../../../../mam.ts","../../../../mam.jam.js"],"names":[],"sourceRoot":"/home/runner/work/mam_mol/mam_mol/mol/dump/lib/-/","mappings":";;AAAA;AACA;AACA;AACA;;ACHA,KAAK,CAAC,eAAe,GAAG,EAAE,CAAC;AAK3B,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;AAMX,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,MAAM,CAAC,OAAO,GAAG,CAAC,CAAA;;;ADblB;AACA;AACA;AEFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourcesContent":[null,"Error.stackTraceLimit = 50;\n\ndeclare let _$_: { new(): {} } & typeof globalThis\ndeclare class $ extends _$_ {}\n\nnamespace $ {\n\texport type $ = typeof $$\n\texport declare class $$ extends $ {}\n\tnamespace $$ {\n\t\texport type $$ = $\n\t}\n}\n\nmodule.exports = $\n",null]}
|
package/node.meta.tree
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
\/
|
|
2
|
+
pack hyoo git \https://github.com/hyoo-ru/mam_hyoo.git
|
|
3
|
+
pack jin git \https://github.com/nin-jin/mam_jin.git
|
|
4
|
+
pack node git \https://github.com/hyoo-ru/mam_node.git
|
|
5
|
+
pack mol git \https://github.com/hyoo-ru/mam_mol.git
|
|
6
|
+
pack lib git \https://github.com/hyoo-ru/mam_lib.git
|
|
7
|
+
pack piterjs git \https://github.com/piterjs/piterjs.git
|
|
8
|
+
pack psb git \https://github.com/MolDevHack/psb.git
|
|
9
|
+
pack mpds git \https://github.com/mpds-io/mam_mpds
|
|
10
|
+
pack bun git \https://github.com/spleekz/mam_bun
|
|
11
|
+
\/mol
|
|
12
|
+
pack icon git \https://github.com/nin-jin/mol_icon.git
|
package/node.mjs
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var exports = void 0;
|
|
3
|
+
|
|
4
|
+
var $node = $node || {}
|
|
5
|
+
void function( module ) { var exports = module.exports = this; function require( id ) { return $node[ id.replace( /^.\// , "../" ) ] };
|
|
6
|
+
;
|
|
7
|
+
"use strict";
|
|
8
|
+
Error.stackTraceLimit = 50;
|
|
9
|
+
var $;
|
|
10
|
+
(function ($) {
|
|
11
|
+
})($ || ($ = {}));
|
|
12
|
+
module.exports = $;
|
|
13
|
+
//mam.ts
|
|
14
|
+
;
|
|
15
|
+
|
|
16
|
+
$node[ "../mam.ts" ] = $node[ "../mam.ts" ] = module.exports }.call( {} , {} )
|
|
17
|
+
;
|
|
18
|
+
"use strict"
|
|
19
|
+
|
|
20
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
21
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
23
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if ((d = decorators[i])) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
24
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
var $ = ( typeof module === 'object' ) ? ( module['export'+'s'] = globalThis ) : globalThis
|
|
28
|
+
$.$$ = $
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export default $
|
|
32
|
+
//# sourceMappingURL=node.js.map
|
package/node.test.js
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use strict";
|
|
3
|
+
Error.stackTraceLimit = 50;
|
|
4
|
+
var $;
|
|
5
|
+
(function ($) {
|
|
6
|
+
})($ || ($ = {}));
|
|
7
|
+
module.exports = $;
|
|
8
|
+
//mam.ts
|
|
9
|
+
;
|
|
10
|
+
"use strict"
|
|
11
|
+
|
|
12
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
13
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
14
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
15
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if ((d = decorators[i])) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
16
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
var $ = ( typeof module === 'object' ) ? ( module['export'+'s'] = globalThis ) : globalThis
|
|
20
|
+
$.$$ = $
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
//# sourceMappingURL=node.test.js.map
|
package/node.test.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["/home/runner/work/mam_mol/mam_mol/mol/dump/lib/-/../../../../mam.ts","../../../../mam.jam.js"],"names":[],"sourceRoot":"/home/runner/work/mam_mol/mam_mol/mol/dump/lib/-/","mappings":";;AAAA,KAAK,CAAC,eAAe,GAAG,EAAE,CAAC;AAK3B,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;AAMX,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,MAAM,CAAC,OAAO,GAAG,CAAC,CAAA;;;ACblB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourcesContent":["Error.stackTraceLimit = 50;\n\ndeclare let _$_: { new(): {} } & typeof globalThis\ndeclare class $ extends _$_ {}\n\nnamespace $ {\n\texport type $ = typeof $$\n\texport declare class $$ extends $ {}\n\tnamespace $$ {\n\t\texport type $$ = $\n\t}\n}\n\nmodule.exports = $\n",null]}
|
package/package.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "mol_dump_lib",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"exports": {
|
|
5
|
+
"node": {
|
|
6
|
+
"import": "./node.mjs",
|
|
7
|
+
"default": "./node.js"
|
|
8
|
+
},
|
|
9
|
+
"types": "./web.d.ts",
|
|
10
|
+
"import": "./web.mjs",
|
|
11
|
+
"default": "./web.js"
|
|
12
|
+
},
|
|
13
|
+
"main": "./web.js",
|
|
14
|
+
"module": "./web.mjs",
|
|
15
|
+
"browser": "./web.js",
|
|
16
|
+
"types": "./web.d.ts",
|
|
17
|
+
"keywords": [
|
|
18
|
+
"$mol_dump_lib",
|
|
19
|
+
"$mol_dump",
|
|
20
|
+
"$mol"
|
|
21
|
+
],
|
|
22
|
+
"dependencies": {}
|
|
23
|
+
}
|
package/test.html
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<!doctype html><meta charset="utf-8" /><body><script src="web.js" charset="utf-8"></script>
|
|
2
|
+
<script src="/mol/build/client/client.js" charset="utf-8"></script>
|
|
3
|
+
<script src="web.test.js" charset="utf-8"></script>
|
|
4
|
+
<script>
|
|
5
|
+
addEventListener( 'load', ()=> setTimeout( ()=> {
|
|
6
|
+
const audit = document.createElement( 'script' )
|
|
7
|
+
audit.src = 'web.audit.js'
|
|
8
|
+
document.head.appendChild( audit )
|
|
9
|
+
}, 500 ) )
|
|
10
|
+
</script>
|
|
11
|
+
|
package/web.audit.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
console.info("Audit passed")
|
package/web.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/* CSS compiles into js bundle now! */
|
package/web.css.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"/* CSS compiles into js bundle now! */"
|
package/web.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare let _$_: {
|
|
2
|
+
new (): {};
|
|
3
|
+
} & typeof globalThis;
|
|
4
|
+
declare class $ extends _$_ {
|
|
5
|
+
}
|
|
6
|
+
declare namespace $ {
|
|
7
|
+
export type $ = typeof $$;
|
|
8
|
+
export class $$ extends $ {
|
|
9
|
+
}
|
|
10
|
+
namespace $$ {
|
|
11
|
+
type $$ = $;
|
|
12
|
+
}
|
|
13
|
+
export {};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export = $;
|
package/web.deps.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"files":["mam.ts","LICENSE","README.md","yarn.lock","mam.jam.js","tsfmt.json","package.json","tsconfig.json","lang.lang.tree","meta.lang.tree","sandbox.config.json","mol/CNAME","mol/LICENSE","mol/readme.md","mol/index.html","mol/mol.meta.tree","mol/CONTRIBUTING.md","mol/CODE_OF_CONDUCT.md","mol/dump/readme.md"],"mods":{},"deps_in":{"mol/dump":{"mol/dump/lib":-9007199254740991},"mol":{"mol/dump":-9007199254740991},"":{"mol":-9007199254740991}},"deps_out":{"mol/dump/lib":{"mol/dump":-9007199254740991},"mol/dump":{"mol":-9007199254740991},"mol":{"":-9007199254740991}},"sloc":{"ts":11,"LICENSE":113,"md":482,"lock":935,"js":9,"json":92,"tree":41,"CNAME":1,"html":1},"deps":{"mol/dump/lib":{"..":-9007199254740991},"mol/dump":{"..":-9007199254740991},"mol":{"..":-9007199254740991},"":{}}}
|
package/web.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
function require( path ){ return $node[ path ] };
|
|
3
|
+
|
|
4
|
+
var $node = $node || {}
|
|
5
|
+
void function( module ) { var exports = module.exports = this; function require( id ) { return $node[ id.replace( /^.\// , "../" ) ] };
|
|
6
|
+
;
|
|
7
|
+
"use strict";
|
|
8
|
+
Error.stackTraceLimit = 50;
|
|
9
|
+
var $;
|
|
10
|
+
(function ($) {
|
|
11
|
+
})($ || ($ = {}));
|
|
12
|
+
module.exports = $;
|
|
13
|
+
//mam.ts
|
|
14
|
+
;
|
|
15
|
+
|
|
16
|
+
$node[ "../mam.ts" ] = $node[ "../mam.ts" ] = module.exports }.call( {} , {} )
|
|
17
|
+
;
|
|
18
|
+
"use strict"
|
|
19
|
+
|
|
20
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
21
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
23
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if ((d = decorators[i])) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
24
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
var $ = ( typeof module === 'object' ) ? ( module['export'+'s'] = globalThis ) : globalThis
|
|
28
|
+
$.$$ = $
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
//# sourceMappingURL=web.js.map
|
package/web.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["-","/home/runner/work/mam_mol/mam_mol/mol/dump/lib/-/../../../../mam.ts","../../../../mam.jam.js"],"names":[],"sourceRoot":"/home/runner/work/mam_mol/mam_mol/mol/dump/lib/-/","mappings":";;AAAA;AACA;AACA;AACA;;ACHA,KAAK,CAAC,eAAe,GAAG,EAAE,CAAC;AAK3B,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;AAMX,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;AAED,MAAM,CAAC,OAAO,GAAG,CAAC,CAAA;;;ADblB;AACA;AACA;AEFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sourcesContent":[null,"Error.stackTraceLimit = 50;\n\ndeclare let _$_: { new(): {} } & typeof globalThis\ndeclare class $ extends _$_ {}\n\nnamespace $ {\n\texport type $ = typeof $$\n\texport declare class $$ extends $ {}\n\tnamespace $$ {\n\t\texport type $$ = $\n\t}\n}\n\nmodule.exports = $\n",null]}
|
package/web.meta.tree
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
\/
|
|
2
|
+
pack hyoo git \https://github.com/hyoo-ru/mam_hyoo.git
|
|
3
|
+
pack jin git \https://github.com/nin-jin/mam_jin.git
|
|
4
|
+
pack node git \https://github.com/hyoo-ru/mam_node.git
|
|
5
|
+
pack mol git \https://github.com/hyoo-ru/mam_mol.git
|
|
6
|
+
pack lib git \https://github.com/hyoo-ru/mam_lib.git
|
|
7
|
+
pack piterjs git \https://github.com/piterjs/piterjs.git
|
|
8
|
+
pack psb git \https://github.com/MolDevHack/psb.git
|
|
9
|
+
pack mpds git \https://github.com/mpds-io/mam_mpds
|
|
10
|
+
pack bun git \https://github.com/spleekz/mam_bun
|
|
11
|
+
\/mol
|
|
12
|
+
pack icon git \https://github.com/nin-jin/mol_icon.git
|
package/web.mjs
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
function require( path ){ return $node[ path ] };
|
|
3
|
+
|
|
4
|
+
var $node = $node || {}
|
|
5
|
+
void function( module ) { var exports = module.exports = this; function require( id ) { return $node[ id.replace( /^.\// , "../" ) ] };
|
|
6
|
+
;
|
|
7
|
+
"use strict";
|
|
8
|
+
Error.stackTraceLimit = 50;
|
|
9
|
+
var $;
|
|
10
|
+
(function ($) {
|
|
11
|
+
})($ || ($ = {}));
|
|
12
|
+
module.exports = $;
|
|
13
|
+
//mam.ts
|
|
14
|
+
;
|
|
15
|
+
|
|
16
|
+
$node[ "../mam.ts" ] = $node[ "../mam.ts" ] = module.exports }.call( {} , {} )
|
|
17
|
+
;
|
|
18
|
+
"use strict"
|
|
19
|
+
|
|
20
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
21
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
22
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
23
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if ((d = decorators[i])) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
24
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
var $ = ( typeof module === 'object' ) ? ( module['export'+'s'] = globalThis ) : globalThis
|
|
28
|
+
$.$$ = $
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
export default $
|
|
32
|
+
//# sourceMappingURL=web.js.map
|
package/web.test.js
ADDED
package/web.test.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"sourceRoot":"/home/runner/work/mam_mol/mam_mol/mol/dump/lib/-/","mappings":";","sourcesContent":[]}
|