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

assetgraph

Package Overview
Dependencies
Maintainers
1
Versions
569
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

assetgraph - npm Package Compare versions

Comparing version 0.3.42 to 0.3.43

lib/relations/CssFontFaceSrc.js

15

lib/assets/Css.js

@@ -114,2 +114,17 @@ var util = require('util'),

}));
} else if (cssRule.type === cssom.CSSRule.FONT_FACE_RULE) {
var src = cssRule.style.getPropertyValue('src');
if (src) {
var urlMatch = src.match(/\burl\((\'|\"|)([^\'\"]+?)\1\)/);
if (urlMatch) {
outgoingRelations.push(new relations.CssFontFaceSrc({
from: this,
to: {
url: urlMatch[2]
},
parentRule: parentRuleOrStylesheet,
cssRule: cssRule
}));
}
}
} else if (cssRule.type === cssom.CSSRule.STYLE_RULE) {

@@ -116,0 +131,0 @@ var style = cssRule.style;

2

lib/assets/Image.js

@@ -15,2 +15,4 @@ var util = require('util'),

contentType: null, // Avoid reregistering application/octet-stream
defaultEncoding: null

@@ -17,0 +19,0 @@ });

@@ -23,5 +23,12 @@ /*global require, module*/

alternativeExtensions: [] // Avoid reregistering xhtml etc.
alternativeExtensions: [], // Avoid reregistering xhtml etc.
minify: function () {
this._reformatParseTree(true, false); // Don't strip comments (they're used by the templating logic)
this.isPretty = false;
this.markDirty();
return this;
}
});
module.exports = KnockoutJsTemplate;

@@ -22,2 +22,4 @@ var util = require('util'),

contentType: null, // Avoid reregistering application/octet-stream
findOutgoingRelationsInParseTree: function () {

@@ -24,0 +26,0 @@ var outgoingRelations = [];

5

lib/query.js
var _ = require('underscore'),
query = {};
query = module.exports = {};

@@ -68,2 +68,3 @@ query.createValueMatcher = function (value) {

query.queryAssetGraph = function (assetGraph, objType, queryObj) {
queryObj = queryObj || {};
var numFields = 0,

@@ -147,3 +148,1 @@ filters = [];

};
_.extend(exports, query);

@@ -11,3 +11,3 @@ var path = require('path'),

} catch (e) {
throw new Error('transforms.compileLessToCss: The "less" module is required. Please run "npm install less" and try again (tested with version 1.1.6).');
throw new Error('transforms.compileLessToCss: The "less" module is required. Please run "npm install less" and try again (tested with version 1.2.1).');
}

@@ -14,0 +14,0 @@

@@ -11,3 +11,3 @@ var path = require('path'),

} catch (e) {
throw new Error('transforms.compileStylusToCss: The "stylus" module is required. Please run "npm install stylus" and try again (tested with version 0.22.2).');
throw new Error('transforms.compileStylusToCss: The "stylus" module is required. Please run "npm install stylus" and try again (tested with version 0.23.0).');
}

@@ -14,0 +14,0 @@

@@ -7,3 +7,3 @@ var path = require('path'),

} catch (e) {
throw new Error('transforms.drawGraph: The "graphviz" module is required. Please run "npm install graphviz" and try again (tested with version 0.0.3).');
throw new Error('transforms.drawGraph: The "graphviz" module is required. Please run "npm install graphviz" and try again (tested with version 0.0.5).');
}

@@ -10,0 +10,0 @@

@@ -5,3 +5,3 @@ {

"repository": "git://github.com/One-com/assetgraph.git",
"version": "0.3.42",
"version": "0.3.43",
"maintainers": [

@@ -15,11 +15,11 @@ {

"bufferjs": "= 1.0.2",
"cssmin": "= 0.3.0",
"cssom-papandreou": "= 0.2.2-patch2",
"cssmin": "= 0.3.1",
"cssom-papandreou": "= 0.2.3-patch1",
"glob": ">= 2.0.9 < 3.0.0",
"jsdom": "= 0.2.10",
"optimist": "= 0.2.6",
"optimist": "= 0.3.1",
"request": "= 2.2.5",
"seq": "= 0.3.5",
"uglify-js": "= 1.2.5",
"underscore": "= 1.2.0"
"underscore": "= 1.3.1"
},

@@ -29,8 +29,8 @@ "devDependencies": {

"coffee-script": "= 1.2.0",
"graphviz": "= 0.0.3",
"less": "= 1.1.5",
"graphviz": "= 0.0.5",
"less": "= 1.2.1",
"iconv": "= 1.1.3",
"stylus": "= 0.22.2",
"stylus": "= 0.23.0",
"yui-compressor": "= 0.1.3",
"vows": ">= 0.6.0"
"vows": "= 0.6.1"
},

@@ -37,0 +37,0 @@ "engines": {

Sorry, the diff of this file is not supported yet

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