Socket
Socket
Sign inDemoInstall

@acot/module-loader

Package Overview
Dependencies
2
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.15 to 0.0.16

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## [0.0.16](https://github.com/acot-a11y/acot/compare/v0.0.15...v0.0.16) (2022-05-01)
**Note:** Version bump only for package @acot/module-loader
## [0.0.15](https://github.com/acot-a11y/acot/compare/v0.0.14...v0.0.15) (2022-03-27)

@@ -8,0 +12,0 @@

6

lib/index.js

@@ -58,3 +58,3 @@ "use strict";

debug('file load... ("%s")', fpath);
const [module, error] = utils_1.tryResolveModule(fpath);
const [module, error] = (0, utils_1.tryResolveModule)(fpath);
if (error) {

@@ -66,5 +66,5 @@ debug('file load error:', error);

_tryLoadPackage(name) {
const id = utils_1.shorthand2pkg(name, this._prefix);
const id = (0, utils_1.shorthand2pkg)(name, this._prefix);
debug('package load... ("%s")', id);
const [module, error] = utils_1.tryResolveModule(id, this._config.from);
const [module, error] = (0, utils_1.tryResolveModule)(id, this._config.from);
if (error) {

@@ -71,0 +71,0 @@ debug('package load error:', error);

{
"name": "@acot/module-loader",
"version": "0.0.15",
"version": "0.0.16",
"description": "Load the module according to the naming rule of acot.",

@@ -39,3 +39,3 @@ "keywords": [

"dependencies": {
"@acot/utils": "0.0.15",
"@acot/utils": "0.0.16",
"debug": "^4.3.1"

@@ -46,3 +46,3 @@ },

},
"gitHead": "4d9ea6c5bb5cf7f6611c349f82d464df5abe8596"
"gitHead": "7535e01cafd25fc1d6c32c31a1ae9fce5326b3d8"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc