@mobilabs/es6lib 1.1.1 → 1.1.2

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.
@@ -1,5 +1,5 @@
1
1
  /*! ****************************************************************************
2
- * ES6lib v1.1.1
2
+ * ES6lib v1.1.2
3
3
  *
4
4
  * A template for writing pure ES6 Javascript libraries.
5
5
  * (you can download it from npm or github repositories)
@@ -312,14 +312,14 @@
312
312
  const obj = Object.create(methods);
313
313
  obj._library = {
314
314
  name: 'ES6lib',
315
- version: '1.1.1',
315
+ version: '1.1.2',
316
316
  };
317
317
  return obj;
318
318
  };
319
319
 
320
320
  // Attaches constants to ES6lib that provide name and version of the lib.
321
321
  ES6lib.NAME = 'ES6lib';
322
- ES6lib.VERSION = '1.1.1';
322
+ ES6lib.VERSION = '1.1.2';
323
323
 
324
324
 
325
325
  // -- Private Static Methods -----------------------------------------------
@@ -1,5 +1,5 @@
1
1
  /*! ****************************************************************************
2
- * ES6lib v1.1.1
2
+ * ES6lib v1.1.2
3
3
  *
4
4
  * A template for writing pure ES6 Javascript libraries.
5
5
  * (you can download it from npm or github repositories)
@@ -8,4 +8,4 @@
8
8
  * at: http://www.opensource.org/licenses/mit-license.php).
9
9
  * Built from {{boiler:name}} v{{boiler:name:version}}.
10
10
  * ************************************************************************** */
11
- !function(t,e){"use strict";"function"==typeof define&&define.amd?define([""],e):"object"==typeof exports?module.exports=e(t):t.ES6lib=e(t)}(this,(t=>{"use strict";let e,n;const i={Public:{}};return n=function(t,e){const n=Object.keys(e);for(let i=0;i<n.length;i++)t[n[i]]=e[n[i]]},function(){const t=i.Public;n(t,{getString:()=>"I am a string!",getArray:()=>[1,2,3]})}(),function(){const n=i.Public,r=t.ES6lib;let o;e=function(){const t=Object.create(o);return t._library={name:"ES6lib",version:"1.1.1"},t},e.NAME="ES6lib",e.VERSION="1.1.1",e._setTestMode=function(){return[]},e.noConflict=function(){return t.ES6lib=r,this},o={whoami(){return this._library},getString:()=>n.getString(),getArray:()=>n.getArray()}}(),e}));
11
+ !function(t,e){"use strict";"function"==typeof define&&define.amd?define([""],e):"object"==typeof exports?module.exports=e(t):t.ES6lib=e(t)}(this,(t=>{"use strict";let e,n;const i={Public:{}};return n=function(t,e){const n=Object.keys(e);for(let i=0;i<n.length;i++)t[n[i]]=e[n[i]]},function(){const t=i.Public;n(t,{getString:()=>"I am a string!",getArray:()=>[1,2,3]})}(),function(){const n=i.Public,r=t.ES6lib;let o;e=function(){const t=Object.create(o);return t._library={name:"ES6lib",version:"1.1.2"},t},e.NAME="ES6lib",e.VERSION="1.1.2",e._setTestMode=function(){return[]},e.noConflict=function(){return t.ES6lib=r,this},o={whoami(){return this._library},getString:()=>n.getString(),getArray:()=>n.getArray()}}(),e}));
@@ -1,5 +1,5 @@
1
1
  /*! ****************************************************************************
2
- * ES6lib v1.1.1
2
+ * ES6lib v1.1.2
3
3
  *
4
4
  * A template for writing pure ES6 Javascript libraries.
5
5
  * (you can download it from npm or github repositories)
@@ -8,4 +8,4 @@
8
8
  * at: http://www.opensource.org/licenses/mit-license.php).
9
9
  * Built from {{boiler:name}} v{{boiler:name:version}}.
10
10
  * ************************************************************************** */
11
- const $__ES6GLOB={};!function(t,e){"use strict";"function"==typeof define&&define.amd?define([""],e):"object"==typeof exports?module.exports=e(t):t.ES6lib=e(t)}($__ES6GLOB,(t=>{"use strict";let e,n;const i={Public:{}};return n=function(t,e){const n=Object.keys(e);for(let i=0;i<n.length;i++)t[n[i]]=e[n[i]]},function(){const t=i.Public;n(t,{getString:()=>"I am a string!",getArray:()=>[1,2,3]})}(),function(){const n=i.Public,r=t.ES6lib;let o;e=function(){const t=Object.create(o);return t._library={name:"ES6lib",version:"1.1.1"},t},e.NAME="ES6lib",e.VERSION="1.1.1",e._setTestMode=function(){return[]},e.noConflict=function(){return t.ES6lib=r,this},o={whoami(){return this._library},getString:()=>n.getString(),getArray:()=>n.getArray()}}(),e}));export default $__ES6GLOB.ES6lib;
11
+ const $__ES6GLOB={};!function(t,e){"use strict";"function"==typeof define&&define.amd?define([""],e):"object"==typeof exports?module.exports=e(t):t.ES6lib=e(t)}($__ES6GLOB,(t=>{"use strict";let e,n;const i={Public:{}};return n=function(t,e){const n=Object.keys(e);for(let i=0;i<n.length;i++)t[n[i]]=e[n[i]]},function(){const t=i.Public;n(t,{getString:()=>"I am a string!",getArray:()=>[1,2,3]})}(),function(){const n=i.Public,r=t.ES6lib;let o;e=function(){const t=Object.create(o);return t._library={name:"ES6lib",version:"1.1.2"},t},e.NAME="ES6lib",e.VERSION="1.1.2",e._setTestMode=function(){return[]},e.noConflict=function(){return t.ES6lib=r,this},o={whoami(){return this._library},getString:()=>n.getString(),getArray:()=>n.getArray()}}(),e}));export default $__ES6GLOB.ES6lib;
@@ -1,5 +1,5 @@
1
1
  /*! ****************************************************************************
2
- * ES6lib v1.1.1
2
+ * ES6lib v1.1.2
3
3
  *
4
4
  * A template for writing pure ES6 Javascript libraries.
5
5
  * (you can download it from npm or github repositories)
@@ -313,14 +313,14 @@ const $__ES6GLOB = {};
313
313
  const obj = Object.create(methods);
314
314
  obj._library = {
315
315
  name: 'ES6lib',
316
- version: '1.1.1',
316
+ version: '1.1.2',
317
317
  };
318
318
  return obj;
319
319
  };
320
320
 
321
321
  // Attaches constants to ES6lib that provide name and version of the lib.
322
322
  ES6lib.NAME = 'ES6lib';
323
- ES6lib.VERSION = '1.1.1';
323
+ ES6lib.VERSION = '1.1.2';
324
324
 
325
325
 
326
326
  // -- Private Static Methods -----------------------------------------------
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mobilabs/es6lib",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "description": "A template for writing pure ES6 Javascript libraries",
5
5
  "main": "index.js",
6
6
  "minified": "_dist/lib/es6lib.min.js",
@@ -63,20 +63,20 @@ const VERSION = '0.0.0-alpha.0'
63
63
  *
64
64
  * @function ()
65
65
  * @private
66
- * @param {} -,
67
- * @returns {} -,
66
+ * @param {} -,
67
+ * @returns {} -,
68
68
  * @since 0.0.0
69
69
  */
70
70
  function _help() {
71
71
  const message = ['',
72
72
  'Usage: command [options]',
73
73
  '',
74
- ' creates something from something',
74
+ ' creates something from something',
75
75
  '',
76
76
  'Options:',
77
77
  '',
78
- '-h, --help output usage information',
79
- '-v, --version output the version number',
78
+ '-h, --help output usage information',
79
+ '-v, --version output the version number',
80
80
  '',
81
81
  ].join('\n');
82
82
 
@@ -88,8 +88,8 @@ function _help() {
88
88
  *
89
89
  * @function ()
90
90
  * @private
91
- * @param {} -,
92
- * @returns {Object} returns a promise,
91
+ * @param {} -,
92
+ * @returns {Object} returns a promise,
93
93
  * @since 0.0.0
94
94
  */
95
95
  function _clean() {
@@ -116,8 +116,8 @@ function _clean() {
116
116
  *
117
117
  * @function (arg1)
118
118
  * @private
119
- * @param {Function} the function to call at the completion,
120
- * @returns {} -,
119
+ * @param {Function} the function to call at the completion,
120
+ * @returns {} -,
121
121
  * @since 0.0.0
122
122
  */
123
123
  function _doparallel1(done) {
@@ -138,8 +138,8 @@ function _doparallel1(done) {
138
138
  *
139
139
  * @function (arg1)
140
140
  * @private
141
- * @param {Function} the function to call at the completion,
142
- * @returns {} -,
141
+ * @param {Function} the function to call at the completion,
142
+ * @returns {} -,
143
143
  * @since 0.0.0
144
144
  */
145
145
  function _doparallel2(done) {
@@ -160,8 +160,8 @@ function _doparallel2(done) {
160
160
  *
161
161
  * @function (arg1)
162
162
  * @private
163
- * @param {Function} the function to call at the completion,
164
- * @returns {} -,
163
+ * @param {Function} the function to call at the completion,
164
+ * @returns {} -,
165
165
  * @since 0.0.0
166
166
  */
167
167
  function _delgeneric(done) {
@@ -200,8 +200,8 @@ function _delgeneric(done) {
200
200
  *
201
201
  * @function ()
202
202
  * @puublic
203
- * @param {} -,
204
- * @returns {} -,
203
+ * @param {} -,
204
+ * @returns {} -,
205
205
  * @since 0.0.0
206
206
  */
207
207
  async function run() {
@@ -218,7 +218,7 @@ async function run() {
218
218
  }
219
219
 
220
220
  const d1 = new Date();
221
- process.stdout.write('Starting \'\x1b[36mbuild:js:dev\x1b[89m\x1b[0m\'...\n');
221
+ process.stdout.write('Starting \'\x1b[36mbuild:xxx:yyy\x1b[89m\x1b[0m\'...\n');
222
222
 
223
223
  let pending = PENDING;
224
224
  /**
@@ -229,7 +229,7 @@ async function run() {
229
229
  if (!pending) {
230
230
  _delgeneric(() => {
231
231
  const d2 = new Date() - d1;
232
- process.stdout.write(`Finished '\x1b[36mbuild:js:dev\x1b[89m\x1b[0m' after \x1b[35m${d2} ms\x1b[89m\x1b[0m\n`);
232
+ process.stdout.write(`Finished '\x1b[36mbuild:xxx:yyy\x1b[89m\x1b[0m' after \x1b[35m${d2} ms\x1b[89m\x1b[0m\n`);
233
233
  });
234
234
  }
235
235
  }
@@ -75,20 +75,20 @@ const VERSION = '0.0.0-alpha.0'
75
75
  *
76
76
  * @function ()
77
77
  * @private
78
- * @param {} -,
79
- * @returns {} -,
78
+ * @param {} -,
79
+ * @returns {} -,
80
80
  * @since 0.0.0
81
81
  */
82
82
  function _help() {
83
83
  const message = ['',
84
84
  'Usage: command [options]',
85
85
  '',
86
- ' creates the js bundle from ./public/src/main.js',
86
+ ' creates the js bundle from ./public/src/main.js',
87
87
  '',
88
88
  'Options:',
89
89
  '',
90
- '-h, --help output usage information',
91
- '-v, --version output the version number',
90
+ '-h, --help output usage information',
91
+ '-v, --version output the version number',
92
92
  '',
93
93
  ].join('\n');
94
94
 
@@ -100,8 +100,8 @@ function _help() {
100
100
  *
101
101
  * @function ()
102
102
  * @private
103
- * @param {} -,
104
- * @returns {} -,
103
+ * @param {} -,
104
+ * @returns {} -,
105
105
  * @since 0.0.0
106
106
  */
107
107
  function _clean() {
@@ -120,8 +120,8 @@ function _clean() {
120
120
  *
121
121
  * @function ()
122
122
  * @private
123
- * @param {} -,
124
- * @returns {} -,
123
+ * @param {} -,
124
+ * @returns {} -,
125
125
  * @since 0.0.0
126
126
  */
127
127
  function _docore() {
@@ -158,8 +158,8 @@ function _docore() {
158
158
  *
159
159
  * @function ()
160
160
  * @private
161
- * @param {} -,
162
- * @returns {} -,
161
+ * @param {} -,
162
+ * @returns {} -,
163
163
  * @since 0.0.0
164
164
  */
165
165
  function _doumdlib() {
@@ -191,8 +191,8 @@ function _doumdlib() {
191
191
  *
192
192
  * @function ()
193
193
  * @private
194
- * @param {} -,
195
- * @returns {} -,
194
+ * @param {} -,
195
+ * @returns {} -,
196
196
  * @since 0.0.0
197
197
  */
198
198
  function _domodule() {
@@ -227,8 +227,8 @@ function _domodule() {
227
227
  *
228
228
  * @function ()
229
229
  * @private
230
- * @param {} -,
231
- * @returns {} -,
230
+ * @param {} -,
231
+ * @returns {} -,
232
232
  * @since 0.0.0
233
233
  */
234
234
  function _delcore() {
@@ -248,8 +248,8 @@ function _delcore() {
248
248
  *
249
249
  * @function ()
250
250
  * @puublic
251
- * @param {} -,
252
- * @returns {} -,
251
+ * @param {} -,
252
+ * @returns {} -,
253
253
  * @since 0.0.0
254
254
  */
255
255
  function run() {
@@ -71,20 +71,20 @@ const VERSION = '0.0.0-alpha.0'
71
71
  *
72
72
  * @function ()
73
73
  * @private
74
- * @param {} -,
75
- * @returns {} -,
74
+ * @param {} -,
75
+ * @returns {} -,
76
76
  * @since 0.0.0
77
77
  */
78
78
  function _help() {
79
79
  const message = ['',
80
80
  'Usage: command [options]',
81
81
  '',
82
- ' creates the js production files',
82
+ ' creates the js production files',
83
83
  '',
84
84
  'Options:',
85
85
  '',
86
- '-h, --help output usage information',
87
- '-v, --version output the version number',
86
+ '-h, --help output usage information',
87
+ '-v, --version output the version number',
88
88
  '',
89
89
  ].join('\n');
90
90
 
@@ -124,8 +124,8 @@ function _clean() {
124
124
  *
125
125
  * @function (arg1)
126
126
  * @private
127
- * @param {Function} the function to call at the completion,
128
- * @returns {} -,
127
+ * @param {Function} the function to call at the completion,
128
+ * @returns {} -,
129
129
  * @since 0.0.0
130
130
  */
131
131
  function _copydev(done) {
@@ -152,8 +152,8 @@ function _copydev(done) {
152
152
  *
153
153
  * @function (arg1)
154
154
  * @private
155
- * @param {Function} the function to call at the completion,
156
- * @returns {} -,
155
+ * @param {Function} the function to call at the completion,
156
+ * @returns {} -,
157
157
  * @since 0.0.0
158
158
  */
159
159
  function _copydevm(done) {
@@ -180,8 +180,8 @@ function _copydevm(done) {
180
180
  *
181
181
  * @function (arg1)
182
182
  * @private
183
- * @param {Function} the function to call at the completion,
184
- * @returns {} -,
183
+ * @param {Function} the function to call at the completion,
184
+ * @returns {} -,
185
185
  * @since 0.0.0
186
186
  */
187
187
  function _makeminified(done) {
@@ -212,8 +212,8 @@ function _makeminified(done) {
212
212
  *
213
213
  * @function (arg1)
214
214
  * @private
215
- * @param {Function} the function to call at the completion,
216
- * @returns {} -,
215
+ * @param {Function} the function to call at the completion,
216
+ * @returns {} -,
217
217
  * @since 0.0.0
218
218
  */
219
219
  function _makeminifiedm(done) {
@@ -247,8 +247,8 @@ function _makeminifiedm(done) {
247
247
  *
248
248
  * @function ()
249
249
  * @puublic
250
- * @param {} -,
251
- * @returns {} -,
250
+ * @param {} -,
251
+ * @returns {} -,
252
252
  * @since 0.0.0
253
253
  */
254
254
  async function run() {
@@ -66,20 +66,20 @@ const VERSION = '0.0.0-alpha.0'
66
66
  *
67
67
  * @function ()
68
68
  * @private
69
- * @param {} -,
70
- * @returns {} -,
69
+ * @param {} -,
70
+ * @returns {} -,
71
71
  * @since 0.0.0
72
72
  */
73
73
  function _help() {
74
74
  const message = ['',
75
75
  'Usage: command [options]',
76
76
  '',
77
- ' creates the production folder and copies the files defined in config.js',
77
+ ' creates the production folder and copies the files defined in config.js',
78
78
  '',
79
79
  'Options:',
80
80
  '',
81
- '-h, --help output usage information',
82
- '-v, --version output the version number',
81
+ '-h, --help output usage information',
82
+ '-v, --version output the version number',
83
83
  '',
84
84
  ].join('\n');
85
85
 
@@ -91,8 +91,8 @@ function _help() {
91
91
  *
92
92
  * @function ()
93
93
  * @private
94
- * @param {} -,
95
- * @returns {Object} returns a promise,
94
+ * @param {} -,
95
+ * @returns {Object} returns a promise,
96
96
  * @since 0.0.0
97
97
  */
98
98
  function _clean() {
@@ -115,8 +115,8 @@ function _clean() {
115
115
  *
116
116
  * @function (arg1)
117
117
  * @private
118
- * @param {Function} the function to call at the completion,
119
- * @returns {} -,
118
+ * @param {Function} the function to call at the completion,
119
+ * @returns {} -,
120
120
  * @since 0.0.0
121
121
  */
122
122
  function _doskeleton(done) {
@@ -154,8 +154,8 @@ function _doskeleton(done) {
154
154
  *
155
155
  * @function ()
156
156
  * @puublic
157
- * @param {} -,
158
- * @returns {} -,
157
+ * @param {} -,
158
+ * @returns {} -,
159
159
  * @since 0.0.0
160
160
  */
161
161
  async function run() {
@@ -69,20 +69,20 @@ const VERSION = '0.0.0-alpha.0'
69
69
  *
70
70
  * @function ()
71
71
  * @private
72
- * @param {} -,
73
- * @returns {} -,
72
+ * @param {} -,
73
+ * @returns {} -,
74
74
  * @since 0.0.0
75
75
  */
76
76
  function _help() {
77
77
  const message = ['',
78
78
  'Usage: command [options]',
79
79
  '',
80
- ' creates a private npm package to be used locally',
80
+ ' creates a private npm package to be used locally',
81
81
  '',
82
82
  'Options:',
83
83
  '',
84
- '-h, --help output usage information',
85
- '-v, --version output the version number',
84
+ '-h, --help output usage information',
85
+ '-v, --version output the version number',
86
86
  '',
87
87
  ].join('\n');
88
88
 
@@ -94,8 +94,8 @@ function _help() {
94
94
  *
95
95
  * @function ()
96
96
  * @private
97
- * @param {} -,
98
- * @returns {Object} returns a promise,
97
+ * @param {} -,
98
+ * @returns {Object} returns a promise,
99
99
  * @since 0.0.0
100
100
  */
101
101
  function _clean() {
@@ -122,8 +122,8 @@ function _clean() {
122
122
  *
123
123
  * @function (arg1)
124
124
  * @private
125
- * @param {Function} the function to call at the completion,
126
- * @returns {} -,
125
+ * @param {Function} the function to call at the completion,
126
+ * @returns {} -,
127
127
  * @since 0.0.0
128
128
  */
129
129
  function _copyindex(done) {
@@ -149,8 +149,8 @@ function _copyindex(done) {
149
149
  *
150
150
  * @function (arg1)
151
151
  * @private
152
- * @param {Function} the function to call at the completion,
153
- * @returns {} -,
152
+ * @param {Function} the function to call at the completion,
153
+ * @returns {} -,
154
154
  * @since 0.0.0
155
155
  */
156
156
  function _copypackagejson(done) {
@@ -187,8 +187,8 @@ function _copypackagejson(done) {
187
187
  *
188
188
  * @function ()
189
189
  * @puublic
190
- * @param {} -,
191
- * @returns {} -,
190
+ * @param {} -,
191
+ * @returns {} -,
192
192
  * @since 0.0.0
193
193
  */
194
194
  async function run() {