From 328af998443a8c9c5b28f10b7aa30bcccd42a843 Mon Sep 17 00:00:00 2001 From: Waseem Dahman Date: Sat, 16 Nov 2019 19:02:47 -0500 Subject: [PATCH 1/3] fix namespace export --- lib/index.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/index.ts b/lib/index.ts index 0de97be..bac4347 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -131,9 +131,9 @@ function osascript( }; } -export function jxa(script: TemplateStringsArray, ...replacements: any[]): Promise; -export function jxa(options: JXAOptions): TemplateStringFn; -export function jxa( +function execJXA(script: TemplateStringsArray, ...replacements: any[]): Promise; +function execJXA(options: JXAOptions): TemplateStringFn; +function execJXA( scriptOrOptions: TemplateStringsArray | JXAOptions, ...replacementsArray: any[] ): TemplateStringFn | Promise { @@ -151,6 +151,7 @@ export function jxa( }; } -osascript.jxa = jxa; +osascript.jxa = execJXA; +export const jxa = execJXA; export default osascript; From c444dfc7cd3008cf64419cd041d9d7be5afc5041 Mon Sep 17 00:00:00 2001 From: Waseem Dahman Date: Sat, 16 Nov 2019 19:14:02 -0500 Subject: [PATCH 2/3] 0.1.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a42290c..ed7a902 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "osascript-tag", "description": "A JavaScript template literal tag that executes OSA scripts (AppleScript, JavaScript, etc.)", - "version": "0.1.1", + "version": "0.1.2", "author": "Waseem Dahman ", "license": "MIT", "main": "dist/index.js", From 57fb405a7e5cd0c5d80ac54e4edc138108334b35 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 18 Nov 2019 03:59:54 +0000 Subject: [PATCH 3/3] Bump mixin-deep from 1.3.1 to 1.3.2 Bumps [mixin-deep](https://github.com/jonschlinkert/mixin-deep) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/jonschlinkert/mixin-deep/releases) - [Commits](https://github.com/jonschlinkert/mixin-deep/compare/1.3.1...1.3.2) Signed-off-by: dependabot[bot] --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index eba0027..da76185 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2386,9 +2386,9 @@ minizlib@^1.1.1: minipass "^2.2.1" mixin-deep@^1.2.0: - version "1.3.1" - resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.1.tgz#a49e7268dce1a0d9698e45326c5626df3543d0fe" - integrity sha512-8ZItLHeEgaqEvd5lYBXfm4EZSFCX29Jb9K+lAHhDKzReKBQKj3R+7NOF6tjqYi9t4oI8VUfaWITJQm86wnXGNQ== + version "1.3.2" + resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.2.tgz#1120b43dc359a785dce65b55b82e257ccf479566" + integrity sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA== dependencies: for-in "^1.0.2" is-extendable "^1.0.1"