Socket
Socket
Sign inDemoInstall

js-awe

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-awe - npm Package Compare versions

Comparing version 1.0.51 to 1.0.52

dist/browser/js-awe.min.d.ts

5

dist/cjs/jsUtils.js

@@ -522,4 +522,5 @@ 'use strict';

// const pathToSelect = ['+$', '-$[*].age', '-$[*].twoLevels.a', '-$[*].posts[:-1]'] //, '-$[*].age'];
// project(pathToSelect, users)
// project(['+$[*].posts[0,2]', '-$[*].posts[1]'], users)
// project(pathToSelect, users) //?
// project(['+$[*].posts[0,2]', '-$[*].posts[1]'], users) //?
// project(['+$.a.b','-$.a.b.d'], {a:{b:{c:3,d:5,e:9}}}) //?
// project(['+$'], 2) //?

@@ -526,0 +527,0 @@ // }

@@ -494,4 +494,5 @@ 'use strict';

// const pathToSelect = ['+$', '-$[*].age', '-$[*].twoLevels.a', '-$[*].posts[:-1]'] //, '-$[*].age'];
// project(pathToSelect, users)
// project(['+$[*].posts[0,2]', '-$[*].posts[1]'], users)
// project(pathToSelect, users) //?
// project(['+$[*].posts[0,2]', '-$[*].posts[1]'], users) //?
// project(['+$.a.b','-$.a.b.d'], {a:{b:{c:3,d:5,e:9}}}) //?
// project(['+$'], 2) //?

@@ -498,0 +499,0 @@ // }

{
"name": "js-awe",
"version": "1.0.51",
"version": "1.0.52",
"homepage": "https://github.com/josuamanuel/js-awe",

@@ -38,3 +38,3 @@ "author": "josuamanuel@hotmail.com",

"genAndCopyTypes": "npm run buildTypes && npm run copyMapsAndTypes",
"buildWeb": "rollup -c && ./awkChangenNodePerf.sh && rollup -c rollup.config.min.js",
"buildWeb": "rollup -c && ./awkChangenNodePerf.sh && rollup -c rollup.config.min.js && rollup -c rollup.config.dts.js",
"build": "npm test && npm run genAndCopyTypes && npm run buildLib && npm run buildWeb"

@@ -51,2 +51,3 @@ },

"rollup": "^3.28.1",
"rollup-plugin-dts": "^6.0.1",
"rollup-plugin-node-polyfills": "^0.2.1"

@@ -53,0 +54,0 @@ },

8

README.md

@@ -35,3 +35,3 @@ # js-awe

Grab the minified version at:
**Option 1:** Grab the minified version at:

@@ -57,4 +57,8 @@ <https://raw.githubusercontent.com/josuamanuel/js-awe/main/dist/browser/js-awe.min.js>

or use CDN
If you want to have types and IntelliSense support in your javascript files, grab file js-awe.min.dts and copy to the same folder as you copied js-awe-min.js:
<https://raw.githubusercontent.com/josuamanuel/js-awe/main/dist/browser/js-awe.min.d.ts>
**Option 2:** CDN
```html

@@ -61,0 +65,0 @@ ...

@@ -620,8 +620,8 @@ 'use strict'

// project(pathToSelect, users)
// project(['+$[*].posts[0,2]', '-$[*].posts[1]'], users)
// project(pathToSelect, users) //?
// project(['+$[*].posts[0,2]', '-$[*].posts[1]'], users) //?
// project(['+$.a.b','-$.a.b.d'], {a:{b:{c:3,d:5,e:9}}}) //?
// project(['+$'], 2) //?
// }
function copyPropsWithValueUsingRules(objDest, copyRules, shouldUpdateOnlyEmptyFields = false) {

@@ -628,0 +628,0 @@

@@ -207,2 +207,5 @@ export default jsUtils;

* @param json Subject object to project.
* @example
* // returns {a:{b:{c:3,e:9}}}
* project(['+$.a.b','-$.a.b.d'], {a:{b:{c:3,d:5,e:9}}});
* @returns any

@@ -209,0 +212,0 @@ */

Sorry, the diff of this file is too big to display

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