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

extendscriptkit

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extendscriptkit - npm Package Compare versions

Comparing version 0.1.4 to 0.1.5

17

ExtendScriptKit.jsx

@@ -22,2 +22,6 @@ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){

Application.prototype.activeItemIsComposition = function () {
return app.project && app.project.activeItem && app.project.activeItem instanceof CompItem;
};
},{"./Project":3}],2:[function(require,module,exports){

@@ -49,5 +53,5 @@ "use strict";

var numItems = this.numItems;
for (var i = 1; i <= numItems; i++) {
for (var i = 1; i < numItems; i++) {
var item = this.item(i);
cb(item);
cb(item, i);
}

@@ -60,3 +64,3 @@ };

var item = this.item(i);
filter(item) && cb(item);
filter(item) && cb(item, i);
}

@@ -67,3 +71,3 @@ };

for (var i = 0; i < this.selection.length; i++) {
cb(this.selection[i]);
cb(this.selection[i], i);
}

@@ -143,2 +147,7 @@ };

$.global.console = {
log: logConsole,
error: logError
};
module.exports = {

@@ -145,0 +154,0 @@ log: logConsole,

@@ -19,2 +19,6 @@ 'use strict';

});
};
Application.prototype.activeItemIsComposition = function () {
return app.project && app.project.activeItem && app.project.activeItem instanceof CompItem;
};

@@ -26,3 +26,3 @@ "use strict";

Project.prototype.forCompositions = function (cb) {
this.forFilteredItems(item => {
this.forFilteredItems(function (item) {
return item instanceof CompItem;

@@ -36,2 +36,2 @@ }, cb);

}, cb);
};
};

@@ -39,3 +39,3 @@ 'use strict';

error: logError
}
};

@@ -45,2 +45,2 @@ module.exports = {

error: logError
};
};
{
"name": "extendscriptkit",
"version": "0.1.4",
"version": "0.1.5",
"description": "ExtendScript shims and helpers",

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

Project.prototype.forItems = function (cb) {
const numItems = this.numItems
for (var i = 1; i <= numItems; i++) {
for (var i = 1; i < numItems; i++) {
const item = this.item(i)

@@ -11,3 +11,3 @@ cb(item, i)

const numItems = this.numItems
for (var i = 1; i <= numItems; i++) {
for (var i = 1; i < numItems; i++) {
const item = this.item(i)

@@ -14,0 +14,0 @@ filter(item) && cb(item, i)

@@ -26,2 +26,7 @@ const dispatch = require('./bridge')

$.global.console = {
log: logConsole,
error: logError
}
module.exports = {

@@ -28,0 +33,0 @@ log: logConsole,

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