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

@interactjs/core

Package Overview
Dependencies
Maintainers
2
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@interactjs/core - npm Package Compare versions

Comparing version 1.4.0-rc.5 to 1.4.0-rc.6

10

package.json
{
"name": "@interactjs/core",
"version": "1.4.0-rc.5",
"version": "1.4.0-rc.6",
"peerDependencies": {
"@interactjs/dev-tools": "1.4.0-rc.2",
"@interactjs/utils": "1.4.0-rc.2"
"@interactjs/dev-tools": "1.4.0-rc.6",
"@interactjs/utils": "1.4.0-rc.6"
},
"devDependencies": {
"@interactjs/_dev": "1.4.0-rc.5",
"@interactjs/utils": "1.4.0-rc.5"
},
"publishConfig": {

@@ -13,0 +9,0 @@ "access": "public"

@@ -125,2 +125,2 @@ /* eslint-disable no-restricted-syntax */

}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiX2hlbHBlcnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJfaGVscGVycy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSx5Q0FBeUM7QUFDekMsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLCtCQUErQixDQUFBO0FBQ25ELE9BQU8sS0FBSyxLQUFLLE1BQU0sbUJBQW1CLENBQUE7QUFDMUMsT0FBTyxPQUFPLE1BQU0sMkJBQTJCLENBQUE7QUFDL0MsT0FBTyxTQUFTLE1BQU0sY0FBYyxDQUFBO0FBQ3BDLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSxVQUFVLENBQUE7QUFFdEMsSUFBSSxPQUFPLEdBQUcsQ0FBQyxDQUFBO0FBRWYsTUFBTSxVQUFVLE1BQU07SUFDcEIsT0FBTyxDQUFDLE9BQU8sRUFBRSxDQUFDLENBQUE7QUFDcEIsQ0FBQztBQUVELE1BQU0sVUFBV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xuICB0YXJnZXQsXG4gIHJlY3QgPSB7ICB0b3A6IDAsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAgIH0sXG59OiB7XG4gIHBsdWdpbnM/OiBJbnRlcmFjdC5QbHVnaW5bXSxcbiAgdGFyZ2V0PzogSW50ZXJhY3QuVGFyZ2V0LFxuICByZWN0PzogSW50ZXJhY3QuUmVjdCxcbn0gPSB7fSkge1xuICBjb25zdCBzY29wZTogSW50ZXJhY3QuU2NvcGUgPSBtb2NrU2NvcGUoKVxuXG4gIGZvciAoY29uc3QgcGx1Z2luIG9mIHBsdWdpbnMpIHtcbiAgICBzY29wZS51c2VQbHVnaW4ocGx1Z2luKVxuICB9XG5cbiAgdGFyZ2V0ID0gdGFyZ2V0IHx8IHNjb3BlLmRvY3VtZW50LmJvZHlcblxuICBjb25zdCBpbnRlcmFjdGlvbiA9IHNjb3BlLmludGVyYWN0aW9ucy5uZXcoe30pXG4gIGNvbnN0IGludGVyYWN0YWJsZSA9IHNjb3BlLmludGVyYWN0YWJsZXMubmV3KHRhcmdldClcbiAgY29uc3QgY29vcmRzID0gdXRpbHMucG9pbnRlci5uZXdDb29yZHMoKTtcblxuICAoY29vcmRzIGFzIGFueSkudGFyZ2V0ID0gdGFyZ2V0XG4gIGNvbnN0IGV2ZW50ID0gdXRpbHMucG9pbnRlci5jb29yZHNUb0V2ZW50KGNvb3JkcylcblxuICBpbnRlcmFjdGFibGUucmVjdENoZWNrZXIoKCkgPT4gKHsgLi4ucmVjdCB9KSlcblxuICByZXR1cm4ge1xuICAgIHNjb3BlLFxuICAgIGludGVyYWN0aW9uLFxuICAgIHRhcmdldCxcbiAgICBpbnRlcmFjdGFibGUsXG4gICAgY29vcmRzLFxuICAgIGV2ZW50LFxuICB9XG59XG4iXX0=
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