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

absurd

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

absurd - npm Package Compare versions

Comparing version 0.0.1 to 0.0.11

.npmignore

25

index.js

@@ -6,8 +6,9 @@ #!/usr/bin/env node

API = null,
fs = require("fs");
absurd = null,
fs = require("fs"),
argv = require('optimist').argv,
cli = require('./lib/CLI.js');
module.exports = absurd = function(path) {
module.exports = function(path) {
API = require("./lib/API.js")();

@@ -23,3 +24,7 @@

} else {
require(_path.source)(API);
try {
require(_path.source)(API);
} catch(err) {
console.log("Error: I can't find '" + _path.source + "'.");
}
}

@@ -50,2 +55,10 @@ Processor(

}
}
// godlike
process.on('uncaughtException', function (err) {
console.log("Error packing", err);
});
// cli
cli(argv, absurd);
module.exports = function(API) {
return function(path) {
if(typeof path == 'string') {
require(path)(API);
try {
require(path)(API)
} catch(err) {
console.log("Error: I can't find '" + path + "'.");
}
} else {
for(var i=0; p=path[i]; i++) {
require(p)(API);
try {
require(p)(API);
} catch(err) {
console.log("Error: I can't find '" + p + "'.");
}
}

@@ -9,0 +17,0 @@ }

{
"name": "absurd",
"version": "0.0.1",
"version": "0.0.11",
"homepage": "https://github.com/krasimir/absurd",

@@ -10,3 +10,3 @@ "description": "CSS preprocessor",

"dependencies": {
"optimist": "0.6.0"
},

@@ -13,0 +13,0 @@ "keywords": [

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