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

directory-loader

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

directory-loader - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

package.json
{
"name": "directory-loader",
"version": "1.0.3",
"version": "1.0.4",
"description": "A webpack loader that loads all files in a folder",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -72,7 +72,11 @@ const fs = require('fs');

expect(module.files.length).toBe(2);
expect(module.files[1].module).toBe(fixturePath('dir', 'test.js'));
expect(module.files[0].module).toBe(fixturePath('dir', 'nested', 'test-2.js'));
expect(module.files[1].pathinfo.ext).toBe('.js');
expect(module.files[1].pathinfo.name).toBe('test');
expect(module.files[1].pathinfo.relativeName).toBe('test');

@@ -79,0 +83,0 @@

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