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

meld

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

meld

AOP for JS with before, around, on, afterReturning, afterThrowing, after advice, and pointcut support

  • 0.7.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.3K
decreased by-5.47%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

Aspect Oriented Programming for Javascript.

Changelog

0.7.2

  • Fix for context when advising constructors: this is now the constructed instance in all advice functions.

0.7.1

  • Fix for global name when using meld as a browser global. Thanks @scothis
  • Update unit tests to run in browser using buster server, in addition to node. Thanks again, @scothis :)

0.7.0

  • Advice can be applied directly to functions without a context.
  • Advice can be applied to constructors.
  • joinpoint.proceed() can be called multiple times. This makes it possible to implement "retry" types of advice.

0.6.0

0.5.4

  • Optimizations to run time advice invocation, especially around advice
  • Fix for passing new args to joinpoint.proceed() in around advice
  • Added joinpoint.proceedApply(array) for proceeding and supplying new arguments as an array
  • Ported unit tests to BusterJS

0.5.3

  • First official release as part of cujojs
  • Minor doc and package.json tweaks

0.5.2

  • Revert to larger, more builder-friendly module boilerplate. No functional change.

0.5.1

  • Minor corrections and updates to package.json

0.5.0

  • Rewritten Advisor that allows entire aspects to be unwoven (removed) easily.

Beers to:

Keywords

FAQs

Package last updated on 13 Sep 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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