@mobilabs/es6lib 1.1.2 → 1.2.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/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2023 Mobilabs <contact@mobilabs.fr> (https://www.mobilabs.fr)
3
+ Copyright (c) 2024 Mobilabs <contact@mobilabs.fr> (https://www.mobilabs.fr)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
package/_dist/LICENSE.md CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2023 Mobilabs <contact@mobilabs.fr> (https://www.mobilabs.fr)
3
+ Copyright (c) 2024 Mobilabs <contact@mobilabs.fr> (https://www.mobilabs.fr)
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,9 +1,9 @@
1
1
  /*! ****************************************************************************
2
- * ES6lib v1.1.2
2
+ * ES6lib v1.2.0
3
3
  *
4
4
  * A template for writing pure ES6 Javascript libraries.
5
5
  * (you can download it from npm or github repositories)
6
- * Copyright (c) 2023 Mobilabs <contact@mobilabs.fr> (http://www.mobilabs.fr/).
6
+ * Copyright (c) 2024 Mobilabs <contact@mobilabs.fr> (http://www.mobilabs.fr/).
7
7
  * Released under the MIT license. You may obtain a copy of the License
8
8
  * at: http://www.opensource.org/licenses/mit-license.php).
9
9
  * Built from {{boiler:name}} v{{boiler:name:version}}.
@@ -312,14 +312,14 @@
312
312
  const obj = Object.create(methods);
313
313
  obj._library = {
314
314
  name: 'ES6lib',
315
- version: '1.1.2',
315
+ version: '1.2.0',
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.2';
322
+ ES6lib.VERSION = '1.2.0';
323
323
 
324
324
 
325
325
  // -- Private Static Methods -----------------------------------------------
@@ -1,11 +1,11 @@
1
1
  /*! ****************************************************************************
2
- * ES6lib v1.1.2
2
+ * ES6lib v1.2.0
3
3
  *
4
4
  * A template for writing pure ES6 Javascript libraries.
5
5
  * (you can download it from npm or github repositories)
6
- * Copyright (c) 2023 Mobilabs <contact@mobilabs.fr> (http://www.mobilabs.fr/).
6
+ * Copyright (c) 2024 Mobilabs <contact@mobilabs.fr> (http://www.mobilabs.fr/).
7
7
  * Released under the MIT license. You may obtain a copy of the License
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.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}));
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.2.0"},t},e.NAME="ES6lib",e.VERSION="1.2.0",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,11 +1,11 @@
1
1
  /*! ****************************************************************************
2
- * ES6lib v1.1.2
2
+ * ES6lib v1.2.0
3
3
  *
4
4
  * A template for writing pure ES6 Javascript libraries.
5
5
  * (you can download it from npm or github repositories)
6
- * Copyright (c) 2023 Mobilabs <contact@mobilabs.fr> (http://www.mobilabs.fr/).
6
+ * Copyright (c) 2024 Mobilabs <contact@mobilabs.fr> (http://www.mobilabs.fr/).
7
7
  * Released under the MIT license. You may obtain a copy of the License
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.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;
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.2.0"},t},e.NAME="ES6lib",e.VERSION="1.2.0",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,9 +1,9 @@
1
1
  /*! ****************************************************************************
2
- * ES6lib v1.1.2
2
+ * ES6lib v1.2.0
3
3
  *
4
4
  * A template for writing pure ES6 Javascript libraries.
5
5
  * (you can download it from npm or github repositories)
6
- * Copyright (c) 2023 Mobilabs <contact@mobilabs.fr> (http://www.mobilabs.fr/).
6
+ * Copyright (c) 2024 Mobilabs <contact@mobilabs.fr> (http://www.mobilabs.fr/).
7
7
  * Released under the MIT license. You may obtain a copy of the License
8
8
  * at: http://www.opensource.org/licenses/mit-license.php).
9
9
  * Built from {{boiler:name}} v{{boiler:name:version}}.
@@ -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.2',
316
+ version: '1.2.0',
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.2';
323
+ ES6lib.VERSION = '1.2.0';
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.2",
3
+ "version": "1.2.0",
4
4
  "description": "A template for writing pure ES6 Javascript libraries",
5
5
  "main": "index.js",
6
6
  "minified": "_dist/lib/es6lib.min.js",
@@ -75,22 +75,21 @@
75
75
  },
76
76
  "homepage": "https://github.com/jclo/es6lib",
77
77
  "dependencies": {
78
- "nopt": "^7.1.0",
78
+ "nopt": "^7.2.0",
79
79
  "shelljs": "^0.8.5"
80
80
  },
81
81
  "devDependencies": {
82
- "chai": "^4.3.7",
82
+ "chai": "^4.4.0",
83
83
  "coveralls": "^3.1.1",
84
84
  "cross-env": "^7.0.3",
85
- "eslint": "^8.41.0",
85
+ "eslint": "^8.56.0",
86
86
  "eslint-config-airbnb-base": "^15.0.0",
87
- "eslint-plugin-import": "^2.27.5",
88
- "http-server": "^14.1.1",
87
+ "eslint-plugin-import": "^2.29.1",
89
88
  "husky": "^8.0.3",
90
89
  "mocha": "^10.2.0",
91
- "nodemon": "^2.0.22",
90
+ "nodemon": "^3.0.2",
92
91
  "nyc": "^15.1.0",
93
- "terser": "^5.17.4"
92
+ "terser": "^5.26.0"
94
93
  },
95
94
  "publishConfig": {
96
95
  "access": "public"
@@ -39,16 +39,16 @@ const config = require('./config')
39
39
 
40
40
 
41
41
  // -- Local Constants
42
- const VERSION = '0.0.0-alpha.0'
43
- , opts = {
42
+ const VERSION = '0.0.0-alpha.0'
43
+ , opts = {
44
44
  help: [Boolean, false],
45
45
  version: [String, null],
46
46
  }
47
- , shortOpts = {
47
+ , shortOpts = {
48
48
  h: ['--help'],
49
49
  v: ['--version', VERSION],
50
50
  }
51
- , parsed = nopt(opts, shortOpts, process.argv, 2)
51
+ , parsed = nopt(opts, shortOpts, process.argv, 2)
52
52
  , destination = config.libdir
53
53
  ;
54
54
 
@@ -199,7 +199,7 @@ function _delgeneric(done) {
199
199
  * Executes the script.
200
200
  *
201
201
  * @function ()
202
- * @puublic
202
+ * @public
203
203
  * @param {} -,
204
204
  * @returns {} -,
205
205
  * @since 0.0.0
@@ -43,16 +43,16 @@ const pack = require('../package.json')
43
43
 
44
44
 
45
45
  // -- Local Constants
46
- const VERSION = '0.0.0-alpha.0'
47
- , opts = {
46
+ const VERSION = '0.0.0-alpha.0'
47
+ , opts = {
48
48
  help: [Boolean, false],
49
49
  version: [String, null],
50
50
  }
51
- , shortOpts = {
51
+ , shortOpts = {
52
52
  h: ['--help'],
53
53
  v: ['--version', VERSION],
54
54
  }
55
- , parsed = nopt(opts, shortOpts, process.argv, 2)
55
+ , parsed = nopt(opts, shortOpts, process.argv, 2)
56
56
  , destination = config.libdir
57
57
  , { ES6GLOB } = config
58
58
  , source = config.src
@@ -247,7 +247,7 @@ function _delcore() {
247
247
  * Executes the script.
248
248
  *
249
249
  * @function ()
250
- * @puublic
250
+ * @public
251
251
  * @param {} -,
252
252
  * @returns {} -,
253
253
  * @since 0.0.0
@@ -44,16 +44,16 @@ const config = require('./config')
44
44
 
45
45
 
46
46
  // -- Local Constants
47
- const VERSION = '0.0.0-alpha.0'
48
- , opts = {
47
+ const VERSION = '0.0.0-alpha.0'
48
+ , opts = {
49
49
  help: [Boolean, false],
50
50
  version: [String, null],
51
51
  }
52
- , shortOpts = {
52
+ , shortOpts = {
53
53
  h: ['--help'],
54
54
  v: ['--version', VERSION],
55
55
  }
56
- , parsed = nopt(opts, shortOpts, process.argv, 2)
56
+ , parsed = nopt(opts, shortOpts, process.argv, 2)
57
57
  , { dist } = config
58
58
  , { libdir } = config
59
59
  , { name } = config
@@ -246,7 +246,7 @@ function _makeminifiedm(done) {
246
246
  * Executes the script.
247
247
  *
248
248
  * @function ()
249
- * @puublic
249
+ * @public
250
250
  * @param {} -,
251
251
  * @returns {} -,
252
252
  * @since 0.0.0
@@ -41,16 +41,16 @@ const config = require('./config')
41
41
 
42
42
 
43
43
  // -- Local Constants
44
- const VERSION = '0.0.0-alpha.0'
45
- , opts = {
44
+ const VERSION = '0.0.0-alpha.0'
45
+ , opts = {
46
46
  help: [Boolean, false],
47
47
  version: [String, null],
48
48
  }
49
- , shortOpts = {
49
+ , shortOpts = {
50
50
  h: ['--help'],
51
51
  v: ['--version', VERSION],
52
52
  }
53
- , parsed = nopt(opts, shortOpts, process.argv, 2)
53
+ , parsed = nopt(opts, shortOpts, process.argv, 2)
54
54
  , { dist } = config
55
55
  , { webfiles } = config
56
56
  ;
@@ -153,7 +153,7 @@ function _doskeleton(done) {
153
153
  * Executes the script.
154
154
  *
155
155
  * @function ()
156
- * @puublic
156
+ * @public
157
157
  * @param {} -,
158
158
  * @returns {} -,
159
159
  * @since 0.0.0
@@ -42,16 +42,16 @@ const config = require('./config')
42
42
 
43
43
 
44
44
  // -- Local Constants
45
- const VERSION = '0.0.0-alpha.0'
46
- , opts = {
45
+ const VERSION = '0.0.0-alpha.0'
46
+ , opts = {
47
47
  help: [Boolean, false],
48
48
  version: [String, null],
49
49
  }
50
- , shortOpts = {
50
+ , shortOpts = {
51
51
  h: ['--help'],
52
52
  v: ['--version', VERSION],
53
53
  }
54
- , parsed = nopt(opts, shortOpts, process.argv, 2)
54
+ , parsed = nopt(opts, shortOpts, process.argv, 2)
55
55
  , tmppriv = './private_repo/tmp'
56
56
  , { name } = config
57
57
  , { index } = config
@@ -186,7 +186,7 @@ function _copypackagejson(done) {
186
186
  * Executes the script.
187
187
  *
188
188
  * @function ()
189
- * @puublic
189
+ * @public
190
190
  * @param {} -,
191
191
  * @returns {} -,
192
192
  * @since 0.0.0