AvaProtocol / oak.js

Javascript dev-utils library to access OAK Network APIs, leveraging typing decoration of polkadot.js library.
Apache License 2.0
2 stars 0 forks source link

Changeset Version Bump #158

Closed github-actions[bot] closed 6 months ago

github-actions[bot] commented 6 months ago

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to dev, this PR will be updated.

Releases

@oak-network/config@1.0.8

Patch Changes

socket-security[bot] commented 6 months ago

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@babel/core@7.23.3 environment, filesystem, unsafe Transitive: shell +50 10.7 MB nicolo-ribaudo
npm/@babel/node@7.22.19 Transitive: environment, eval, filesystem, shell, unsafe +140 17.6 MB nicolo-ribaudo
npm/@babel/preset-env@7.23.3 environment Transitive: filesystem, shell, unsafe +159 14.4 MB nicolo-ribaudo
npm/@noble/hashes@1.3.2 None 0 747 kB paulmillr
npm/@oak-network/api-augment@2.0.7 None +29 20.8 MB chrisli30
npm/@oak-network/types@2.0.7 None +2 97.6 kB chrisli30
npm/@polkadot/api@10.11.1 Transitive: environment, filesystem, network +57 74.6 MB polkadotjs
npm/@polkadot/networks@12.6.1 None +11 4.93 MB polkadotjs
npm/@polkadot/types@10.11.1 None +28 19.7 MB polkadotjs
npm/@polkadot/util-crypto@12.6.1 None +22 10.6 MB polkadotjs
npm/@polkadot/util@12.6.1 None +9 4.82 MB polkadotjs
npm/@polkadot/wasm-crypto@7.3.1 None +17 11 MB polkadotjs
npm/@polkadot/wasm-util@7.3.1 None +10 4.86 MB polkadotjs
npm/@polkadot/x-bigint@12.6.1 None +2 116 kB polkadotjs
npm/@polkadot/x-global@12.6.1 None +1 101 kB polkadotjs
npm/fetch-blob@3.2.0 None +2 7.67 MB endless
npm/lodash@4.17.21 None 0 1.41 MB bnjmnt4n
npm/ws@8.14.2 environment, network 0 138 kB lpinca

🚮 Removed packages: npm/@aashutoshrathi/word-wrap@1.2.6, npm/@adraffy/ens-normalize@1.10.0, npm/@babel/plugin-syntax-bigint@7.8.3, npm/@cspotcode/source-map-support@0.8.1, npm/@isaacs/cliui@8.0.2, npm/@jest/environment@29.7.0, npm/@jest/expect@29.7.0, npm/@jest/fake-timers@29.7.0, npm/@jest/globals@29.7.0, npm/@jest/source-map@29.6.3, npm/@jest/test-sequencer@29.7.0, npm/@noble/curves@1.1.0, npm/@noble/hashes@1.3.1, npm/@npmcli/agent@2.2.0, npm/@npmcli/fs@3.1.0, npm/@pkgjs/parseargs@0.11.0, npm/@pkgr/utils@2.4.2, npm/@polkadot/api-augment@10.11.2, npm/@polkadot/api-base@10.11.2, npm/@polkadot/keyring@12.6.2, npm/@polkadot/networks@12.6.2, npm/@polkadot/rpc-augment@10.11.2, npm/@polkadot/rpc-core@10.11.2, npm/@polkadot/rpc-provider@10.11.2, npm/@polkadot/types-augment@10.11.2, npm/@polkadot/types-codec@10.11.2, npm/@polkadot/types-create@10.11.2, npm/@polkadot/types-support@10.11.2, npm/@polkadot/types@10.11.2, npm/@polkadot/util-crypto@12.6.2, npm/@polkadot/util@12.6.2, npm/@polkadot/wasm-bridge@7.3.2, npm/@polkadot/wasm-crypto-asmjs@7.3.2, npm/@polkadot/wasm-crypto-init@7.3.2, npm/@polkadot/wasm-crypto-wasm@7.3.2, npm/@polkadot/wasm-crypto@7.3.2, npm/@polkadot/wasm-util@7.3.2, npm/@polkadot/x-bigint@12.6.2, npm/@polkadot/x-fetch@12.6.2, npm/@polkadot/x-global@12.6.2, npm/@polkadot/x-randomvalues@12.6.2, npm/@polkadot/x-textdecoder@12.6.2, npm/@polkadot/x-textencoder@12.6.2, npm/@polkadot/x-ws@12.6.2, npm/@scure/base@1.1.5, npm/@sinonjs/commons@3.0.1, npm/@sinonjs/fake-timers@10.3.0, npm/@substrate/ss58-registry@1.46.0, npm/@tsconfig/node10@1.0.9, npm/@tsconfig/node12@1.0.11, npm/@tsconfig/node14@1.0.3, npm/@tsconfig/node16@1.0.4, npm/@types/graceful-fs@4.1.9, npm/@types/json5@0.0.29, npm/@types/minimist@1.2.5, npm/@types/normalize-package-data@2.4.4, npm/@types/stack-utils@2.0.3, npm/acorn-walk@8.3.2, npm/agent-base@7.1.0, npm/ansi-regex@6.0.1, npm/anymatch@3.1.3, npm/arg@4.1.3, npm/arrify@1.0.1, npm/babel-jest@29.7.0, npm/babel-plugin-jest-hoist@29.6.3, npm/babel-preset-current-node-syntax@1.0.1, npm/babel-preset-jest@29.6.3, npm/big-integer@1.6.52, npm/bplist-parser@0.2.0, npm/braces@3.0.2, npm/breakword@1.0.6, npm/bser@2.1.1, npm/bundle-name@3.0.0, npm/callsites@3.1.0, npm/camelcase-keys@6.2.2, npm/char-regex@1.0.2, npm/cjs-module-lexer@1.2.3, npm/cli-cursor@4.0.0, npm/cli-truncate@3.1.0, npm/cliui@6.0.0, npm/clone@1.0.4, npm/co@4.6.0, npm/colorette@2.0.20, npm/commander@11.0.0, npm/create-require@1.1.1, npm/csv-generate@3.4.3, npm/csv-parse@4.16.3, npm/csv-stringify@5.6.5, npm/csv@5.5.3, npm/decamelize-keys@1.1.1, npm/decamelize@1.2.0, npm/dedent@1.5.1, npm/deep-is@0.1.4, npm/deepmerge@4.3.1, npm/default-browser-id@3.0.0, npm/default-browser@4.0.0, npm/defaults@1.0.4, npm/define-lazy-prop@3.0.0, npm/detect-newline@3.1.0, npm/diff-sequences@29.6.3, npm/diff@4.0.2, npm/eastasianwidth@0.2.0, npm/emittery@0.13.1, npm/emoji-regex@9.2.2, npm/error-ex@1.3.2, npm/escalade@3.1.2, npm/esprima@4.0.1, npm/fast-diff@1.3.0, npm/fast-levenshtein@2.0.6, npm/fb-watchman@2.0.2, npm/fill-range@7.0.1, npm/find-yarn-workspace-root2@1.2.16, npm/fsevents@2.3.3, npm/get-caller-file@2.0.5, npm/grapheme-splitter@1.0.4, npm/hard-rejection@2.1.0, npm/hosted-git-info@2.8.9, npm/http-proxy-agent@7.0.2, npm/https-proxy-agent@7.0.4, npm/indent-string@4.0.0, npm/is-arrayish@0.2.1, npm/is-docker@3.0.0, npm/is-fullwidth-code-point@4.0.0, npm/is-generator-fn@2.1.0, npm/is-inside-container@1.0.0, npm/is-number@7.0.0, npm/is-plain-obj@1.1.0, npm/is-wsl@2.2.0, npm/isexe@2.0.0, npm/jest-circus@29.7.0, npm/jest-diff@29.7.0, npm/jest-docblock@29.7.0, npm/jest-each@29.7.0, npm/jest-environment-node@29.7.0, npm/jest-leak-detector@29.7.0, npm/jest-mock@29.7.0, npm/jest-pnp-resolver@1.2.3, npm/json-buffer@3.0.1, npm/json-parse-even-better-errors@2.3.1, npm/kleur@3.0.3, npm/leven@3.1.0, npm/lilconfig@2.1.0, npm/lines-and-columns@1.2.4, npm/listr2@6.6.1, npm/load-yaml-file@0.2.0, npm/log-update@5.0.1, npm/make-error@1.3.6, npm/makeerror@1.0.12, npm/map-obj@4.3.0, npm/mimic-fn@4.0.0, npm/min-indent@1.0.1, npm/minimist-options@4.1.0, npm/minimist@1.2.8, npm/mixme@0.5.10, npm/nock@13.5.3, npm/node-int64@0.4.0, npm/normalize-package-data@2.5.0, npm/normalize-path@3.0.0, npm/open@9.1.0, npm/os-tmpdir@1.0.2, npm/p-map@2.1.0, npm/parse-json@5.2.0, npm/picomatch@2.3.1, npm/pidtree@0.6.0, npm/prelude-ls@1.2.1, npm/pseudomap@1.0.2, npm/punycode@2.3.1, npm/pure-rand@6.0.4, npm/queue-microtask@1.2.3, npm/quick-lru@4.0.1, npm/react-is@18.2.0, npm/read-pkg-up@7.0.1, npm/read-pkg@5.2.0, npm/redent@3.0.0, npm/require-directory@2.1.1, npm/require-main-filename@2.0.0, npm/resolve.exports@2.0.2, npm/restore-cursor@4.0.0, npm/rfdc@1.3.1, npm/run-applescript@5.0.0, npm/set-blocking@2.0.0, npm/set-function-name@2.0.2, npm/shebang-regex@3.0.0, npm/sisteransi@1.0.5, npm/slice-ansi@5.0.0, npm/smart-buffer@4.2.0, npm/smartwrap@2.0.2, npm/socks-proxy-agent@8.0.2, npm/socks@2.8.1, npm/source-map-support@0.5.13, npm/spdx-correct@3.2.0, npm/spdx-exceptions@2.5.0, npm/spdx-expression-parse@3.0.1, npm/spdx-license-ids@3.0.17, npm/sprintf-js@1.0.3, npm/stack-utils@2.0.6, npm/stream-transform@2.1.3, npm/string-argv@0.3.2, npm/string-width@5.1.2, npm/strip-bom@4.0.0, npm/strip-indent@3.0.0, npm/titleize@3.0.0, npm/tmpl@1.0.5, npm/to-regex-range@5.0.1, npm/trim-newlines@3.0.1, npm/type-check@0.4.0, npm/type-detect@4.0.8, npm/untildify@4.0.0, npm/v8-compile-cache-lib@3.0.1, npm/validate-npm-package-license@3.0.4, npm/walker@1.0.8, npm/wcwidth@1.0.1, npm/which-module@2.0.1, npm/which-pm@2.0.0, npm/wrap-ansi@8.1.0, npm/ws@8.16.0, npm/y18n@4.0.3, npm/yaml@2.3.1, npm/yargs-parser@18.1.3, npm/yn@3.1.1

View full report↗︎

socket-security[bot] commented 6 months ago

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package NoteSource
Install scripts npm/core-js@3.33.3
  • Install script: postinstall
  • Source: node -e "try{require('./postinstall')}catch(e){}"

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/core-js@3.33.3
imstar15 commented 6 months ago

socket-security flagged the usage of npm/core-js@3.33.3 for employing a postinstall script, which is deemed insecure. This inclusion is due to @babel/preset-env in the demo/package.json file, where Babel functionalities are utilized. Even upgrading to the latest version, 3.36.0, doesn't resolve this issue.

However, it doesn't impact the packages exposed for developers to use. Therefore, I choose to temporarily ignore its alert.