Socket
Socket
Sign inDemoInstall

moog-require

Package Overview
Dependencies
Maintainers
12
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moog-require - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

badges/npm-audit-badge.png

2

index.js

@@ -139,3 +139,3 @@ var async = require('async');

// multiple references to my-foo which is ambiguous
result.__meta.name = 'my-' + originalType;
result.__meta.name = self.originalToMy(originalType);
}

@@ -142,0 +142,0 @@ return result;

{
"name": "moog-require",
"version": "2.0.0",
"version": "2.1.0",
"description": "moog-require extends moog with support for type definitions in local files and npm modules.",

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

"lodash": "^4.0.0",
"moog": "^2.0.0",
"moog": "^2.1.0",
"resolve": "^1.7.1",

@@ -14,0 +14,0 @@ "resolve-from": "^4.0.0"

@@ -351,14 +351,8 @@ [![Build Status](https://travis-ci.org/punkave/moog-require.svg?branch=master)](https://travis-ci.org/punkave/moog-require)

2.0.0: powered by `moog` version 2.x. This is a large and intentional bc break to support async/await
rather than callbacks. No direct code changes in this module, as all of the changes in `moog` itself,
involve instantiation, not definition. However the tests have been rewritten to match expectations
for moog 2.x, which is designed for async/await, not callbacks. The 1.x series of moog-require and moog
will be supported and maintained at least as long as Apostrophe 2.x (at least until the end of 2023).
2.1.0: use `originalToMy` method of moog 2.1.0 to ensure npm namespaces behave sensibly in class names.
1.1.1: use `importFresh` to avoid bugs when two instances of `moog-require` are
loading the same module definitions. Previously if modules created by
the two instances later modified sub-properties of `options`, they would
inadvertently share values. This fix is critical for both `apostrophe-monitor`
and `apostrophe-multisite`.
2.0.0: powered by `moog` version 2.x. This is a large and intentional bc break to support async/await rather than callbacks. No direct code changes in this module, as all of the changes in `moog` itself, involve instantiation, not definition. However the tests have been rewritten to match expectations for moog 2.x, which is designed for async/await, not callbacks. The 1.x series of moog-require and moog will be supported and maintained at least as long as Apostrophe 2.x (at least until the end of 2023).
1.1.1: use `importFresh` to avoid bugs when two instances of `moog-require` are loading the same module definitions. Previously if modules created by the two instances later modified sub-properties of `options`, they would inadvertently share values. This fix is critical for both `apostrophe-monitor` and `apostrophe-multisite`.
1.1.0: support for the `nestedModuleSubdirs` option.

@@ -365,0 +359,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