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

@vkontakte/graph-cache-css

Package Overview
Dependencies
Maintainers
11
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vkontakte/graph-cache-css - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

12

index.js
var parser = require('./lib/parser');
module.exports = function(sign, file, filename) {
return parser.createGraphFromFile(file, sign, Object.assign({}, { filename: filename }));
/**
* @param {Function<string|Buffer>} sign
* @param {Buffer} file
* @param {Object} options
* @param {string} options.filename
* @param {?string[]} options.path
* @return {Promise<Graph>}
*/
module.exports = function(sign, file, options) {
return parser.createGraphFromFile(file, sign, options);
}

4

package.json
{
"name": "@vkontakte/graph-cache-css",
"version": "1.0.0",
"version": "1.0.1",
"description": "",

@@ -10,3 +10,3 @@ "main": "index.js",

},
"author": "Termina1",
"author": "ilfa",
"license": "MIT",

@@ -13,0 +13,0 @@ "devDependencies": {

@@ -14,3 +14,3 @@ const {expect} = require('chai');

parser(function() { return 1 }, file, fpath, {}).then(g => {
parser(function() { return 1 }, file, { filename: fpath }).then(g => {
expect(g.nodes().length).to.equal(6);

@@ -17,0 +17,0 @@ done();

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