Tue Aug 24 11:36:24 2021 UTC ()
(www/R-shinyjs) Updated 1.0 to 2.0.0

# shinyjs 2.0.0 (2020-08-24)

- **IMPORTANT CHANGE** Remove commercial license (it only existed
    because some big companies asked for it, but it ended up being a
    bigger headache for 99% of the community)

- **BREAKING CHANGE** When using `extendShinyjs()`, the `functions`
    parameter must always be provided.

- **BREAKING CHANGE** When using `extendShinyjs()`, the `script` path
    parameter now behaves like any other Shiny web resource, which
    means it cannot be loaded from the local file system. The path
    must be discoverable by the browser, so it either needs to be a
    public URL, inside a `www` folder, or available via
    `addResourcePath()`.

- New feature: add a `refresh()` function (#205)

- New feature: add `asis` parameter to `reset()` function, which works
  like it does in all other functions that support `asis` (#146)

- Fix bug: `extendShinyjs()` now works with any web URL or any
  resource path (#201)

- Fix bug: `reset()` didn't work when a sliderInput was initialized
  with `value=NULL` (#207)

- Remove `V8` as a package dependency.

# shinyjs 1.1 (2020-01-12)

This update was 2 years in the making because it required a lot of
testing by users to ensure none of these features cause any regression
bugs in real apps.

- **BREAKING CHANGE** The `includeShinyjs` parameter in `runcodeUI()`
    is now deprecated
- Fix bug: shinyjs functions used inside a module with a `selector`
  argument instead of an `id` argument didn't work (#175)
- Fix bug: shinyjs functions did not work with IDs that had a space in
  them (#176)
- Fix bug: non-selectize select inputs could not be disabled (#186)
- Fix bug: `click()` now works with download buttons (#198)

- New feature: added `asis` parameter to any function that takes an
  ID. When `asis=TRUE`, the ID will not be namespaced when inside a
  module (#118)

- New feature: added `id` parameter to `runcode()`, allowing it to
  work inside Shiny modules (#184)

- New feature: `onevent()` returns the `offsetX` and `offsetY` event
  properties

- New feature: `onevent()` accepts a `properties` parameter that
  allows the user to retrieve additional properties that are not
  whitelisted by default (#159)

- New feature: `hide()`/`show()` now only bubble up the DOM tree to
  the nearest input container if the current element is an input
  (#153)

- Documentation: added documentation about `useShinyjs()` side effects
  and about including `shinyjs` in packages (#182)


(mef)
diff -r1.1 -r1.2 pkgsrc/www/R-shinyjs/Makefile
diff -r1.1 -r1.2 pkgsrc/www/R-shinyjs/distinfo

cvs diff -r1.1 -r1.2 pkgsrc/www/R-shinyjs/Makefile (expand / switch to unified diff)

--- pkgsrc/www/R-shinyjs/Makefile 2019/08/09 20:53:39 1.1
+++ pkgsrc/www/R-shinyjs/Makefile 2021/08/24 11:36:24 1.2
@@ -1,19 +1,22 @@ @@ -1,19 +1,22 @@
1# $NetBSD: Makefile,v 1.1 2019/08/09 20:53:39 brook Exp $ 1# $NetBSD: Makefile,v 1.2 2021/08/24 11:36:24 mef Exp $
2 2
3R_PKGNAME= shinyjs 3R_PKGNAME= shinyjs
4R_PKGVER= 1.0 4R_PKGVER= 2.0.0
5CATEGORIES= www 5CATEGORIES= www
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8COMMENT= Easily improve the user experience of your Shiny apps in seconds 8COMMENT= Easily improve the user experience of your Shiny apps in seconds
9LICENSE= gnu-agpl-v3 9LICENSE= gnu-agpl-v3
10 10
11DEPENDS+= R-digest>=0.6.8:../../security/R-digest 11DEPENDS+= R-digest>=0.6.8:../../security/R-digest
12DEPENDS+= R-htmltools>=0.2.9:../../textproc/R-htmltools 12DEPENDS+= R-htmltools>=0.2.9:../../textproc/R-htmltools
13DEPENDS+= R-jsonlite>=1.6:../../textproc/R-jsonlite 13DEPENDS+= R-jsonlite>=1.6:../../textproc/R-jsonlite
14DEPENDS+= R-shiny>=1.0.0:../../www/R-shiny 14DEPENDS+= R-shiny>=1.0.0:../../www/R-shiny
15 15
 16#TEST_DEPENDS+= R-shinyAce-[0-9]*:
 17#TEST_DEPENDS+= R-shinydisconnect-[0-9]*:
 18
16USE_LANGUAGES= # none 19USE_LANGUAGES= # none
17 20
18.include "../../math/R/Makefile.extension" 21.include "../../math/R/Makefile.extension"
19.include "../../mk/bsd.pkg.mk" 22.include "../../mk/bsd.pkg.mk"

cvs diff -r1.1 -r1.2 pkgsrc/www/R-shinyjs/distinfo (expand / switch to unified diff)

--- pkgsrc/www/R-shinyjs/distinfo 2019/08/09 20:53:39 1.1
+++ pkgsrc/www/R-shinyjs/distinfo 2021/08/24 11:36:24 1.2
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.1 2019/08/09 20:53:39 brook Exp $ 1$NetBSD: distinfo,v 1.2 2021/08/24 11:36:24 mef Exp $
2 2
3SHA1 (R/shinyjs_1.0.tar.gz) = fa36eda314cbc012b4feb9f4714f34e486dc0b4e 3SHA1 (R/shinyjs_2.0.0.tar.gz) = c0801be4cab8768318ac9756e270a99862cca1e6
4RMD160 (R/shinyjs_1.0.tar.gz) = 83a4ed7ca02bfd7064c0feda62a65a8ec6104432 4RMD160 (R/shinyjs_2.0.0.tar.gz) = f286ee54d834f4de6213328d54782e872863e869
5SHA512 (R/shinyjs_1.0.tar.gz) = 368eeff4c0897830716bf6d07564948eea36d8948a03a9b31867d6c05bbc488ac1d1be9b9e781b1b95d744675786952f3ddba68d58c6c35641540240df1b5392 5SHA512 (R/shinyjs_2.0.0.tar.gz) = f81abe6d305cfde17a46f1975d4accecf5f2e6dad39b10e04badd16859e490b02f705db474350f1ecfbc62f9e2258e5d2056c30cb7f3273de3c36e156c4820c1
6Size (R/shinyjs_1.0.tar.gz) = 954365 bytes 6Size (R/shinyjs_2.0.0.tar.gz) = 1043727 bytes