@mobilabs/es6lib 1.0.12 → 1.0.14
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/.travis.yml +1 -1
- package/LICENSE.md +1 -1
- package/README.md +5 -5
- package/_dist/LICENSE.md +1 -1
- package/_dist/README.md +5 -5
- package/_dist/lib/es6lib.js +4 -4
- package/_dist/lib/es6lib.min.js +3 -3
- package/_dist/lib/es6lib.min.mjs +3 -3
- package/_dist/lib/es6lib.mjs +4 -4
- package/bin/es6lib.js +1 -1
- package/package.json +11 -11
- package/tasks/makejs.js +2 -1
package/.travis.yml
CHANGED
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2023 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/README.md
CHANGED
|
@@ -36,9 +36,9 @@ Then, you just need to create a `package.json` file that contains:
|
|
|
36
36
|
"name": "NameOfYourProject",
|
|
37
37
|
"scripts": {
|
|
38
38
|
"create": "npm install @mobilabs/es6lib && npm run populate",
|
|
39
|
-
"populate": "es6lib populate --name $
|
|
39
|
+
"populate": "es6lib populate --name $npm_package_name --author $npm_package_config_name --acronym $npm_package_config_acronym --email $npm_package_config_email --url $npm_package_config_url && npm install && npm run build && npm run test && npm run report"
|
|
40
40
|
},
|
|
41
|
-
"
|
|
41
|
+
"config": {
|
|
42
42
|
"name": "John Doe",
|
|
43
43
|
"acronym": "jdo",
|
|
44
44
|
"email": "jdo@johndoe.com",
|
|
@@ -178,13 +178,13 @@ Enjoy!
|
|
|
178
178
|
[coveralls-image]: https://img.shields.io/coveralls/jclo/es6lib/master.svg?&logo=coveralls
|
|
179
179
|
[dependencies-image]: https://david-dm.org/jclo/es6lib/status.svg?theme=shields.io
|
|
180
180
|
[devdependencies-image]: https://david-dm.org/jclo/es6lib/dev-status.svg?theme=shields.io
|
|
181
|
-
[npm-bundle-size-image]: https://img.shields.io/bundlephobia/minzip/@mobilabs/es6lib.svg
|
|
182
|
-
[license-image]: https://img.shields.io/npm/l/@mobilabs/es6lib.svg
|
|
181
|
+
[npm-bundle-size-image]: https://img.shields.io/bundlephobia/minzip/@mobilabs/es6lib.svg
|
|
182
|
+
[license-image]: https://img.shields.io/npm/l/@mobilabs/es6lib.svg
|
|
183
183
|
|
|
184
184
|
[npm-url]: https://www.npmjs.com/package/@mobilabs/es6lib
|
|
185
185
|
[release-url]: https://github.com/jclo/es6lib/tags
|
|
186
186
|
[commit-url]: https://github.com/jclo/es6lib/commits/master
|
|
187
|
-
[travis-url]: https://travis-ci.com/jclo/es6lib?branch=main
|
|
187
|
+
[travis-url]: https://app.travis-ci.com/jclo/es6lib?branch=main
|
|
188
188
|
[coveralls-url]: https://coveralls.io/github/jclo/es6lib?branch=master
|
|
189
189
|
[dependencies-url]: https://david-dm.org/jclo/es6lib
|
|
190
190
|
[devdependencies-url]: https://david-dm.org/jclo/es6lib?type=dev
|
package/_dist/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright (c)
|
|
3
|
+
Copyright (c) 2023 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/README.md
CHANGED
|
@@ -36,9 +36,9 @@ Then, you just need to create a `package.json` file that contains:
|
|
|
36
36
|
"name": "NameOfYourProject",
|
|
37
37
|
"scripts": {
|
|
38
38
|
"create": "npm install @mobilabs/es6lib && npm run populate",
|
|
39
|
-
"populate": "es6lib populate --name $
|
|
39
|
+
"populate": "es6lib populate --name $npm_package_name --author $npm_package_config_name --acronym $npm_package_config_acronym --email $npm_package_config_email --url $npm_package_config_url && npm install && npm run build && npm run test && npm run report"
|
|
40
40
|
},
|
|
41
|
-
"
|
|
41
|
+
"config": {
|
|
42
42
|
"name": "John Doe",
|
|
43
43
|
"acronym": "jdo",
|
|
44
44
|
"email": "jdo@johndoe.com",
|
|
@@ -178,13 +178,13 @@ Enjoy!
|
|
|
178
178
|
[coveralls-image]: https://img.shields.io/coveralls/jclo/es6lib/master.svg?&logo=coveralls
|
|
179
179
|
[dependencies-image]: https://david-dm.org/jclo/es6lib/status.svg?theme=shields.io
|
|
180
180
|
[devdependencies-image]: https://david-dm.org/jclo/es6lib/dev-status.svg?theme=shields.io
|
|
181
|
-
[npm-bundle-size-image]: https://img.shields.io/bundlephobia/minzip/@mobilabs/es6lib.svg
|
|
182
|
-
[license-image]: https://img.shields.io/npm/l/@mobilabs/es6lib.svg
|
|
181
|
+
[npm-bundle-size-image]: https://img.shields.io/bundlephobia/minzip/@mobilabs/es6lib.svg
|
|
182
|
+
[license-image]: https://img.shields.io/npm/l/@mobilabs/es6lib.svg
|
|
183
183
|
|
|
184
184
|
[npm-url]: https://www.npmjs.com/package/@mobilabs/es6lib
|
|
185
185
|
[release-url]: https://github.com/jclo/es6lib/tags
|
|
186
186
|
[commit-url]: https://github.com/jclo/es6lib/commits/master
|
|
187
|
-
[travis-url]: https://travis-ci.com/jclo/es6lib?branch=main
|
|
187
|
+
[travis-url]: https://app.travis-ci.com/jclo/es6lib?branch=main
|
|
188
188
|
[coveralls-url]: https://coveralls.io/github/jclo/es6lib?branch=master
|
|
189
189
|
[dependencies-url]: https://david-dm.org/jclo/es6lib
|
|
190
190
|
[devdependencies-url]: https://david-dm.org/jclo/es6lib?type=dev
|
package/_dist/lib/es6lib.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*! ****************************************************************************
|
|
2
|
-
* ES6lib v1.0.
|
|
2
|
+
* ES6lib v1.0.14
|
|
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)
|
|
6
|
+
* Copyright (c) 2023 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.0.
|
|
315
|
+
version: '1.0.14',
|
|
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.0.
|
|
322
|
+
ES6lib.VERSION = '1.0.14';
|
|
323
323
|
|
|
324
324
|
|
|
325
325
|
// -- Private Static Methods -----------------------------------------------
|
package/_dist/lib/es6lib.min.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*! ****************************************************************************
|
|
2
|
-
* ES6lib v1.0.
|
|
2
|
+
* ES6lib v1.0.14
|
|
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)
|
|
6
|
+
* Copyright (c) 2023 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.0.
|
|
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.0.14"},t},e.NAME="ES6lib",e.VERSION="1.0.14",e._setTestMode=function(){return[]},e.noConflict=function(){return t.ES6lib=r,this},o={whoami(){return this._library},getString:()=>n.getString(),getArray:()=>n.getArray()}}(),e}));
|
package/_dist/lib/es6lib.min.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*! ****************************************************************************
|
|
2
|
-
* ES6lib v1.0.
|
|
2
|
+
* ES6lib v1.0.14
|
|
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)
|
|
6
|
+
* Copyright (c) 2023 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.0.
|
|
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.0.14"},t},e.NAME="ES6lib",e.VERSION="1.0.14",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;
|
package/_dist/lib/es6lib.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*! ****************************************************************************
|
|
2
|
-
* ES6lib v1.0.
|
|
2
|
+
* ES6lib v1.0.14
|
|
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)
|
|
6
|
+
* Copyright (c) 2023 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.0.
|
|
316
|
+
version: '1.0.14',
|
|
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.0.
|
|
323
|
+
ES6lib.VERSION = '1.0.14';
|
|
324
324
|
|
|
325
325
|
|
|
326
326
|
// -- Private Static Methods -----------------------------------------------
|
package/bin/es6lib.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*
|
|
5
5
|
* The MIT License (MIT)
|
|
6
6
|
*
|
|
7
|
-
* Copyright (c)
|
|
7
|
+
* Copyright (c) 2023 Mobilabs <contact@mobilabs.fr> (http://www.mobilabs.fr)
|
|
8
8
|
*
|
|
9
9
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
10
|
* of this software and associated documentation files (the "Software"), to deal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mobilabs/es6lib",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.14",
|
|
4
4
|
"description": "A template for writing pure ES6 Javascript libraries",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"minified": "_dist/lib/es6lib.min.js",
|
|
@@ -50,27 +50,27 @@
|
|
|
50
50
|
},
|
|
51
51
|
"homepage": "https://github.com/jclo/es6lib",
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"nopt": "^
|
|
54
|
-
"shelljs": "^0.8.
|
|
53
|
+
"nopt": "^7.1.0",
|
|
54
|
+
"shelljs": "^0.8.5"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"chai": "^4.3.
|
|
57
|
+
"chai": "^4.3.7",
|
|
58
58
|
"coveralls": "^3.1.1",
|
|
59
59
|
"cross-env": "^7.0.3",
|
|
60
|
-
"del": "^6.
|
|
61
|
-
"eslint": "^
|
|
60
|
+
"del": "^6.1.1",
|
|
61
|
+
"eslint": "^8.40.0",
|
|
62
62
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
63
|
-
"eslint-plugin-import": "^2.
|
|
63
|
+
"eslint-plugin-import": "^2.27.5",
|
|
64
64
|
"gulp": "^4.0.2",
|
|
65
65
|
"gulp-concat": "^2.6.1",
|
|
66
66
|
"gulp-connect": "^5.7.0",
|
|
67
67
|
"gulp-header": "^2.0.9",
|
|
68
|
-
"gulp-replace": "^1.1.
|
|
68
|
+
"gulp-replace": "^1.1.4",
|
|
69
69
|
"gulp-uglify-es": "^3.0.0",
|
|
70
|
-
"husky": "^
|
|
71
|
-
"mocha": "^
|
|
70
|
+
"husky": "^8.0.3",
|
|
71
|
+
"mocha": "^10.2.0",
|
|
72
72
|
"nyc": "^15.1.0",
|
|
73
|
-
"open": "^8.4.
|
|
73
|
+
"open": "^8.4.2",
|
|
74
74
|
"opener": "^1.5.2"
|
|
75
75
|
},
|
|
76
76
|
"publishConfig": {
|