@qiwi/uniconfig-plugin-json
Advanced tools
Comparing version 3.2.2 to 3.3.0
@@ -0,1 +1,8 @@ | ||
# [@qiwi/uniconfig-plugin-json-v3.3.0](https://github.com/qiwi/uniconfig/compare/v3.2.2...v3.3.0) (2020-01-29) | ||
### Features | ||
* **core:** pass execution context to pipe handlers ([9ca0ef8](https://github.com/qiwi/uniconfig/commit/9ca0ef81a0b2ead9215517e02b44564763547d39)) | ||
# [@qiwi/uniconfig-plugin-json-v3.2.2](https://github.com/qiwi/uniconfig/compare/v3.2.1...v3.2.2) (2019-12-29) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@qiwi/uniconfig-plugin-json", | ||
"version": "3.2.2", | ||
"version": "3.3.0", | ||
"description": "Uniconfig json parser plugin", | ||
@@ -9,3 +9,4 @@ "main": "target/es5/index.js", | ||
"clean": "rm -rf target", | ||
"jest": "NODE_ENV=test jest -w 1 --detectOpenHandles --config jest.config.json", | ||
"jest": "NODE_ENV=test BAZ=baz jest -w 1 --config jest.config.json", | ||
"test": "yarn run jest", | ||
"build:es5": "mkdir -p target/es5 && tsc -p tsconfig.build.json --target ES5 --outDir target/es5 -m CommonJS", | ||
@@ -30,3 +31,3 @@ "build:es6": "mkdir -p target/es6 && tsc -p tsconfig.build.json --target ES6 --outDir target/es6", | ||
"dependencies": { | ||
"@qiwi/uniconfig-core": "^3.2.1", | ||
"@qiwi/uniconfig-core": "^3.2.2", | ||
"tslib": "^1.10.0" | ||
@@ -40,8 +41,10 @@ }, | ||
"devDependencies": { | ||
"typescript": "3.7.4", | ||
"@types/node": "^13.1.1", | ||
"ts-jest": "^24.2.0", | ||
"@types/jest": "^24.0.25", | ||
"jest": "^24.9.0" | ||
"typescript": "3.7.5", | ||
"@types/node": "^13.5.1", | ||
"ts-jest": "^25.0.0", | ||
"@types/jest": "^25.1.0", | ||
"jest": "^25.1.0", | ||
"@qiwi/uniconfig-plugin-datatree": "^3.2.2", | ||
"@qiwi/uniconfig-plugin-api-file": "^3.2.2" | ||
} | ||
} |
@@ -7,6 +7,6 @@ "use strict"; | ||
name: exports.name, | ||
handleSync: function (data) { | ||
handleSync: function (_context, data) { | ||
return exports.parse(data); | ||
}, | ||
handle: function (data) { | ||
handle: function (_context, data) { | ||
return Promise.resolve(exports.parse(data)); | ||
@@ -13,0 +13,0 @@ }, |
@@ -5,6 +5,6 @@ export const name = 'json'; | ||
name, | ||
handleSync(data) { | ||
handleSync(_context, data) { | ||
return parse(data); | ||
}, | ||
handle(data) { | ||
handle(_context, data) { | ||
return Promise.resolve(parse(data)); | ||
@@ -11,0 +11,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
7879
7
Updated@qiwi/uniconfig-core@^3.2.2