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

ifdef-loader

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ifdef-loader - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

6

ifdef-loader.js

@@ -82,8 +82,2 @@ "use strict";

}
var s = "hello\n11111\n// #if DEBUG\n3333\n// #endif\n55555\n// #if comet !== \"ciao\"\n7777\n// #endif\n99999\n";
var defs = {
DEBUG: true,
comet: "ciao"
};
console.log(parse(s, defs));
module.exports = function (source, map) {

@@ -90,0 +84,0 @@ this.cacheable && this.cacheable();

4

package.json
{
"name": "ifdef-loader",
"version": "0.0.1",
"version": "0.0.2",
"description": "#ifdef conditional Webpack loader",
"main": "if-defloader.js",
"main": "ifdef-loader.js",
"dependencies": {},

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

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