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

can-deparam

Package Overview
Dependencies
Maintainers
4
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

can-deparam - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

1

build.js

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

"use strict";
var stealTools = require("steal-tools");

@@ -2,0 +3,0 @@

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

"use strict";
var namespace = require("can-namespace");

@@ -2,0 +3,0 @@

3

dist/amd/can-deparam.js

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

/*can-deparam@1.1.0#can-deparam*/
/*can-deparam@1.1.1#can-deparam*/
define([

@@ -8,2 +8,3 @@ 'require',

], function (require, exports, module) {
'use strict';
var namespace = require('can-namespace');

@@ -10,0 +11,0 @@ var digitTest = /^\d+$/, keyBreaker = /([^\[\]]+)|(\[\])/g, paramTest = /([^?#]*)(#.*)?$/, entityRegex = /%([^0-9a-f][0-9a-f]|[0-9a-f][^0-9a-f]|[^0-9a-f][^0-9a-f])/i, prep = function (str) {

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

/*can-deparam@1.1.0#can-deparam*/
/*can-deparam@1.1.1#can-deparam*/
'use strict';
var namespace = require('can-namespace');

@@ -3,0 +4,0 @@ var digitTest = /^\d+$/, keyBreaker = /([^\[\]]+)|(\[\])/g, paramTest = /([^?#]*)(#.*)?$/, entityRegex = /%([^0-9a-f][0-9a-f]|[0-9a-f][^0-9a-f]|[^0-9a-f][^0-9a-f])/i, prep = function (str) {

@@ -0,1 +1,33 @@

/*[process-shim]*/
(function(global, env) {
// jshint ignore:line
if (typeof process === "undefined") {
global.process = {
argv: [],
cwd: function() {
return "";
},
browser: true,
env: {
NODE_ENV: env || "development"
},
version: "",
platform:
global.navigator &&
global.navigator.userAgent &&
/Windows/.test(global.navigator.userAgent)
? "win"
: ""
};
}
})(
typeof self == "object" && self.Object == Object
? self
: typeof process === "object" &&
Object.prototype.toString.call(process) === "[object process]"
? global
: window,
"development"
);
/*[global-shim-start]*/

@@ -126,3 +158,3 @@ (function(exports, global, doEval) {

: typeof process === "object" &&
Object.prototype.toString.call(process) === "[object process]"
Object.prototype.toString.call(process) === "[object process]"
? global

@@ -136,3 +168,3 @@ : window,

/*can-deparam@1.1.0#can-deparam*/
/*can-deparam@1.1.1#can-deparam*/
define('can-deparam', [

@@ -144,2 +176,3 @@ 'require',

], function (require, exports, module) {
'use strict';
var namespace = require('can-namespace');

@@ -146,0 +179,0 @@ var digitTest = /^\d+$/, keyBreaker = /([^\[\]]+)|(\[\])/g, paramTest = /([^?#]*)(#.*)?$/, entityRegex = /%([^0-9a-f][0-9a-f]|[0-9a-f][^0-9a-f]|[^0-9a-f][^0-9a-f])/i, prep = function (str) {

{
"name": "can-deparam",
"version": "1.1.1",
"version": "1.2.0",
"description": "Deserialize a query string into an array or object.",

@@ -5,0 +5,0 @@ "homepage": "https://canjs.com/doc/can-deparam.html",

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