@stdlib/assert-has-arrow-function-support 0.0.1 → 0.0.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.
Files changed (3) hide show
  1. package/NOTICE +1 -1
  2. package/README.md +26 -3
  3. package/package.json +1 -1
package/NOTICE CHANGED
@@ -1 +1 @@
1
- Copyright (c) 2016-2021 The Stdlib Authors.
1
+ Copyright (c) 2016-2022 The Stdlib Authors.
package/README.md CHANGED
@@ -20,7 +20,7 @@ limitations under the License.
20
20
 
21
21
  # Arrow Function Support
22
22
 
23
- [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] [![dependencies][dependencies-image]][dependencies-url]
23
+ [![NPM version][npm-image]][npm-url] [![Build Status][test-image]][test-url] [![Coverage Status][coverage-image]][coverage-url] <!-- [![dependencies][dependencies-image]][dependencies-url] -->
24
24
 
25
25
  > Detect native [`arrow function`][mdn-arrow-function] support.
26
26
 
@@ -44,7 +44,7 @@ var hasArrowFunctionSupport = require( '@stdlib/assert-has-arrow-function-suppor
44
44
 
45
45
  #### hasArrowFunctionSupport()
46
46
 
47
- Detects if a runtime environment supports ES2015 [`arrow functions`][mdn-arrow-function]` such as `( a, b ) => a + b`, `x => x`, or `( x ) => { return x*x; }`.
47
+ Detects if a runtime environment supports ES2015 [`arrow functions`][mdn-arrow-function] such as `( a, b ) => a + b`, `x => x`, or `( x ) => { return x*x; }`.
48
48
 
49
49
  ```javascript
50
50
  var bool = hasArrowFunctionSupport();
@@ -104,6 +104,8 @@ npm install -g @stdlib/assert-has-arrow-function-support
104
104
 
105
105
  </section>
106
106
 
107
+ <!-- CLI usage documentation. -->
108
+
107
109
  <section class="usage">
108
110
 
109
111
  ### Usage
@@ -138,6 +140,16 @@ $ has-arrow-function-support
138
140
 
139
141
  <!-- /.cli -->
140
142
 
143
+ <!-- Section for related `stdlib` packages. Do not manually edit this section, as it is automatically populated. -->
144
+
145
+ <section class="related">
146
+
147
+ </section>
148
+
149
+ <!-- /.related -->
150
+
151
+ <!-- Section for all links. Make sure to keep an empty line after the `section` element and another before the `/section` close. -->
152
+
141
153
 
142
154
  <section class="main-repo" >
143
155
 
@@ -162,7 +174,7 @@ See [LICENSE][stdlib-license].
162
174
 
163
175
  ## Copyright
164
176
 
165
- Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
177
+ Copyright &copy; 2016-2022. The Stdlib [Authors][stdlib-authors].
166
178
 
167
179
  </section>
168
180
 
@@ -181,9 +193,20 @@ Copyright &copy; 2016-2021. The Stdlib [Authors][stdlib-authors].
181
193
  [coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/assert-has-arrow-function-support/main.svg
182
194
  [coverage-url]: https://codecov.io/github/stdlib-js/assert-has-arrow-function-support?branch=main
183
195
 
196
+ <!--
197
+
184
198
  [dependencies-image]: https://img.shields.io/david/stdlib-js/assert-has-arrow-function-support.svg
185
199
  [dependencies-url]: https://david-dm.org/stdlib-js/assert-has-arrow-function-support/main
186
200
 
201
+ -->
202
+
203
+ [umd]: https://github.com/umdjs/umd
204
+ [es-module]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
205
+
206
+ [deno-url]: https://github.com/stdlib-js/assert-has-arrow-function-support/tree/deno
207
+ [umd-url]: https://github.com/stdlib-js/assert-has-arrow-function-support/tree/umd
208
+ [esm-url]: https://github.com/stdlib-js/assert-has-arrow-function-support/tree/esm
209
+
187
210
  [chat-image]: https://img.shields.io/gitter/room/stdlib-js/stdlib.svg
188
211
  [chat-url]: https://gitter.im/stdlib-js/stdlib/
189
212
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stdlib/assert-has-arrow-function-support",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Detect native arrow function support.",
5
5
  "license": "Apache-2.0",
6
6
  "author": {