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

@form8ion/javascript-core

Package Overview
Dependencies
Maintainers
2
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@form8ion/javascript-core - npm Package Compare versions

Comparing version 2.8.1 to 2.8.2

18

lib/index.cjs.js

@@ -130,18 +130,4 @@ 'use strict';

const packageManagers = {
NPM: {
name: 'npm',
installationCommand: 'install',
installationFlags: {
[DEV_DEPENDENCY_TYPE]: `save-${DEV_DEPENDENCY_TYPE}`,
[PROD_DEPENDENCY_TYPE]: `save-${PROD_DEPENDENCY_TYPE}`
}
},
YARN: {
name: 'yarn',
installationCommand: 'add',
installationFlags: {
[DEV_DEPENDENCY_TYPE]: DEV_DEPENDENCY_TYPE,
[PROD_DEPENDENCY_TYPE]: PROD_DEPENDENCY_TYPE
}
}
NPM: 'npm',
YARN: 'yarn'
};

@@ -148,0 +134,0 @@

@@ -119,18 +119,4 @@ import deepmerge from 'deepmerge';

const packageManagers = {
NPM: {
name: 'npm',
installationCommand: 'install',
installationFlags: {
[DEV_DEPENDENCY_TYPE]: `save-${DEV_DEPENDENCY_TYPE}`,
[PROD_DEPENDENCY_TYPE]: `save-${PROD_DEPENDENCY_TYPE}`
}
},
YARN: {
name: 'yarn',
installationCommand: 'add',
installationFlags: {
[DEV_DEPENDENCY_TYPE]: DEV_DEPENDENCY_TYPE,
[PROD_DEPENDENCY_TYPE]: PROD_DEPENDENCY_TYPE
}
}
NPM: 'npm',
YARN: 'yarn'
};

@@ -137,0 +123,0 @@

2

package.json

@@ -5,3 +5,3 @@ {

"license": "MIT",
"version": "2.8.1",
"version": "2.8.2",
"files": [

@@ -8,0 +8,0 @@ "example.js",

@@ -39,3 +39,2 @@ # javascript-core

* [`packageManagers`](#packagemanagers)
* [Currently available options](#currently-available-options)
* [`projectTypeShouldBePublished`](#projecttypeshouldbepublished)

@@ -201,16 +200,4 @@ * [`projectType` __string__ (_required_)](#projecttype-string-required)

Map of details for the available package managers
Constants defining the available package managers
Each item has the following properties:
* `name`: the cli name of the package manager
* `installationCommand`: the appropriate command for this package manager
for installing dependencies
* `installationFlags`: the appropriate flags for the installation command
of this package manager
* `dev`: the flag to save the dependency as a `devDependency`
* `prod`: the flag to save the dependency as a `dependency`
##### Currently available options
* `NPM`

@@ -217,0 +204,0 @@ * `YARN`

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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