Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

can-param

Package Overview
Dependencies
Maintainers
3
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-param - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

10

can-param.md

@@ -13,8 +13,8 @@ @module {function} can-param can-param

```js
var param = require("can-param");
import param from "can-param";
param({foo: "bar"}) //-> "foo=bar"
param({foo: ["bar", "baz"]}) //-> "foo[]=bar&foo[]=baz"
param({foo: {bar: "baz"}}) //-> "foo[bar]=baz"
param({foo: "bar & baz"}) //-> "foo=bar+%26+baz"
param( { foo: "bar" } ); //-> "foo=bar"
param( { foo: [ "bar", "baz" ] } ); //-> "foo[]=bar&foo[]=baz"
param( { foo: { bar: "baz" } } ); //-> "foo[bar]=baz"
param( { foo: "bar & baz" } ); //-> "foo=bar+%26+baz"
```

@@ -21,0 +21,0 @@

@@ -1,2 +0,2 @@

/*can-param@1.0.1#can-param*/
/*can-param@1.0.2#can-param*/
define([

@@ -3,0 +3,0 @@ 'require',

@@ -1,2 +0,2 @@

/*can-param@1.0.1#can-param*/
/*can-param@1.0.2#can-param*/
var namespace = require('can-namespace');

@@ -3,0 +3,0 @@ function buildParam(prefix, obj, add) {

@@ -130,3 +130,3 @@ /*[global-shim-start]*/

/*can-param@1.0.1#can-param*/
/*can-param@1.0.2#can-param*/
define('can-param', [

@@ -133,0 +133,0 @@ 'require',

{
"name": "can-param",
"version": "1.0.2",
"version": "1.0.3",
"description": "Serialize an array or object into a query string.",

@@ -5,0 +5,0 @@ "homepage": "",

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