mirror of
https://github.com/bcomnes/deploy-to-neocities.git
synced 2026-01-16 22:56:28 +00:00
1.1.13
This commit is contained in:
parent
e04c11b5e4
commit
e3e555927c
13
CHANGELOG.md
13
CHANGELOG.md
@ -7,7 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
||||||
|
|
||||||
## [v1.1.12](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.11...v1.1.12)
|
## [v1.1.13](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.12...v1.1.13)
|
||||||
|
|
||||||
|
### Merged
|
||||||
|
|
||||||
|
- chore(deps): bump minimatch from 5.1.1 to 5.1.2 [`#115`](https://github.com/bcomnes/deploy-to-neocities/pull/115)
|
||||||
|
|
||||||
|
### Commits
|
||||||
|
|
||||||
|
- Update example to use actions v3 [`97a3bdd`](https://github.com/bcomnes/deploy-to-neocities/commit/97a3bdd7ff2cb7dd8a61969d6a3a8029d331bd29)
|
||||||
|
- Update README.md [`5dda7b9`](https://github.com/bcomnes/deploy-to-neocities/commit/5dda7b9d7afe5f87039e8bff30d1dd6d5eeb793e)
|
||||||
|
|
||||||
|
## [v1.1.12](https://github.com/bcomnes/deploy-to-neocities/compare/v1.1.11...v1.1.12) - 2022-12-20
|
||||||
|
|
||||||
### Merged
|
### Merged
|
||||||
|
|
||||||
|
|||||||
25
dist/index.js
vendored
25
dist/index.js
vendored
@ -6365,7 +6365,9 @@ minimatch.match = (list, pattern, options = {}) => {
|
|||||||
|
|
||||||
// replace stuff like \* with *
|
// replace stuff like \* with *
|
||||||
const globUnescape = s => s.replace(/\\(.)/g, '$1')
|
const globUnescape = s => s.replace(/\\(.)/g, '$1')
|
||||||
|
const charUnescape = s => s.replace(/\\([^-\]])/g, '$1')
|
||||||
const regExpEscape = s => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&')
|
const regExpEscape = s => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&')
|
||||||
|
const braExpEscape = s => s.replace(/[[\]\\]/g, '\\$&')
|
||||||
|
|
||||||
class Minimatch {
|
class Minimatch {
|
||||||
constructor (pattern, options) {
|
constructor (pattern, options) {
|
||||||
@ -6700,6 +6702,11 @@ class Minimatch {
|
|||||||
}
|
}
|
||||||
|
|
||||||
case '\\':
|
case '\\':
|
||||||
|
if (inClass && pattern.charAt(i + 1) === '-') {
|
||||||
|
re += c
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
clearStateChar()
|
clearStateChar()
|
||||||
escaping = true
|
escaping = true
|
||||||
continue
|
continue
|
||||||
@ -6812,8 +6819,6 @@ class Minimatch {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
// handle the case where we left a class open.
|
|
||||||
// "[z-a]" is valid, equivalent to "\[z-a\]"
|
|
||||||
// split where the last [ was, make sure we don't have
|
// split where the last [ was, make sure we don't have
|
||||||
// an invalid re. if so, re-walk the contents of the
|
// an invalid re. if so, re-walk the contents of the
|
||||||
// would-be class to re-translate any characters that
|
// would-be class to re-translate any characters that
|
||||||
@ -6823,20 +6828,16 @@ class Minimatch {
|
|||||||
// to do safely. For now, this is safe and works.
|
// to do safely. For now, this is safe and works.
|
||||||
cs = pattern.substring(classStart + 1, i)
|
cs = pattern.substring(classStart + 1, i)
|
||||||
try {
|
try {
|
||||||
RegExp('[' + cs + ']')
|
RegExp('[' + braExpEscape(charUnescape(cs)) + ']')
|
||||||
|
// looks good, finish up the class.
|
||||||
|
re += c
|
||||||
} catch (er) {
|
} catch (er) {
|
||||||
// not a valid class!
|
// out of order ranges in JS are errors, but in glob syntax,
|
||||||
sp = this.parse(cs, SUBPARSE)
|
// they're just a range that matches nothing.
|
||||||
re = re.substring(0, reClassStart) + '\\[' + sp[0] + '\\]'
|
re = re.substring(0, reClassStart) + '(?:$.)' // match nothing ever
|
||||||
hasMagic = hasMagic || sp[1]
|
|
||||||
inClass = false
|
|
||||||
continue
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// finish up the class.
|
|
||||||
hasMagic = true
|
hasMagic = true
|
||||||
inClass = false
|
inClass = false
|
||||||
re += c
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
default:
|
default:
|
||||||
|
|||||||
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "deploy-to-neocities",
|
"name": "deploy-to-neocities",
|
||||||
"description": "Github Action to deplpoy a folder to Neocities.org",
|
"description": "Github Action to deplpoy a folder to Neocities.org",
|
||||||
"version": "1.1.12",
|
"version": "1.1.13",
|
||||||
"author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io/)",
|
"author": "Bret Comnes <bcomnes@gmail.com> (https://bret.io/)",
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "https://github.com/bcomnes/deploy-to-neocities/issues"
|
"url": "https://github.com/bcomnes/deploy-to-neocities/issues"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user