Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
1,174 additions
and
4,292 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# These are supported funding model platforms | ||
|
||
github: streamich |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
8.16.0 | ||
8.16.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,68 @@ | ||
## [2.15.4](https://github.com/streamich/memfs/compare/v2.15.3...v2.15.4) (2019-06-01) | ||
## [2.17.1](https://github.com/streamich/memfs/compare/v2.17.0...v2.17.1) (2019-11-26) | ||
|
||
### Bug Fixes | ||
|
||
- set-up semantic-release packages ([0554c7e](https://github.com/streamich/memfs/commit/0554c7e9ae472e4a3f7afe47d5aa990abd7f05bf)) | ||
|
||
## [2.15.5](https://github.com/streamich/memfs/compare/v2.15.4...v2.15.5) (2019-07-16) | ||
|
||
### Bug Fixes | ||
|
||
* 🐛 accept `null` as value in `fromJSON` functions ([9e1af7d](https://github.com/streamich/memfs/commit/9e1af7d)) | ||
* 🐛 annotate return type of `toJSON` functions ([6609840](https://github.com/streamich/memfs/commit/6609840)) | ||
- check for process ([8b9b00c](https://github.com/streamich/memfs/commit/8b9b00c)) | ||
- check for process ([#396](https://github.com/streamich/memfs/issues/396)) ([2314dad](https://github.com/streamich/memfs/commit/2314dad)) | ||
|
||
## [2.15.3](https://github.com/streamich/memfs/compare/v2.15.2...v2.15.3) (2019-06-01) | ||
## [2.15.4](https://github.com/streamich/memfs/compare/v2.15.3...v2.15.4) (2019-06-01) | ||
|
||
### Bug Fixes | ||
|
||
- 🐛 accept `null` as value in `fromJSON` functions ([9e1af7d](https://github.com/streamich/memfs/commit/9e1af7d)) | ||
- 🐛 annotate return type of `toJSON` functions ([6609840](https://github.com/streamich/memfs/commit/6609840)) | ||
|
||
## [2.15.3](https://github.com/streamich/memfs/compare/v2.15.2...v2.15.3) (2019-06-01) | ||
|
||
### Bug Fixes | ||
|
||
* 🐛 mocks process.emitWarning for browser compatibility ([e3456b2](https://github.com/streamich/memfs/commit/e3456b2)), closes [#374](https://github.com/streamich/memfs/issues/374) | ||
- 🐛 mocks process.emitWarning for browser compatibility ([e3456b2](https://github.com/streamich/memfs/commit/e3456b2)), closes [#374](https://github.com/streamich/memfs/issues/374) | ||
|
||
## [2.15.2](https://github.com/streamich/memfs/compare/v2.15.1...v2.15.2) (2019-02-16) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* 🐛 BigInt type handling ([c640f25](https://github.com/streamich/memfs/commit/c640f25)) | ||
- 🐛 BigInt type handling ([c640f25](https://github.com/streamich/memfs/commit/c640f25)) | ||
|
||
## [2.15.1](https://github.com/streamich/memfs/compare/v2.15.0...v2.15.1) (2019-02-09) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* 🐛 show directory path when throwing EISDIR in mkdir ([9dc7007](https://github.com/streamich/memfs/commit/9dc7007)) | ||
* 🐛 throw when creating root directory ([f77fa8b](https://github.com/streamich/memfs/commit/f77fa8b)), closes [#325](https://github.com/streamich/memfs/issues/325) | ||
- 🐛 show directory path when throwing EISDIR in mkdir ([9dc7007](https://github.com/streamich/memfs/commit/9dc7007)) | ||
- 🐛 throw when creating root directory ([f77fa8b](https://github.com/streamich/memfs/commit/f77fa8b)), closes [#325](https://github.com/streamich/memfs/issues/325) | ||
|
||
# [2.15.0](https://github.com/streamich/memfs/compare/v2.14.2...v2.15.0) (2019-01-27) | ||
|
||
|
||
### Features | ||
|
||
* **volume:** add env variable to suppress fs.promise api warnings ([e6b6d0a](https://github.com/streamich/memfs/commit/e6b6d0a)) | ||
- **volume:** add env variable to suppress fs.promise api warnings ([e6b6d0a](https://github.com/streamich/memfs/commit/e6b6d0a)) | ||
|
||
## [2.14.2](https://github.com/streamich/memfs/compare/v2.14.1...v2.14.2) (2018-12-11) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* fds to start from 0x7fffffff instead of 0xffffffff ([#277](https://github.com/streamich/memfs/issues/277)) ([31e44ba](https://github.com/streamich/memfs/commit/31e44ba)) | ||
- fds to start from 0x7fffffff instead of 0xffffffff ([#277](https://github.com/streamich/memfs/issues/277)) ([31e44ba](https://github.com/streamich/memfs/commit/31e44ba)) | ||
|
||
## [2.14.1](https://github.com/streamich/memfs/compare/v2.14.0...v2.14.1) (2018-11-29) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* don't copy legacy files into dist ([ab8ffbb](https://github.com/streamich/memfs/commit/ab8ffbb)), closes [#263](https://github.com/streamich/memfs/issues/263) | ||
- don't copy legacy files into dist ([ab8ffbb](https://github.com/streamich/memfs/commit/ab8ffbb)), closes [#263](https://github.com/streamich/memfs/issues/263) | ||
|
||
# [2.14.0](https://github.com/streamich/memfs/compare/v2.13.1...v2.14.0) (2018-11-12) | ||
|
||
|
||
### Features | ||
|
||
* add bigint option support ([00a017e](https://github.com/streamich/memfs/commit/00a017e)) | ||
- add bigint option support ([00a017e](https://github.com/streamich/memfs/commit/00a017e)) | ||
|
||
## [2.13.1](https://github.com/streamich/memfs/compare/v2.13.0...v2.13.1) (2018-11-11) | ||
|
||
|
||
### Bug Fixes | ||
|
||
* 🐛 don't install semantic-release, incompat with old Node ([cd2b69c](https://github.com/streamich/memfs/commit/cd2b69c)) | ||
- 🐛 don't install semantic-release, incompat with old Node ([cd2b69c](https://github.com/streamich/memfs/commit/cd2b69c)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { create } from '../util'; | ||
|
||
describe('.realpath(...)', () => { | ||
it('works with symlinks, #463', () => { | ||
const vol = create({}); | ||
vol.mkdirSync('/a'); | ||
vol.mkdirSync('/c'); | ||
vol.writeFileSync('/c/index.js', 'alert(123);'); | ||
vol.symlinkSync('/c', '/a/b'); | ||
|
||
const path = vol.realpathSync('/a/b/index.js'); | ||
expect(path).toBe('/c/index.js'); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import { create } from '../util'; | ||
|
||
describe('.statSync(...)', () => { | ||
it('works with symlinks, #463', () => { | ||
const vol = create({}); | ||
vol.mkdirSync('/a'); | ||
vol.mkdirSync('/c'); | ||
vol.writeFileSync('/c/index.js', 'alert(123);'); | ||
vol.symlinkSync('/c', '/a/b'); | ||
|
||
const stats = vol.statSync('/a/b/index.js'); | ||
expect(stats.size).toBe(11); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { create } from '../util'; | ||
|
||
describe('toString', () => { | ||
it('allow files to be named "toString", #463', () => { | ||
const vol = create({}); | ||
vol.writeFileSync('/toString', 'pwned'); | ||
|
||
expect(vol.readFileSync('/toString', 'utf8')).toBe('pwned'); | ||
expect(vol.toJSON()).toEqual({ | ||
'/toString': 'pwned', | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { Buffer } from 'buffer'; | ||
|
||
function bufferV0P12Ponyfill(arg0: any, ...args: any): Buffer { | ||
return new Buffer(arg0, ...args); | ||
} | ||
|
||
const bufferAllocUnsafe = Buffer.allocUnsafe || bufferV0P12Ponyfill; | ||
const bufferFrom = Buffer.from || bufferV0P12Ponyfill; | ||
|
||
export { Buffer, bufferAllocUnsafe, bufferFrom }; |
Oops, something went wrong.