
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
angular-picturify
Advanced tools
Angular filter, directive, and service to picturify image urls in a text.
Angular filter, directive, and service to picturify image urls in a text. As of v0.0.3, angular-picturify works for obvious image urls and base64 data. No content-type verification (future versions), only regex checking.
npm install angular-picturify --save
Inject module into your application
//require('angular.picturify'); for browserify/webpack
//or
//<script src="node_modules/angular-picturify/dist/angular.picturify.js"></script>
angular.module('YourApp', ['picturify']);
Use as a AngularJS Filter
<!-- As a filer -->
<div ng-bind-html="someModel | picturify"></div>
<!-- As a filter, with opts -->
<div ng-bind-html="someModel | picturify:'_blank':'chat-img':3"></div>
<!-- target="_blank" class="chat-img" -->
<div ng-bind-html="someModel | picturify:'_parent':200:3"></div>
<!-- target="_parent" width="200" -->
Use as a AngularJS Directive
<!-- As a directive -->
<div ng-bind="someModel" picturify></div>
<!-- As a directive, with opts -->
<div ng-bind="someModel" picturify="{class: 'chat-img', amount: 2, target: '_blank'}"></div>
Inject as a AngularJS Service
// Injected into controller
angular.module('someModule').controller('SomeCtrl', function ($scope, picturify) {
var text = "https://angularjs.org/img/AngularJS-large.png";
$scope.text = picturify.filter(text));
// outputs: <a href="https://angularjs.org/img/AngularJS-large.png" target="_blank"><img src="https://angularjs.org/img/AngularJS-large.png"/></a>
});
*The disambiguation lies on a simple 'string or number' verification
npm install && npm run webpack
FAQs
Angular filter, directive, and service to picturify image urls in a text.
The npm package angular-picturify receives a total of 0 weekly downloads. As such, angular-picturify popularity was classified as not popular.
We found that angular-picturify 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
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.