From d1c722ad9080e95c8519752e4978a760b6fa0adc Mon Sep 17 00:00:00 2001 From: ssube Date: Tue, 30 Jun 2020 08:41:35 -0500 Subject: [PATCH] upgrade: js-utils to fix fs imports --- CHANGELOG.md | 28 ++++++++++++++++++++++++++++ package.json | 4 ++-- yarn.lock | 8 ++++---- 3 files changed, 34 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04dea42..cf01d6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/package.json b/package.json index 804ca57..c589721 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index 0c83b03..1e048ae 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"