@stdlib/console-log-each 0.2.1 → 0.2.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.
- package/README.md +2 -2
- package/dist/index.js +18 -4
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -184,8 +184,8 @@ Copyright © 2016-2024. The Stdlib [Authors][stdlib-authors].
|
|
|
184
184
|
[npm-image]: http://img.shields.io/npm/v/@stdlib/console-log-each.svg
|
|
185
185
|
[npm-url]: https://npmjs.org/package/@stdlib/console-log-each
|
|
186
186
|
|
|
187
|
-
[test-image]: https://github.com/stdlib-js/console-log-each/actions/workflows/test.yml/badge.svg?branch=v0.2.
|
|
188
|
-
[test-url]: https://github.com/stdlib-js/console-log-each/actions/workflows/test.yml?query=branch:v0.2.
|
|
187
|
+
[test-image]: https://github.com/stdlib-js/console-log-each/actions/workflows/test.yml/badge.svg?branch=v0.2.2
|
|
188
|
+
[test-url]: https://github.com/stdlib-js/console-log-each/actions/workflows/test.yml?query=branch:v0.2.2
|
|
189
189
|
|
|
190
190
|
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/console-log-each/main.svg
|
|
191
191
|
[coverage-url]: https://codecov.io/github/stdlib-js/console-log-each?branch=main
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
|
-
"use strict";var d=function(i,s){return function(){return s||i((s={exports:{}}).exports,s),s.exports}};var c=d(function(y,m){
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
"use strict";var d=function(i,s){return function(){return s||i((s={exports:{}}).exports,s),s.exports}};var c=d(function(y,m){"use strict";var q=require("@stdlib/assert-is-string").isPrimitive,p=require("@stdlib/assert-is-collection"),g=require("@stdlib/array-base-resolve-getter"),f=require("@stdlib/string-format"),w=require("@stdlib/console-log");function E(i){var s,l,t,o,u,n,v,r,h,e,a;if(!q(i))throw new TypeError(f("invalid argument. First argument must be a string. Value: `%s`.",i));for(u=arguments.length,t=[],s=[],n=[],e=1;e<u;e++)if(r=arguments[e],p(r)){t.push(g(r)),n.push(r),s.push(1),v=r.length,e+=1;break}else r=[r],t.push(g(r)),n.push(r),s.push(0);for(v===void 0&&(v=1);e<u;e++){if(r=arguments[e],p(r)){if(r.length!==v)throw new RangeError("invalid argument. Provided collections must have the same length.");h=1}else r=[r],h=0;t.push(g(r)),n.push(r),s.push(h)}for(o=[i],l=[],e=1;e<u;e++)o.push(null),l.push(0);for(e=0;e<v;e++){for(a=0;a<u-1;a++)o[a+1]=t[a](n[a],l[a]),l[a]+=s[a];w(f.apply(null,o))}}m.exports=E});var b=c();module.exports=b;
|
|
2
|
+
/**
|
|
3
|
+
* @license Apache-2.0
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) 2022 The Stdlib Authors.
|
|
6
|
+
*
|
|
7
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
* you may not use this file except in compliance with the License.
|
|
9
|
+
* You may obtain a copy of the License at
|
|
10
|
+
*
|
|
11
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
*
|
|
13
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
* See the License for the specific language governing permissions and
|
|
17
|
+
* limitations under the License.
|
|
18
|
+
*/
|
|
5
19
|
//# sourceMappingURL=index.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stdlib/console-log-each",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "Insert array element values into a format string and print the result.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": {
|
|
@@ -30,12 +30,12 @@
|
|
|
30
30
|
"url": "https://github.com/stdlib-js/stdlib/issues"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@stdlib/array-base-resolve-getter": "^0.2.
|
|
34
|
-
"@stdlib/assert-is-collection": "^0.2.
|
|
35
|
-
"@stdlib/assert-is-string": "^0.2.
|
|
36
|
-
"@stdlib/console-log": "^0.2.
|
|
37
|
-
"@stdlib/string-format": "^0.2.
|
|
38
|
-
"@stdlib/error-tools-fmtprodmsg": "^0.2.
|
|
33
|
+
"@stdlib/array-base-resolve-getter": "^0.2.1",
|
|
34
|
+
"@stdlib/assert-is-collection": "^0.2.2",
|
|
35
|
+
"@stdlib/assert-is-string": "^0.2.2",
|
|
36
|
+
"@stdlib/console-log": "^0.2.2",
|
|
37
|
+
"@stdlib/string-format": "^0.2.2",
|
|
38
|
+
"@stdlib/error-tools-fmtprodmsg": "^0.2.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {},
|
|
41
41
|
"engines": {
|