New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

gedi

Package Overview
Dependencies
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gedi - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

0

events.js

@@ -0,0 +0,0 @@ var WM = typeof WM !== 'undefined' ? WeakMap : require('weak-map'),

25

gedi.js

@@ -114,13 +114,16 @@ //Copyright (C) 2012 Kory Nunn

gel.scope.isDirty = function(scope, args){
var token = args.raw()[0];
var token = args.getRaw(0, true),
path = (token instanceof PathToken) ? token.original : token.sourcePathInfo && token.sourcePathInfo.path;
return isDirty(paths.resolve(scope.get('_gmc_'), (token instanceof PathToken) ? token.original : paths.create()));
if(!path){
return false;
}
return isDirty(paths.resolve(scope.get('_gmc_'), path));
};
gel.scope.getAllDirty = function (scope, args) {
var token = args.raw()[0],
path = paths.resolve(scope.get('_gmc_'), (token instanceof PathToken) && token.original),
source = get(path, model),
result,
itemPath;
var token = args.getRaw(0, true),
source = token.result,
path = (token instanceof PathToken) ? token.original : token.sourcePathInfo && token.sourcePathInfo.path;

@@ -133,2 +136,10 @@ if (source == null) {

if(!path){
return result;
}
var resolvedPath = paths.resolve(scope.get('_gmc_'), path),
result,
itemPath;
for (var key in source) {

@@ -135,0 +146,0 @@ if (source.hasOwnProperty(key)) {

@@ -0,0 +0,0 @@ var paths = require('gedi-paths'),

@@ -5,3 +5,3 @@ {

"author": "Kory Nunn <knunn187@gmail.com>",
"version": "1.0.2",
"version": "1.0.3",
"main": "gedi.js",

@@ -8,0 +8,0 @@ "dependencies": {

@@ -0,0 +0,0 @@ var Lang = require('lang-js'),

@@ -0,0 +0,0 @@ Gedi

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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