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

object-scan

Package Overview
Dependencies
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-scan - npm Package Compare versions

Comparing version 1.10.8 to 1.10.9

6

lib/util/compiler.js

@@ -63,2 +63,6 @@ /* compile needles to hierarchical map object */

if (path.length === 0) {
if (tower[NEEDLE] !== undefined) {
throw new Error(`Redundant Needle Target: "${tower[NEEDLE]}" vs "${needle}"`);
}
setNeedle(tower, needle);

@@ -89,2 +93,2 @@ markMatch(tower);

};
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlsL2NvbXBpbGVyLmpzIl0sIm5hbWVzIjpbInBhcnNlciIsInJlcXVpcmUiLCJJU19NQVRDSCIsIlN5bWJvbCIsIm1hcmtNYXRjaCIsImlucHV0IiwiT2JqZWN0IiwiZGVmaW5lUHJvcGVydHkiLCJ2YWx1ZSIsIndyaXRhYmxlIiwiaXNNYXRjaCIsIm1vZHVsZSIsImV4cG9ydHMiLCJORUVETEUiLCJzZXROZWVkbGUiLCJuZWVkbGUiLCJnZXROZWVkbGUiLCJ1bmRlZmluZWQiLCJORUVETEVTIiwiYWRkTmVlZGxlIiwiU2V0IiwiYWRkIiwiZ2V0TmVlZGxlcyIsIldJTERDQVJEX1JFR0VYIiwic2V0V2lsZGNhcmRSZWdleCIsIndpbGRjYXJkIiwiUmVnRXhwIiwic3BsaXQiLCJtYXAiLCJwIiwicmVwbGFjZSIsImpvaW4iLCJnZXRXaWxkY2FyZFJlZ2V4IiwiZ2V0TWV0YSIsIm5lZWRsZXMiLCJidWlsZFJlY3Vyc2l2ZSIsInRvd2VyIiwicGF0aCIsImxlbmd0aCIsIkFycmF5IiwiaXNBcnJheSIsImZvckVhY2giLCJjIiwic2xpY2UiLCJhc3NpZ24iLCJjb21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k7XG4gICAgfVxuICAgIHNldE5lZWRsZSh0b3dlciwgbmVlZGxlKTtcbiAgICBtYXJrTWF0Y2godG93ZXIpO1xuICAgIHJldHVybjtcbiAgfVxuICBpZiAoQXJyYXkuaXNBcnJheShwYXRoWzBdKSkge1xuICAgIHBhdGhbMF0uZm9yRWFjaChjID0+IGJ1aWxkUmVjdXJzaXZlKHRvd2VyLCBbYywgLi4ucGF0aC5zbGljZSgxKV0sIG5lZWRsZSkpO1xuICAgIHJldHVybjtcbiAgfVxuICBpZiAodG93ZXJbcGF0aFswXV0gPT09IHVuZGVmaW5lZCkge1xuICAgIE9iamVjdC5hc3NpZ24odG93ZXIsIHsgW3BhdGhbMF1dOiB7fSB9KTtcbiAgICBzZXRXaWxkY2FyZFJlZ2V4KHRvd2VyW3BhdGhbMF1dLCBwYXRoWzBdKTtcbiAgfVxuICBidWlsZFJlY3Vyc2l2ZSh0b3dlcltwYXRoWzBdXSwgcGF0aC5zbGljZSgxKSwgbmVlZGxlKTtcbn07XG5cbm1vZHVsZS5leHBvcnRzLmNvbXBpbGUgPSAobmVlZGxlcykgPT4ge1xuICBjb25zdCB0b3dlciA9IHt9O1xuICBuZWVkbGVzLmZvckVhY2gobmVlZGxlID0+IGJ1aWxkUmVjdXJzaXZlKHRvd2VyLCBwYXJzZXIobmVlZGxlKSwgbmVlZGxlKSk7XG4gIHJldHVybiB0b3dlcjtcbn07XG4iXX0=

2

package.json
{
"name": "object-scan",
"version": "1.10.8",
"version": "1.10.9",
"description": "Find Keys using Wildcard matching and optional value function.",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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