
Security News
The Nightmare Before Deployment
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.
angular-drag-resize
Advanced tools
Angular.js directives for dragging and resizing elements.
The drag directive is taken from the angular documentation (https://docs.angularjs.org/guide/directive), which unfortunately breaks the css resize property. The resize directive found in this package allows for a draggable element to also be resized.
Download the repo and include:
<script src="dist/angular-drag-resize.min.js"></script>
Via bower:
$ bower install angular-drag-resize
Via npm:
$ npm install angular-drag-resize
Via yarn:
$ yarn add angular-drag-resize
Inject angular.drag.resize into your app:
angular.module('myApp', ['angular.drag.resize']);
Then add draggable and/or resize to an element.
<div draggable resize>
My draggable and resizeable div
</div>
The resize attribute can be set to horizontal or vertical to restrict resizing to one dimension.
<div resize="horizontal"></div>
For resizing to work, an element must have its css position as relative, fixed or absolute.
MIT.
FAQs
Angular directives for draggable and resizable elements
The npm package angular-drag-resize receives a total of 16 weekly downloads. As such, angular-drag-resize popularity was classified as not popular.
We found that angular-drag-resize demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

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.

Security News
Season’s greetings from Socket, and here’s to a calm end of year: clean dependencies, boring pipelines, no surprises.

Research
/Security News
Impostor NuGet package Tracer.Fody.NLog typosquats Tracer.Fody and its author, using homoglyph tricks, and exfiltrates Stratis wallet JSON/passwords to a Russian IP address.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.