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

@ngrx/schematics

Package Overview
Dependencies
Maintainers
4
Versions
122
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngrx/schematics - npm Package Compare versions

Comparing version 9.1.0 to 9.1.1

2

package.json
{
"name": "@ngrx/schematics",
"version": "9.1.0",
"version": "9.1.1",
"description": "NgRx Schematics for Angular",

@@ -5,0 +5,0 @@ "repository": {

@@ -85,2 +85,4 @@ (function (factory) {

]);
// Remove all undefined values to use the schematic defaults (in angular.json or the Angular schema)
Object.keys(opts).forEach(key => (opts[key] === undefined ? delete opts[key] : {}));
return schematics_1.chain([

@@ -95,2 +97,2 @@ schematics_1.externalSchematic('@schematics/angular', 'component', Object.assign(Object.assign({}, opts), { skipTests: true })),

});
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9tb2R1bGVzL3NjaGVtYXRpY3Mvc3JjL2NvbnRhaW5lci9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7OztJQUFBLDJEQWdCb0M7SUFDcEMsaUNBQWlDO0lBQ2pDLHNFQVUwQztJQUcxQyxTQUFTLG1CQUFtQixDQUFDLE9BQXlCO1FBQ3BELE9BQU8sQ0FBQyxJQUFVLEVBQUUsRUFBRTtZQUNwQixJQUFJLENBQUMsT0FBTyxDQUFDLEtBQUssSUFBSSxDQUFDLE9BQU8sQ0FBQyxjQUFjLEVBQUU7Z0JBQzdDLE9BQU8sSUFBSSxDQUFDO2FBQ2I7WUFFRCxNQUFNLFNBQVMsR0FBRyxJQUFJLE9BQU8sQ0FBQyxJQUFJLElBQUksT0FBTyxDQUFDLEtBQUssRUFBRSxDQUFDO1lBRXRELElBQUksT0FBTy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LFxuICAgICAgfSksXG4gICAgICBhZGRTdGF0ZVRvQ29tcG9uZW50KG9wdGlvbnMpLFxuICAgICAgbWVyZ2VXaXRoKHRlbXBsYXRlU291cmNlKSxcbiAgICBdKShob3N0LCBjb250ZXh0KTtcbiAgfTtcbn1cbiJdfQ==

@@ -30,3 +30,2 @@ {

"type": "boolean",
"default": false,
"alias": "s"

@@ -37,3 +36,2 @@ },

"type": "boolean",
"default": false,
"alias": "t"

@@ -51,3 +49,2 @@ },

"type": "string",
"default": "Default",
"alias": "c"

@@ -64,19 +61,15 @@ },

"The file extension or preprocessor to use for style files.",
"type": "string",
"default": "css"
"type": "string"
},
"skipTest": {
"type": "boolean",
"description": "When true, does not create test files.",
"default": false
"description": "When true, does not create test files."
},
"flat": {
"type": "boolean",
"description": "Flag to indicate if a dir is created.",
"default": false
"description": "Flag to indicate if a dir is created."
},
"skipImport": {
"type": "boolean",
"description": "Flag to skip the module import.",
"default": false
"description": "Flag to skip the module import."
},

@@ -95,3 +88,2 @@ "selector": {

"type": "boolean",
"default": false,
"description": "Specifies if declaring module exports the component."

@@ -98,0 +90,0 @@ },

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