🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

angular-ie-cli

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-ie-cli - npm Package Compare versions

Comparing version
0.0.29
to
0.0.30
+9
-3
bin/patch4ie.js

@@ -6,3 +6,5 @@ #!/usr/bin/env node

const ora = require('ora');
const spinner = ora();
const spinner = ora({
discardStdin: process.platform !== 'win32'
});
const fs = require('fs');

@@ -21,4 +23,9 @@ const path = require('path');

}
const packager = process.platform === 'win32' ? 'npm.cmd' : 'cmd';
const shell = `${shellPrefix}npm i classlist.js web-animations-js core-js babel-polyfill`;
const npmProcess = child_process.exec(shell, {cwd: path.resolve(process.cwd())},(err, stderr,stdout) => {
const npmProcess = child_process.spawn(packager, ['install', 'classlist.js', 'web-animations-js', 'core-js', 'babel-polyfill'], {
cwd: path.resolve(process.cwd()),
shell: true,
stdio: 'inherit'
},(err, stderr,stdout) => {
if (!err) {

@@ -34,3 +41,2 @@ spinner.start('\n Updating configuration... \n');

npmProcess.stdout.pipe(process.stdout);
npmProcess.stdin.pipe(process.stdin);

@@ -37,0 +43,0 @@ function readAngularJson() {

{
"name": "angular-ie-cli",
"version": "0.0.29",
"version": "0.0.30",
"description": "patch your angular project to support IE browser",

@@ -5,0 +5,0 @@ "main": "index.js",