Lines Matching refs:property
14 * property names
17 global names obfuscation and property names obfuscation are disabled by default, as they may
32 When you create a new library, additional property `consumerFiles` will be added.
46 * the property `ruleOptions.enable` is `true` and the property `ruleOptions.enable` of every depend…
49 The files in the property `ruleOptions.files` will be applied when you build HAP or HAR.
51 The files in the property `consumerFiles` will be applied when you build the project or library whi…
55 property, dependent libraries' `consumerFiles` properties and dependent HAR's `obfuscation.txt`.
56 …ilding HAR, the content of `obfuscation.txt` is the combination of self's `consumerFiles` property,
89 `-enable-property-obfuscation`
91 Specifies to obfuscate the property names. If you use this option, all property names will be obfus…
93 * the property names of `import/export` classes or objects. Note: Only for directly exported classe…
94 property names will be kept. For example, the property name `data` in
102 their property names, you need to use [keep options](#keep-options) to keep them. Besides, for the …
108 * the property names defined in UI components. For example, the property names `message` and `data`…
117 * the property names that are specified by [keep options](#keep-options).
118 * the property names in system API list. System API list is a name set which is extracted from SDK …
119 * the property names that are string literals. For example, the property names "name" and "age" in …
124 …If you want to obfuscate these string literal property names, you should addtionally use the optio…
126 -enable-property-obfuscation
127 -enable-string-property-obfuscation
129 …Note: If there are string literal property names which contain special characters (that is, all ch…
131 …option `-enable-string-property-obfuscation`, because [keep options](#keep-options) may not allow …
153 the given file. If you use `-enable-property-obfuscation` or `-enable-toplevel-obfuscation`, and yo…
167 Keep options are useful only when you use `enable-property-obfuscation` or `enable-toplevel-obfusca…
169 `-keep-property-name` [,modifiers,...]
171 Specifies property names that you want to keep. For example,
173 -keep-property-name
179 **What property names should be kept?**
181 For safety, we would suggest keeping all property names that are not accessed through dot syntax.
201 console.log(obj['t']); // t and 't' can be safely obfuscated when `-enable-string-property-o…
204 console.log(obj['v']); // 'v' can be safely obfuscated when `-enable-string-property-obfusca…
219 you access a global variable as a property, then the global name should be kept.
255 -keep-property-name # white list for dynamic property names
288 case -enable-property-obfuscation:
306 case -keep-property-name:
324 * The `-keep-dts` option will be converted to `-keep-global-name` and `-keep-property-name` options…