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

rison-node

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rison-node - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

23

CHANGELOG.md
### Changelog
#### [v2.1.0](https://github.com/w33ble/rison-node/compare/v2.0.0...v2.1.0) (1 November 2018)
- feat: add decode_uri method [`#2`](https://github.com/w33ble/rison-node/pull/2)
- feat: add rison.unquote, use in decode_uri [`41ba487`](https://github.com/w33ble/rison-node/commit/41ba487d05ba623ce8bcde5da96517df61e2e7ff)
### [v2.0.0](https://github.com/w33ble/rison-node/compare/v1.0.2...v2.0.0) (30 April 2018)
- feat: prevent quoting numeric keys [`01e2be2`](https://github.com/w33ble/rison-node/commit/01e2be2fb546fdeea9f68cd5fd9087660cc1802c)
- **Breaking:** feat: prevent quoting numeric keys [`01e2be2`](https://github.com/w33ble/rison-node/commit/01e2be2fb546fdeea9f68cd5fd9087660cc1802c)

@@ -9,22 +13,30 @@ #### [v1.0.2](https://github.com/w33ble/rison-node/compare/v1.0.1...v1.0.2) (17 April 2018)

#### [v1.0.1](https://github.com/w33ble/rison-node/compare/v1.0.0...v1.0.1) (16 April 2018)
#### [v1.0.1](https://github.com/w33ble/rison-node/compare/v1.0.0...v1.0.1) (17 April 2018)
- docs: update readme [`09bbabf`](https://github.com/w33ble/rison-node/commit/09bbabf3959d77bf26caa84f7221b3625992d27c)
### [v1.0.0](https://github.com/w33ble/rison-node/compare/v0.3.1...v1.0.0) (15 April 2016)
- add spencer and i as authors [`4838f77`](https://github.com/w33ble/rison-node/commit/4838f77084905fc2afe5b7aca793dfdc86302aa6)
- add Court as a contributor [`77e914e`](https://github.com/w33ble/rison-node/commit/77e914ea6d80915577cadbc26f1ebbbdece2dde3)
- Declare variable at top of function scope in next() [`a3ea585`](https://github.com/w33ble/rison-node/commit/a3ea585d9417c00747ff04a74732bfd6e4f40b3e)
#### [v0.3.1](https://github.com/w33ble/rison-node/compare/v0.3.0...v0.3.1) (3 February 2016)
- add tests for decode input checking [`91aaa08`](https://github.com/w33ble/rison-node/commit/91aaa08518a1751f79456604c63810477381679d)
- add some basic input validation to decode [`fbf932a`](https://github.com/w33ble/rison-node/commit/fbf932a6bc98161ba46190c6906988671b4b1abe)
#### [v0.3.0](https://github.com/w33ble/rison-node/compare/v0.2.0...v0.3.0) (18 December 2015)
#### [v0.3.0](https://github.com/w33ble/rison-node/compare/v0.2.0...v0.3.0) (19 December 2015)
- add test for date types [`146ca42`](https://github.com/w33ble/rison-node/commit/146ca423a3dc11001c02af237a1a07a6b67dc680)
- update tests (correct descriptions) [`e80b3f3`](https://github.com/w33ble/rison-node/commit/e80b3f31f648176b012aea8fb81a90b2d84fdc4e)
- update changelog [`edeb915`](https://github.com/w33ble/rison-node/commit/edeb915fae9d753907cda33857a8631a26fa3c4e)
#### [v0.2.0](https://github.com/w33ble/rison-node/compare/v0.1.0...v0.2.0) (18 December 2015)
#### [v0.2.0](https://github.com/w33ble/rison-node/compare/v0.1.0...v0.2.0) (19 December 2015)
- add tests for undefined values [`2e54b85`](https://github.com/w33ble/rison-node/commit/2e54b85e33172dbd367bb464fd9032138bfbf097)
- update changelog [`8c8f0eb`](https://github.com/w33ble/rison-node/commit/8c8f0eb56ad3f9ea2a43aa40522f8c979f938181)
#### v0.1.0 (18 December 2015)
#### v0.1.0 (19 December 2015)
- Use a cross-platform approach to global string replacements [`#4`](https://github.com/w33ble/rison-node/pull/4)
- add CHANGELOG [`e8511c2`](https://github.com/w33ble/rison-node/commit/e8511c2a98dcc34ae7681ad539e61c5c8470336c)
- use pretest, add other files [`0beec96`](https://github.com/w33ble/rison-node/commit/0beec960e85c141e66217e58130189c1878f9366)
- just return on undefined [`74b56f3`](https://github.com/w33ble/rison-node/commit/74b56f319d7c1367607a1ae93c9e5a4d53124a20)
- support Date types via toJSON [`621cc15`](https://github.com/w33ble/rison-node/commit/621cc15f79bf87d53be3c7437b92242d7f96d9d1)
- add tests, run tests before publishing [`b4c3caa`](https://github.com/w33ble/rison-node/commit/b4c3caa2c729d4a8aa3a9be146b156016fa9c668)
- include package file [`050ed24`](https://github.com/w33ble/rison-node/commit/050ed2439399df3716fc73ed28845ab09aa8cf69)

@@ -38,2 +50,1 @@ - update package.json [`939e0ed`](https://github.com/w33ble/rison-node/commit/939e0ed812feb6338d93b4e8266df4216b353880)

- Initial commit [`199d23d`](https://github.com/w33ble/rison-node/commit/199d23df569d6f8de4a5a6f165a9ecc7a5e13ae7)

@@ -73,2 +73,3 @@ // Uses CommonJS, AMD or browser globals to create a module.

})();
//rison.not_idchar = " \t\r\n\"<>[]{}'!=:(),*@$;&";

@@ -118,2 +119,9 @@ rison.not_idchar = " '!:(),*@$";

/**
* this is like decodeURIComponent() but also replaces "+" with " "
*/
rison.unquote = function (s) {
// eslint-disable-next-line
return decodeURIComponent(s.replace(/\+/g, '%20'));
};

@@ -257,2 +265,11 @@ //

/**
* uri-decode (reversing encode_uri's space -> '+' mapping) then rison-decode a string
* Reverses encode_uri
*
*/
rison.decode_uri = function (s) {
return rison.decode(rison.unquote(s));
};
})();

@@ -259,0 +276,0 @@

{
"name": "rison-node",
"version": "2.0.0",
"version": "2.1.0",
"main": "js/rison.js",
"scripts": {
"preversion": "npm run test",
"version": "auto-changelog -p && auto-authors && git add CHANGELOG.md AUTHORS.md",
"test": "npm run lint && tape tests/*.js",
"version": "npm-auto-version",
"test:only": "tape \"tests/*.js\"",
"test": "npm run lint && npm run test:only",
"lint": "eslint \"js/*.js\" \"tests/*.js\"",

@@ -27,8 +28,14 @@ "precommit": "lint-staged",

"lint-staged": {
"*.{mjs,js}": [
"eslint --fix"
"ignore": [
"package.json",
"js/rison.js"
],
"*.{mjs,js,json,css}": [
"prettier --write"
]
"linters": {
"*.{js,mjs}": [
"eslint --fix"
],
"*.{js,mjs,json,css}": [
"prettier --write"
]
}
},

@@ -39,11 +46,4 @@ "prettier": {

},
"auto-changelog": {
"output": "CHANGELOG.md",
"template": "cltemplate.hbs",
"ignoreCommitPattern": "(chore|test)|(add|Add).+(author|Author|contributor|Contributor)",
"commitLimit": false
},
"devDependencies": {
"auto-authors": "^0.1.1",
"auto-changelog": "^1.4.6",
"@w33ble/npm-auto-tools": "*",
"eslint": "^4.19.1",

@@ -50,0 +50,0 @@ "eslint-config-prettier": "^2.9.0",

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