Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
can-deparam
Advanced tools
Deserialize a query string into an array or object.
With StealJS, you can import this module directly in a template that is autorendered:
import plugin from 'can-deparam';
Use require
to load can-deparam
and everything else
needed to create a template that uses can-deparam
:
var plugin = require("can-deparam");
Configure the can
and jquery
paths and the can-deparam
package:
<script src="require.js"></script>
<script>
require.config({
paths: {
"jquery": "node_modules/jquery/dist/jquery",
"can": "node_modules/canjs/dist/amd/can"
},
packages: [{
name: 'can-deparam',
location: 'node_modules/can-deparam/dist/amd',
main: 'lib/can-deparam'
}]
});
require(["main-amd"], function(){});
</script>
Load the global
version of the plugin:
<script src='./node_modules/can-deparam/dist/global/can-deparam.js'></script>
FAQs
Deserialize a query string into an array or object.
The npm package can-deparam receives a total of 1,492 weekly downloads. As such, can-deparam popularity was classified as popular.
We found that can-deparam demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 open source maintainers 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.