Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

message-box

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

message-box - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

16

dist/MessageBox.js

@@ -14,9 +14,9 @@ 'use strict';

var _lodash = require('lodash.merge');
var _merge = require('lodash/merge');
var _lodash2 = _interopRequireDefault(_lodash);
var _merge2 = _interopRequireDefault(_merge);
var _lodash3 = require('lodash.template');
var _template = require('lodash/template');
var _lodash4 = _interopRequireDefault(_lodash3);
var _template2 = _interopRequireDefault(_template);

@@ -86,3 +86,3 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

if (messages) {
if (globalMessages) messages = (0, _lodash2.default)({}, globalMessages, messages);
if (globalMessages) messages = (0, _merge2.default)({}, globalMessages, messages);
} else {

@@ -125,3 +125,3 @@ messages = globalMessages;

if (typeof message === 'string') {
message = (0, _lodash4.default)(message, {
message = (0, _template2.default)(message, {
interpolate: this.interpolate,

@@ -140,3 +140,3 @@ evaluate: this.evaluate,

value: function messages(_messages) {
(0, _lodash2.default)(this.messageList, _messages);
(0, _merge2.default)(this.messageList, _messages);
}

@@ -173,3 +173,3 @@ }, {

if (!MessageBox.messages) MessageBox.messages = {};
(0, _lodash2.default)(MessageBox.messages, messages);
(0, _merge2.default)(MessageBox.messages, messages);
}

@@ -176,0 +176,0 @@ }

{
"name": "message-box",
"version": "0.2.0",
"version": "0.2.1",
"description": "A package for defining and getting validation error messages, with support for Meteor Tracker reactivity",

@@ -24,15 +24,14 @@ "author": "Eric Dobbertin <aldeed@gmail.com>",

"prepare": "npm run build",
"test": "mocha --compilers js:babel-core/register --recursive 'lib/**/*.tests.js'",
"test": "mocha --require babel-core/register --recursive 'lib/**/*.tests.js'",
"test:watch": "npm test -- --watch"
},
"dependencies": {
"lodash.merge": "^4.6.0",
"lodash.template": "^4.4.0"
"lodash": "^4.17.11"
},
"devDependencies": {
"babel-cli": "^6.9.0",
"babel-core": "^6.9.1",
"babel-cli": "^6.26.0",
"babel-core": "^6.26.3",
"babel-eslint": "^6.0.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-0": "^6.5.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"eslint": "^2.11.1",

@@ -44,4 +43,4 @@ "eslint-config-airbnb": "^9.0.1",

"expect": "^1.20.1",
"mocha": "^2.5.3"
"mocha": "^6.0.2"
}
}
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