left-phalange-api
Advanced tools
Comparing version 1.1.11 to 1.1.12
@@ -15,2 +15,3 @@ 'use strict'; | ||
var importFresh = _interopDefault(require('import-fresh')); | ||
var esm$1 = _interopDefault(require('esm')); | ||
@@ -53,2 +54,10 @@ function parserToLoader(parser) { | ||
var utils = /*#__PURE__*/Object.freeze({ | ||
__proto__: null, | ||
parserToLoader: parserToLoader, | ||
getFileType: getFileType, | ||
wrap: wrap, | ||
interopDefault: interopDefault | ||
}); | ||
function yamlParse(content, {filename = ''} = {}) { | ||
@@ -74,4 +83,2 @@ return jsYaml.safeLoad(content, {filename}) | ||
var parser = /*#__PURE__*/Object.freeze({ | ||
@@ -86,3 +93,13 @@ __proto__: null, | ||
const esmRequire = require('esm')(module, { | ||
function createCommonjsModule(fn, module) { | ||
return module = { exports: {} }, fn(module, module.exports), module.exports; | ||
} | ||
var esm_1 = createCommonjsModule(function (module) { | ||
// Rollup can't bundle this, if write in ES Module | ||
const {wrap, interopDefault} = utils; | ||
const esmRequire = esm$1(module, { | ||
cjs: { | ||
@@ -97,3 +114,4 @@ cache: false, | ||
var esm = wrap(esmRequire, interopDefault); | ||
module.exports = wrap(esmRequire, interopDefault); | ||
}); | ||
@@ -105,7 +123,7 @@ const yaml = parserToLoader(yamlParse); | ||
const json = parserToLoader(jsonParse); | ||
const js = esm; | ||
const js = esm_1; | ||
var loader = /*#__PURE__*/Object.freeze({ | ||
__proto__: null, | ||
esm: esm, | ||
esm: esm_1, | ||
yaml: yaml, | ||
@@ -168,5 +186,5 @@ json5: json5, | ||
var cjs = wrap(json5Stringify, string => `module.exports = ${string};`); | ||
var cjs = wrap(json5Stringify, (string) => `module.exports = ${string};`); | ||
var esm$1 = wrap(json5Stringify, string => `export default ${string};`); | ||
var esm = wrap(json5Stringify, (string) => `export default ${string};`); | ||
@@ -179,4 +197,2 @@ function iniStringify(data, {pretty = false} = {}) { | ||
var stringifier = /*#__PURE__*/Object.freeze({ | ||
@@ -189,3 +205,3 @@ __proto__: null, | ||
cjs: cjs, | ||
esm: esm$1, | ||
esm: esm, | ||
ini: iniStringify | ||
@@ -192,0 +208,0 @@ }); |
{ | ||
"name": "left-phalange-api", | ||
"version": "1.1.11", | ||
"version": "1.1.12", | ||
"description": "CommonJS, ESModule, INI, JSON, JSON5, TOML, YAML data loader, parser and stringifier", | ||
@@ -83,3 +83,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@iarna/toml": "2.2.3", | ||
"@iarna/toml": "2.2.5", | ||
"ansi-colors": "4.1.1", | ||
@@ -90,3 +90,3 @@ "esm": "3.2.25", | ||
"js-yaml": "3.13.1", | ||
"json5": "2.1.1", | ||
"json5": "2.1.3", | ||
"parse-json": "5.0.0" | ||
@@ -97,20 +97,21 @@ }, | ||
"@fisker/commitlint-config": "1.1.7", | ||
"@fisker/eslint-config": "1.6.6", | ||
"@fisker/husky-config": "1.1.9", | ||
"@fisker/lint-staged-config": "1.0.11", | ||
"@fisker/prettier-config": "1.0.28", | ||
"@rollup/plugin-commonjs": "11.0.2", | ||
"@rollup/plugin-json": "4.0.2", | ||
"ava": "3.3.0", | ||
"@fisker/eslint-config": "2.2.2", | ||
"@fisker/husky-config": "2.1.1", | ||
"@fisker/lint-staged-config": "2.1.0", | ||
"@fisker/prettier-config": "2.2.0", | ||
"@rollup/plugin-commonjs": "11.1.0", | ||
"@rollup/plugin-json": "4.0.3", | ||
"ava": "3.8.0", | ||
"cz-conventional-changelog": "3.1.0", | ||
"del-cli": "3.0.0", | ||
"eslint": "6.8.0", | ||
"husky": "4.2.3", | ||
"lint-staged": "10.0.7", | ||
"husky": "4.2.5", | ||
"lint-staged": "10.1.7", | ||
"markdownlint-cli": "0.22.0", | ||
"npm-run-all": "4.1.5", | ||
"nyc": "15.0.0", | ||
"prettier": "1.19.1", | ||
"rollup": "1.31.1", | ||
"sort-package-json": "1.40.0", | ||
"nyc": "15.0.1", | ||
"outdent": "0.7.1", | ||
"prettier": "2.0.5", | ||
"rollup": "2.7.2", | ||
"sort-package-json": "1.42.1", | ||
"temp-write": "4.0.0" | ||
@@ -117,0 +118,0 @@ }, |
Sorry, the diff of this file is not supported yet
15756
357
22
+ Added@iarna/toml@2.2.5(transitive)
+ Addedjson5@2.1.3(transitive)
- Removed@iarna/toml@2.2.3(transitive)
- Removedjson5@2.1.1(transitive)
Updated@iarna/toml@2.2.5
Updatedjson5@2.1.3