Skip to content

Commit 642d635

Browse files
committed
Auto-generated commit
1 parent 0f4280e commit 642d635

File tree

7 files changed

+23
-140
lines changed

7 files changed

+23
-140
lines changed

.github/.keepalive

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
2024-08-01T00:35:49.313Z

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ jobs:
206206
# Publish package to npm:
207207
- name: 'Publish package to npm'
208208
# Pin action to full length commit SHA
209-
uses: JS-DevTools/npm-publish@4b07b26a2f6e0a51846e1870223e545bae91c552 # v3.0.1
209+
uses: JS-DevTools/npm-publish@19c28f1ef146469e409470805ea4279d47c3d35c # v3.1.1
210210
with:
211211
token: ${{ secrets.NPM_TOKEN }}
212212
access: public

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ docs/**/node_modules/
101101
pids
102102
*.pid
103103
*.seed
104+
yarn.lock
105+
package-lock.json
104106

105107
# Typescript #
106108
##############

.npmrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,5 @@ shrinkwrap = false
2727
# Disable automatically "saving" dependencies on install:
2828
save = false
2929

30-
# Generate provenance metadata:
31-
provenance = true
30+
# Do not generate provenance metadata:
31+
provenance = false

CHANGELOG.md

Lines changed: 13 additions & 133 deletions
Original file line numberDiff line numberDiff line change
@@ -2,52 +2,17 @@
22

33
> Package changelog.
44
5-
<section class="release" id="v0.3.0">
6-
7-
## 0.3.0 (2024-07-26)
8-
9-
<section class="features">
10-
11-
### Features
12-
13-
- [`693efb2`](https://github.com/stdlib-js/stdlib/commit/693efb2eb159d1cd25c6cffe2440e36e6a14b9b2) - resolve negative indices relative to the last character index
14-
- [`29d7b0d`](https://github.com/stdlib-js/stdlib/commit/29d7b0dc141e1112af120eab76fa6731b8fdbe78) - add support for `fromIndex`
15-
16-
</section>
17-
18-
<!-- /.features -->
19-
20-
<section class="breaking-changes">
21-
22-
### BREAKING CHANGES
23-
24-
- [`693efb2`](https://github.com/stdlib-js/stdlib/commit/693efb2eb159d1cd25c6cffe2440e36e6a14b9b2): resolve negative indices relative to the last character index
25-
- [`693efb2`](https://github.com/stdlib-js/stdlib/commit/693efb2eb159d1cd25c6cffe2440e36e6a14b9b2): resolve negative indices relative to the last index
5+
<section class="release" id="unreleased">
266

27-
- Previously, negative index arguments would resolve to zero and
28-
search would start from the beginning of the string. To preserve
29-
previous behavior, users should clamp `fromIndex` values to string
30-
index bounds before calling into `replaceBefore`.
31-
32-
- [`29d7b0d`](https://github.com/stdlib-js/stdlib/commit/29d7b0dc141e1112af120eab76fa6731b8fdbe78): add support for `fromIndex`
33-
- [`29d7b0d`](https://github.com/stdlib-js/stdlib/commit/29d7b0dc141e1112af120eab76fa6731b8fdbe78): require `fromIndex` argument
34-
35-
- To migrate, users should provide an explicit `fromIndex` of `0` in
36-
order to retain previous behavior.
37-
38-
</section>
39-
40-
<!-- /.breaking-changes -->
7+
## Unreleased (2024-08-01)
418

429
<section class="commits">
4310

4411
### Commits
4512

4613
<details>
4714

48-
- [`693efb2`](https://github.com/stdlib-js/stdlib/commit/693efb2eb159d1cd25c6cffe2440e36e6a14b9b2) - **feat:** resolve negative indices relative to the last character index _(by Athan Reines)_
49-
- [`29d7b0d`](https://github.com/stdlib-js/stdlib/commit/29d7b0dc141e1112af120eab76fa6731b8fdbe78) - **feat:** add support for `fromIndex` _(by Athan Reines)_
50-
- [`6bff34f`](https://github.com/stdlib-js/stdlib/commit/6bff34fcc4cbc7c17b7ff99beed20cdd0ea1b3c0) - **style:** add missing space _(by Athan Reines)_
15+
- [`22c4d29`](https://github.com/stdlib-js/stdlib/commit/22c4d29898e2b5bb4cb071a6b7f62536027eaf28) - **docs:** remove blank line _(by Athan Reines)_
5116

5217
</details>
5318

@@ -71,45 +36,31 @@ A total of 1 person contributed to this release. Thank you to this contributor:
7136

7237
<!-- /.release -->
7338

74-
<section class="release" id="v0.2.1">
39+
<section class="release" id="v0.3.0">
7540

76-
## 0.2.1 (2024-02-21)
41+
## 0.3.0 (2024-07-26)
7742

7843
No changes reported for this release.
7944

8045
</section>
8146

8247
<!-- /.release -->
8348

84-
<section class="release" id="v0.2.0">
85-
86-
## 0.2.0 (2024-02-14)
87-
88-
<section class="commits">
89-
90-
### Commits
91-
92-
<details>
49+
<section class="release" id="v0.2.1">
9350

94-
- [`f9c75ce`](https://github.com/stdlib-js/stdlib/commit/f9c75ce726ed4e5fade8622315bb98094dad8561) - **build:** remove tslint directives _(by Philipp Burckhardt)_
51+
## 0.2.1 (2024-02-21)
9552

96-
</details>
53+
No changes reported for this release.
9754

9855
</section>
9956

100-
<!-- /.commits -->
101-
102-
<section class="contributors">
103-
104-
### Contributors
105-
106-
A total of 1 person contributed to this release. Thank you to this contributor:
57+
<!-- /.release -->
10758

108-
- Philipp Burckhardt
59+
<section class="release" id="v0.2.0">
10960

110-
</section>
61+
## 0.2.0 (2024-02-14)
11162

112-
<!-- /.contributors -->
63+
No changes reported for this release.
11364

11465
</section>
11566

@@ -129,78 +80,7 @@ No changes reported for this release.
12980

13081
## 0.1.0 (2023-09-22)
13182

132-
<section class="features">
133-
134-
### Features
135-
136-
- [`3573d92`](https://github.com/stdlib-js/stdlib/commit/3573d92955f1150eae58fb534808b7a30532a1c1) - update minimum TypeScript version
137-
- [`a7e60d8`](https://github.com/stdlib-js/stdlib/commit/a7e60d8aae80fa67f961db4221263782edc89f99) - remove CLI
138-
- [`ae68d17`](https://github.com/stdlib-js/stdlib/commit/ae68d1783e4d97a36bc6a74d8cbe8004dae79ad2) - add support for replacing the substring before the first occurrence of a search string [(#843)](https://github.com/stdlib-js/stdlib/pull/843)
139-
140-
</section>
141-
142-
<!-- /.features -->
143-
144-
<section class="breaking-changes">
145-
146-
### BREAKING CHANGES
147-
148-
- [`3573d92`](https://github.com/stdlib-js/stdlib/commit/3573d92955f1150eae58fb534808b7a30532a1c1): update minimum TypeScript version
149-
- [`a7e60d8`](https://github.com/stdlib-js/stdlib/commit/a7e60d8aae80fa67f961db4221263782edc89f99): remove CLI
150-
- [`a7e60d8`](https://github.com/stdlib-js/stdlib/commit/a7e60d8aae80fa67f961db4221263782edc89f99): remove CLI
151-
152-
- This is a \"base\" package, and thus should not normally have a CLI.
153-
The CLI has moved to `@stdlib/string-replace-before`. Users relying
154-
on the CLI should migrate to using that package.
155-
156-
</section>
157-
158-
<!-- /.breaking-changes -->
159-
160-
<section class="issues">
161-
162-
### Closed Issues
163-
164-
This release closes the following issue:
165-
166-
[#811](https://github.com/stdlib-js/stdlib/issues/811)
167-
168-
</section>
169-
170-
<!-- /.issues -->
171-
172-
<section class="commits">
173-
174-
### Commits
175-
176-
<details>
177-
178-
- [`3573d92`](https://github.com/stdlib-js/stdlib/commit/3573d92955f1150eae58fb534808b7a30532a1c1) - **feat:** update minimum TypeScript version _(by Philipp Burckhardt)_
179-
- [`440034d`](https://github.com/stdlib-js/stdlib/commit/440034de6d7d057f3afb7399b6a3951dc0749c70) - **chore:** fix indentation in package meta data [(#928)](https://github.com/stdlib-js/stdlib/pull/928) _(by stdlib-bot, Athan Reines)_
180-
- [`a7e60d8`](https://github.com/stdlib-js/stdlib/commit/a7e60d8aae80fa67f961db4221263782edc89f99) - **feat:** remove CLI _(by Athan Reines)_
181-
- [`35622d7`](https://github.com/stdlib-js/stdlib/commit/35622d74bcfebc1cd92859618f5f3bf0dcd29003) - **refactor:** clean-up implementation, tests, and docs _(by Athan Reines)_
182-
- [`ae68d17`](https://github.com/stdlib-js/stdlib/commit/ae68d1783e4d97a36bc6a74d8cbe8004dae79ad2) - **feat:** add support for replacing the substring before the first occurrence of a search string [(#843)](https://github.com/stdlib-js/stdlib/pull/843) _(by Harshita Kalani, Athan Reines, Pranav)_
183-
184-
</details>
185-
186-
</section>
187-
188-
<!-- /.commits -->
189-
190-
<section class="contributors">
191-
192-
### Contributors
193-
194-
A total of 4 people contributed to this release. Thank you to the following contributors:
195-
196-
- Athan Reines
197-
- Harshita Kalani
198-
- Philipp Burckhardt
199-
- Pranav
200-
201-
</section>
202-
203-
<!-- /.contributors -->
83+
No changes reported for this release.
20484

20585
</section>
20686

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,8 +200,8 @@ Copyright &copy; 2016-2024. The Stdlib [Authors][stdlib-authors].
200200
[npm-image]: http://img.shields.io/npm/v/@stdlib/string-base-replace-before.svg
201201
[npm-url]: https://npmjs.org/package/@stdlib/string-base-replace-before
202202

203-
[test-image]: https://github.com/stdlib-js/string-base-replace-before/actions/workflows/test.yml/badge.svg?branch=v0.3.0
204-
[test-url]: https://github.com/stdlib-js/string-base-replace-before/actions/workflows/test.yml?query=branch:v0.3.0
203+
[test-image]: https://github.com/stdlib-js/string-base-replace-before/actions/workflows/test.yml/badge.svg?branch=main
204+
[test-url]: https://github.com/stdlib-js/string-base-replace-before/actions/workflows/test.yml?query=branch:main
205205

206206
[coverage-image]: https://img.shields.io/codecov/c/github/stdlib-js/string-base-replace-before/main.svg
207207
[coverage-url]: https://codecov.io/github/stdlib-js/string-base-replace-before?branch=main

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@
3838
},
3939
"dependencies": {},
4040
"devDependencies": {
41-
"@stdlib/assert-is-string": "^0.2.1",
41+
"@stdlib/assert-is-string": "^0.2.2",
4242
"tape": "git+https://github.com/kgryte/tape.git#fix/globby",
4343
"istanbul": "^0.4.1",
4444
"tap-min": "git+https://github.com/Planeshifter/tap-min.git",
45-
"@stdlib/bench-harness": "^0.2.1"
45+
"@stdlib/bench-harness": "^0.2.2"
4646
},
4747
"engines": {
4848
"node": ">=0.10.0",

0 commit comments

Comments
 (0)