Skip to content

Commit c4d6ea1

Browse files
committed
Auto-generated commit
1 parent 466b915 commit c4d6ea1

File tree

8 files changed

+34
-12
lines changed

8 files changed

+34
-12
lines changed

Diff for: .eslintrc.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/* For the `eslint` rules of this project, consult the main repository at https://github.com/stdlib-js/stdlib */

Diff for: .github/workflows/cancel.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Cancel Previous Runs
2+
3+
on: push
4+
5+
jobs:
6+
cancel:
7+
runs-on: ubuntu-latest
8+
timeout-minutes: 3
9+
steps:
10+
- uses: styfle/[email protected]
11+
with:
12+
workflow_id: >-
13+
benchmark.yml,
14+
examples.yml,
15+
test.yml,
16+
test_coverage.yml,
17+
test_install.yml,
18+
publish.yml
19+
access_token: ${{ github.token }}

Diff for: .npmignore

+2-5
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,14 @@
1818

1919
# Files #
2020
#########
21+
CHANGELOG.md
2122
CODE_OF_CONDUCT.md
2223
CONTRIBUTING.md
2324
CONTRIBUTORS
2425
TODO.md
2526
ROADMAP.md
2627
.postinstall.json
28+
Makefile
2729

2830
# Directories #
2931
###############
@@ -39,11 +41,6 @@ workshops/
3941

4042
# Ignore test directories, except for testing dependency installation:
4143
**/test/
42-
!/deps/test/
43-
44-
# Only top-level directories:
45-
/etc/
46-
/docs/
4744

4845
# Compiled source #
4946
###################

Diff for: CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# CHANGELOG
2+
3+
> Package changelog.
4+
5+
See [GitHub Releases](https://github.com/stdlib-js/assert-has-int16array-support/releases) for the changelog.

Diff for: Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ FIND_BENCHMARKS_EXCLUDE_FLAGS ?= \
294294
FIND_BENCHMARKS_FLAGS ?= \
295295
-type f \
296296
-name "$(BENCHMARKS_PATTERN)" \
297-
-path "$(ROOT_DIR)/**/$(BENCHMARKS_FOLDER)/**" \
297+
-path "$(ROOT_DIR)/**$(BENCHMARKS_FOLDER)/**" \
298298
-regex "$(BENCHMARKS_FILTER)" \
299299
$(FIND_BENCHMARKS_EXCLUDE_FLAGS)
300300

@@ -314,7 +314,7 @@ FIND_EXAMPLES_EXCLUDE_FLAGS ?= \
314314
FIND_EXAMPLES_FLAGS ?= \
315315
-type f \
316316
-name "$(EXAMPLES_PATTERN)" \
317-
-path "$(ROOT_DIR)/**/$(EXAMPLES_FOLDER)/**" \
317+
-path "$(ROOT_DIR)/**$(EXAMPLES_FOLDER)/**" \
318318
-regex "$(EXAMPLES_FILTER)" \
319319
$(FIND_EXAMPLES_EXCLUDE_FLAGS)
320320

Diff for: bin/cli

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
// MODULES //
2424

2525
var resolve = require( 'path' ).resolve;
26-
var readFileSync = require( '@stdlib/fs/read-file' ).sync;
26+
var readFileSync = require( '@stdlib/fs-read-file' ).sync;
2727
var CLI = require( '@stdlib/cli' );
2828
var detect = require( './../lib' );
2929

Diff for: lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* Test for native `Int16Array` support.
2323
*
24-
* @module @stdlib/assert/has-int16array-support
24+
* @module @stdlib/assert-has-int16array-support
2525
*
2626
* @example
2727
* var hasInt16ArraySupport = require( '@stdlib/assert-has-int16array-support' );

Diff for: test/test.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ tape( 'if `Int16Array` is supported, detection result is `true`', function test(
5353
}
5454
mocked = proxyquire( './../lib/main.js', {
5555
'./int16array.js': Mock,
56-
'@stdlib/assert/is-int16array': isArray
56+
'@stdlib/assert-is-int16array': isArray
5757
});
5858
t.strictEqual( mocked(), true, 'detection result is `true` (mocked)' );
5959

@@ -92,13 +92,13 @@ tape( 'if `Int16Array` is not supported, detection result is `false`', function
9292

9393
mocked = proxyquire( './../lib/main.js', {
9494
'./int16array.js': Mock2,
95-
'@stdlib/assert/is-int16array': isArray
95+
'@stdlib/assert-is-int16array': isArray
9696
});
9797
t.strictEqual( mocked(), false, 'detection result is `false`' );
9898

9999
mocked = proxyquire( './../lib/main.js', {
100100
'./int16array.js': Mock3,
101-
'@stdlib/assert/is-int16array': isArray
101+
'@stdlib/assert-is-int16array': isArray
102102
});
103103
t.strictEqual( mocked(), false, 'detection result is `false`' );
104104

0 commit comments

Comments
 (0)