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

vue-server

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-server - npm Package Compare versions

Comparing version 0.4.0-beta.6 to 0.4.0-beta.7

test/spec/globalAssets.spec.js

3

package.json
{
"name": "vue-server",
"version": "0.4.0-beta.6",
"version": "0.4.0-beta.7",
"description": "Vue.js server side version",

@@ -11,3 +11,2 @@ "main": "index.js",

"dependencies": {
"colors": "^1.1.2",
"html-entities": "^1.1.2",

@@ -14,0 +13,0 @@ "htmlparser2": "^3.8.3",

@@ -257,12 +257,8 @@ var Path = require('./../parsers/path');

if (options.partials) {
for (var name in options.partials) {
(function () {
options.partials[name] = common.prepareTemplate(
options.partials[name],
'Partial "' + name + '"'
);
})();
options.partials[name] = common.prepareTemplate(
options.partials[name],
'Partial "' + name + '"'
);
}
}

@@ -269,0 +265,0 @@

@@ -26,2 +26,10 @@ var _ = require('underscore');

// Precompiling global partials
for (var name in this._partials) {
this._partials[name] = common.prepareTemplate(
this._partials[name],
'Partial "' + name + '"'
);
}
common.$logger = that.logger;

@@ -82,3 +90,3 @@ scope.$logger = that.logger;

VueRoot.prototype.component = function (id, component) {
VueRoot.component = function (id, component) {
if (!component) {

@@ -94,3 +102,3 @@ this.logger.debug('global component\'s content is empty: "' + id + '"');

VueRoot.prototype.filter = function (id, filter) {
VueRoot.filter = function (id, filter) {
if (!filter) {

@@ -106,3 +114,3 @@ this.logger.debug('global filter\'s content is empty: "' + id + '"');

VueRoot.prototype.partial = function (id, partial) {
VueRoot.partial = function (id, partial) {
if (!partial) {

@@ -118,2 +126,10 @@ this.logger.debug('global partial\'s content is empty: "' + id + '"');

Object.defineProperty(VueRoot, 'mixin', {
get: function () {
return this.prototype.mixin;
},
set: function (val) {
this.prototype.mixin = val;
}
});

@@ -179,11 +195,2 @@ // Check for VM ready

Object.defineProperty(VueRoot, 'mixin', {
get: function () {
return this.prototype.mixin;
},
set: function (val) {
this.prototype.mixin = val;
}
});
VueRoot.prototype._logger = logger;

@@ -190,0 +197,0 @@

@@ -1,3 +0,1 @@

var colors = require('colors');
var toString = ({}).toString,

@@ -4,0 +2,0 @@ def = Object.defineProperty,

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