1
0
Fork 0

upgrade: js-utils to fix fs imports

This commit is contained in:
ssube 2020-06-30 08:41:35 -05:00
parent 77b6f4cc74
commit d1c722ad90
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
3 changed files with 34 additions and 6 deletions

View File

@ -2,6 +2,34 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [0.3.0-0](///compare/v0.2.0...v0.3.0-0) (2020-06-30)
### ⚠ BREAKING CHANGES
* **include:** rather than use the `fs` functions (`existsSync`,
`readSync`, etc) to include files, this uses fields of the `includeSchema`.
To maintain the previous functionality, fields should be set as follows:
- `exists = existsSync`
- `read = readSync`
- `resolve = realpathSync`
* **build:** removes the umd module in favor of a smaller, standard
ES module. Consumers will need native support for ES modules (recent
evergreen browsers) or a bundler with the same (rollup, webpack, etc).
### Features
* **build:** bundle as ES module 4165928
* **include:** allow consumer to provide fs functions via include schema 77b6f4c
### Bug Fixes
* **build:** add chunk for linked modules to fix cyclical imports, sort test modules into test chunk bc06121
* **test:** cover app main and stream type 87e55c8
* **test:** remove problematic invocation of main from index 3361099
## [0.2.0](///compare/v0.1.1...v0.2.0) (2020-03-29)

View File

@ -1,6 +1,6 @@
{
"name": "@apextoaster/js-yaml-schema",
"version": "0.2.0",
"version": "0.3.0-0",
"description": "Extended JS-YAML schema",
"keywords": [
"js-yaml",
@ -11,7 +11,7 @@
"author": "ssube",
"license": "MIT",
"devDependencies": {
"@apextoaster/js-utils": "0.1.8",
"@apextoaster/js-utils": "0.2.0-0",
"@istanbuljs/nyc-config-typescript": "1.0.1",
"@microsoft/api-documenter": "7.8.19",
"@microsoft/api-extractor": "7.7.13",

View File

@ -2,10 +2,10 @@
# yarn lockfile v1
"@apextoaster/js-utils@0.1.8":
version "0.1.8"
resolved "https://artifacts.apextoaster.com/repository/group-npm/@apextoaster/js-utils/-/js-utils-0.1.8.tgz#1cb56b9f619d8c68bfafed6f612b50d3baabf1cf"
integrity sha512-sFFcTPOLKhUbevFrXJGmoBQARz7hTwDOn8QxI4ndMac8EB6T6Ezxm2Ay/f/gZEdQvI1wOS1jH+vwleID/YigEg==
"@apextoaster/js-utils@0.2.0-0":
version "0.2.0-0"
resolved "https://artifacts.apextoaster.com/repository/group-npm/@apextoaster/js-utils/-/js-utils-0.2.0-0.tgz#9795d560049da5a598d8d3318fa79ca762da9a96"
integrity sha512-rzW/US4Pd+Az62EXEPQd3CIRCyWgcaON4/cmHwCuchldN9QcYPJ15R2GJIggjfh/l4sg8A38ZRO2MFBlpiw2Rw==
"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.5.5":
version "7.5.5"