New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@qiwi/uniconfig

Package Overview
Dependencies
Maintainers
5
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qiwi/uniconfig - npm Package Compare versions

Comparing version 1.9.0 to 1.11.0

dist/es5/parser/parserEntryRegistry.js

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [@qiwi/uniconfig-v1.11.0](https://github.com/qiwi/uniconfig/compare/v1.10.0...v1.11.0) (2018-07-11)
### Features
* add `parserEntryRegistry` ([3b91699](https://github.com/qiwi/uniconfig/commit/3b91699))
# [@qiwi/uniconfig-v1.9.0](https://github.com/qiwi/uniconfig/compare/v1.8.0...v1.9.0) (2018-07-11)

@@ -2,0 +9,0 @@

47

dist/es5/context.js

@@ -6,2 +6,3 @@ 'use strict';

});
exports.default = createContext;

@@ -16,6 +17,2 @@ var _processor = require('./processor');

var _parser = require('./parser');
var _parser2 = _interopRequireDefault(_parser);
var _source = require('./source');

@@ -25,9 +22,39 @@

var _abstractComponent = require('./core/abstractComponent');
var _abstractComponent2 = _interopRequireDefault(_abstractComponent);
var _parserEntryRegistry = require('./parser/parserEntryRegistry');
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
exports.default = {
processor: _processor2.default,
api: _api2.default,
parser: _parser2.default,
source: _source2.default
};
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
var Context = function (_AbstractComponent) {
_inherits(Context, _AbstractComponent);
function Context() {
var _ret;
_classCallCheck(this, Context);
var _this = _possibleConstructorReturn(this, (Context.__proto__ || Object.getPrototypeOf(Context)).call(this));
_this.parser = new _parserEntryRegistry.ParserEntryRegistry();
_this.api = _api2.default;
_this.processor = _processor2.default;
_this.source = _source2.default;
return _ret = _this, _possibleConstructorReturn(_this, _ret);
}
return Context;
}(_abstractComponent2.default);
function createContext() {
return new Context();
}

@@ -8,15 +8,8 @@ 'use strict';

exports.rollbackPlugin = rollbackPlugin;
var _context = require('../context');
var _context2 = _interopRequireDefault(_context);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function rollupPlugin(plugin) {
plugin.rollup(_context2.default);
function rollupPlugin(plugin, context) {
plugin.rollup(context);
}
function rollbackPlugin(plugin) {
plugin.rollback(_context2.default);
function rollbackPlugin(plugin, context) {
plugin.rollback(context);
}

@@ -5,10 +5,27 @@ //

import api from './api'
import parser from './parser'
import source from './source'
import AbstractComponent from './core/abstractComponent'
import {ParserEntryRegistry} from './parser/parserEntryRegistry'
export default {
processor,
api,
parser,
source
class Context extends AbstractComponent {
constructor() {
super()
this.parser = new ParserEntryRegistry()
this.api = api
this.processor = processor
this.source = source
return this
}
}
export default function createContext() {
return new Context()
}

@@ -59,2 +59,8 @@ //

@@ -113,3 +119,3 @@

@@ -116,0 +122,0 @@

//
import context from '../context'
export function rollupPlugin (plugin ) {
export function rollupPlugin (plugin , context ) {
plugin.rollup(context)
}
export function rollbackPlugin (plugin ) {
export function rollbackPlugin (plugin , context ) {
plugin.rollback(context)
}
{
"name": "@qiwi/uniconfig",
"version": "1.9.0",
"version": "1.11.0",
"description": "Yet another one config processor. Weird. Slow. Our own.",

@@ -5,0 +5,0 @@ "main": "dist/es6/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc